Re:Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby,...
by azinman2 on Sunday June 04, 2017 @01:01AM
(#14479968)
The difference is not as dramatic as with the JVM.
[ Parent
| on HN ]
Re:Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby,...
by igouy on Sunday June 04, 2017 @01:52PM
(#14482595)
The difference is not as dramatic with tiny tiny programs that run for more than a few tenths of a second.
Re:Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby,...
by peterashford on Monday June 05, 2017 @10:41PM
(#14494301)
Oh, yes it is. I've benchmarked code I've written in C++ vs Java before and allowing hotspot to optimise the code makes a huge difference
Re:Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby,...
by igouy on Wednesday June 07, 2017 @02:19AM
(#14504107)
How "huge" on a 20 second run of nbody 50000000 ?
http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...
The measurement shown is 21.54 secs.
The average JMH shows is 23.367 ± 0.062.