Skip to content

Instantly share code, notes, and snippets.

@hns
Created July 29, 2011 05:35
Show Gist options
  • Save hns/1113191 to your computer and use it in GitHub Desktop.
Save hns/1113191 to your computer and use it in GitHub Desktop.
JDK 7 startup comparison with tiered compilation
$ java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
$ time ringo -J-client test/most.js
(...)
real 0m1.897s
user 0m2.140s
sys 0m0.156s
$ time ringo -J-server test/most.js
(...)
real 0m4.704s
user 0m7.208s
sys 0m0.260s
$ time ringo -J-server -J-XX:+TieredCompilation test/most.js
(...)
real 0m3.170s
user 0m4.792s
sys 0m0.308s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment