3 ms·
I'm curious as to why they are still benchmarking against node 0.2.6, which is quite old.
by mscdex 14y ago
I'm curious as to why they are still benchmarking against node 0.2.6, which is quite old.
- marios 14y agoI'm curious as to why they are benchmarking against code compiled with GCC -Os instead of GCC -O3
- hosay123 14y agoAlmost 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
- mich41 14y agoLinux 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.