The following graph shows how performance of Dart on the DeltaBlue benchmark has progressed over time:
Dart, Google's new language for developing large web applications, can be run in various contexts:
- In a browser-embedded Dart VM. Since the Dart project has not yet released a 1.0 version, there is no browser available today that embeds the Dart VM other than the "Dartium" build of Chromium that comes with the Dart SDK.
- On the server, running in the Dart VM. The dart:io library, only available for server-side applications, offers APIs for accessing the file system, process management and building servers (e.g. HTTP servers or websocket servers). This allows Dart to be used for very similar use cases as Node.js and enables front-to-back application development in Dart.
- Embedded in applications. The Dart VM can be embedded in arbitrary (C/C++) applications, to support scripting the application with Dart.
While any benchmark should be taken with a grain of salt, it is interesting to see how the Dart teams keeps improving their performance numbers. While Dart is still under heavy development, it starts to see some early adoption. The performance and size of Dart2js generated code is important to everybody interested in deploying Dart code on the web today.
Martin Thompson Jul 27, 2014