Re:Clue 0.6 - C to Lua, Javascript, Java and Perl compiler
by mscdex on Friday March 15, 2013 @11:44AM
(#5381152)
I'm curious as to why they are still benchmarking against node 0.2.6, which is quite old.
[ Parent
| on HN ]
Re:Clue 0.6 - C to Lua, Javascript, Java and Perl compiler
by marios on Friday March 15, 2013 @11:48AM
(#5381181)
I'm curious as to why they are benchmarking against code compiled with GCC -Os instead of GCC -O3
Re:Clue 0.6 - C to Lua, Javascript, Java and Perl compiler
by hosay123 on Friday March 15, 2013 @12:01PM
(#5381244)
Almost everywhere (Linux kernel included IIRC) use -Os now as the effects of the memory hierarchy are much more important than raw instructions per second. A saved stall is worth hundreds of instructions
Re:Clue 0.6 - C to Lua, Javascript, Java and Perl compiler
by mich41 on Friday March 15, 2013 @01:57PM
(#5381962)
Linux defaults to -O2, -Os can be switched with CONFIG_CC_OPTIMIZE_FOR_SIZE. Arch Linux doesn't enable it, dunno about others.
-Os isn't a silver bullet since it enables use of some high level instructions which may be implemented less efficiently on modern CPUs and reduces code alignment possibly causing some short functions or loops to span multiple cache lines.