4 ms·
Of all the benchmarks out there this is actually reasonable (though obviously limited). It runs the same thing in different languages and the processing time is
by chvid 8y ago
Of all the benchmarks out there this is actually reasonable (though obviously limited). It runs the same thing in different languages and the processing time is long enough for VM startup not to matter.
Also the performance shows the bytecode languages C# and Java to do fairly well compared to C and GO.
- thecatspaw 8y agoJava needs warmup time though to optimize, and the configuration of the vm can have a heavy inpact on performance as well
- imtringued 8y agoThat has mostly to do with the fact that the code isn't manipulating objects at all. As soon as you're starting pointer chasing in languages where almost everything is an object like javascript performance will suffer.