3 ms·
Also this shows DeltaBlue as faster on Java when warmed up: https://github.com/xxgreg/deltablue https://github.com/xxgreg/deltablue
by voidlogic 13y ago
Also this shows DeltaBlue as faster on Java when warmed up: https://github.com/xxgreg/deltablue https://github.com/xxgreg/deltablue
- spankalee 13y agoThe Dart VM improved by almost 20% recently: http://www.dartlang.org/performance/ http://www.dartlang.org/performance/ The Java implementations could also be slightly different.
- sethladd 13y agoI opened https://github.com/xxgreg/deltablue/issues/1 https://github.com/xxgreg/deltablue/issues/1 to request updated numbers.
- xxgreg 13y agoI had a quick look at this. It appears the DartVM is now beating the JVM even at 100,000 iterations (Previously Java edged out Dart at higher iterations). 100,000 iterations takes ~45 seconds to run on my computer. At a lower number of iterations the DartVM beats the JVM by a significant margin. The benchmark is easy to run (On linux, maybe macos too). Just check it out, make sure dart, java and gcc are in your path, and execute run.sh. Note, this code doesn't use the benchmark harness because I wanted to include the warm up time in the measurements. At a high number of iterations this doesn't make much difference.