Skip to content

Instantly share code, notes, and snippets.

@headius
Last active September 30, 2015 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save headius/c0fe6c0f683df3970432 to your computer and use it in GitHub Desktop.
Save headius/c0fe6c0f683df3970432 to your computer and use it in GitHub Desktop.
JRuby master perf on Oga benchmark with xpath compilation

JRuby master + indy (first iteration is unusually long):

Reading file...
Calculating -------------------------------------
             kaf.xml     1.000  i/100ms
-------------------------------------------------
             kaf.xml     27.430  (±51.0%) i/s -     68.000 
Calculating -------------------------------------
             kaf.xml     4.000  i/100ms
-------------------------------------------------
             kaf.xml     48.224  (±12.4%) i/s -    240.000 

JRuby master w/o indy (first iteration is long, but nowhere near as bad):

Reading file...
Calculating -------------------------------------
             kaf.xml     1.000  i/100ms
-------------------------------------------------
             kaf.xml     33.443  (±17.9%) i/s -    157.000 
Calculating -------------------------------------
             kaf.xml     2.000  i/100ms
-------------------------------------------------
             kaf.xml     30.507  (±13.1%) i/s -    150.000 

MRI 2.2.2:

Reading file...
Calculating -------------------------------------
             kaf.xml     1.000  i/100ms
-------------------------------------------------
             kaf.xml     21.596  (± 9.3%) i/s -    107.000 
Calculating -------------------------------------
             kaf.xml     2.000  i/100ms
-------------------------------------------------
             kaf.xml     21.082  (± 9.5%) i/s -    106.000

RBX master:

Reading file...
Calculating -------------------------------------
             kaf.xml     1.000  i/100ms
-------------------------------------------------
             kaf.xml     13.044  (±15.3%) i/s -     64.000 
Calculating -------------------------------------
             kaf.xml     1.000  i/100ms
-------------------------------------------------
             kaf.xml     18.036  (± 5.5%) i/s -     90.000 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment