Files
sdk/runtime/bin
asiva@google.com 2917199a81 Added option --script-snapshot in gen_snapshot to generate the snapshot of a scipt into the file.
Added option --use-script-snapshot to dart to be able to read a script from a snapshot.

Using this for dart2js produces the following result:

time dart --use-script-snapshot=dart2-js out/ReleaseIA32/dart-sdk/lib/dart2js/lib/compiler/implementation/dart2js.dart tests/language/string_test.dart -oout.js
real    0m1.733s
user    0m1.690s
sys     0m0.030s

without the snapshot the runtimes are:
time out/ReleaseIA32/dart out/ReleaseIA32/dart-sdk/lib/dart2js/lib/compiler/implementation/dart2js.dart tests/language/string_test.dart -oout.js.orig
real    0m2.406s
user    0m2.350s
sys     0m0.040s
Review URL: https://chromiumcodereview.appspot.com//10871092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11840 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-04 20:46:30 +00:00
..
2012-08-30 11:31:30 +00:00
2012-08-31 22:07:51 +00:00
2012-06-21 17:11:02 +00:00
2012-05-04 16:01:55 +00:00
2012-05-04 15:37:11 +00:00
2011-10-05 05:20:07 +00:00
2011-10-05 05:20:07 +00:00
2011-10-05 05:20:07 +00:00
2011-10-05 05:20:07 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-03-09 23:12:03 +00:00
2012-06-21 17:11:02 +00:00