Re:Go performance from version 1.2 to 1.18
by dpratt on Thursday February 03, 2022 @10:34PM
(#30202530)
For the JVM benchmark, unless you used Pattern.compile() and let the VM warm up (or used the JMH benchmark framework), your numbers are likely wildly off.
[ Parent
| on HN ]
Re:Go performance from version 1.2 to 1.18
by burntsushi on Saturday February 05, 2022 @07:09AM
(#30220290)
It depends on the goal of the measurement. For example, if you wanted to write a grep in Java, would the total runtime of the program be faster or slower if you "waited for the VM to warm up?"