4 ms·
That's what the parent poster is saying with "(I'm just talking dart vs. JavaScript, not dart2js generated code vs JavaScript)". If you look at the graph, the
by reeses 14y ago
That's what the parent poster is saying with "(I'm just talking dart vs. JavaScript, not dart2js generated code vs JavaScript)". If you look at the graph, the top line (dart vm) is running about 400-500 "Runtime Score". V8's moseying along at ±300.
What he or she is wondering is why one would bother with dart if it's not much, much more Runtime Scorey than JavaScript (V8).
- xxgreg 14y agoOn the Richards benchmark it's 1.9x. After 2 years this is pretty impressive. Due the nature of the Dart language the DartVM will make a number of optimizations possible that are not even possible in V8. So it will be a better platform for continued performance improvements. Time will tell... To be honest, even if it was only doing 0.5x, I'd still use it because the tooling makes me more productive. http://www.dartlang.org/performance/ http://www.dartlang.org/performance/