Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 0.0.2
Fetching contributors…

Cannot retrieve contributors at this time

106 lines (87 sloc) 5.89 kb
Syck
scanning ../jruby_newyaml/bench/big_yaml.yml 10000 times took 13959ms
parsing ../jruby_newyaml/bench/big_yaml.yml 10000 times took 16101ms
JvYAMLb
scanning ../jruby_newyaml/bench/big_yaml.yml 10000 times took 5325ms
parsing ../jruby_newyaml/bench/big_yaml.yml 10000 times took 15794ms
Yecht - Original
scanning ../jruby_newyaml/bench/big_yaml.yml 10000 times took 93658ms
parsing ../jruby_newyaml/bench/big_yaml.yml 10000 times took 117213ms
Yecht - Fixed scanner
scanning ../jruby_newyaml/bench/big_yaml.yml 10000 times took 12207ms
parsing ../jruby_newyaml/bench/big_yaml.yml 10000 times took 31280ms
Yecht - Fixed parser (switched to Jay)
scanning ../jruby_newyaml/bench/big_yaml.yml 10000 times took 12960ms
parsing ../jruby_newyaml/bench/big_yaml.yml 10000 times took 15411ms
Yecht - Optimized parser (Tom's fixes from JRuby) (no difference, really)
scanning ../jruby_newyaml/bench/big_yaml.yml 10000 times took 12951ms
parsing ../jruby_newyaml/bench/big_yaml.yml 10000 times took 16298ms
Yecht - Handwritten document-section in Scanner
scanning ../jruby_newyaml/bench/big_yaml.yml 10000 times took 11226ms
parsing ../jruby_newyaml/bench/big_yaml.yml 10000 times took 14059ms
Yecht - Handwritten plain-section in Scanner
scanning ../jruby_newyaml/bench/big_yaml.yml 10000 times took 9581ms
parsing ../jruby_newyaml/bench/big_yaml.yml 10000 times took 12838ms
Yecht - Rewrite the implicit-scanner
scanning ../jruby_newyaml/bench/big_yaml.yml 10000 times took 4804ms
parsing ../jruby_newyaml/bench/big_yaml.yml 10000 times took 8424ms
MRI
user system total real
1k small parse 0.090000 0.000000 0.090000 ( 0.104769)
1k small loads 0.060000 0.010000 0.070000 ( 0.072829)
1k small dumps 0.370000 0.000000 0.370000 ( 0.396296)
1k small roundtrip 0.410000 0.010000 0.420000 ( 0.429103)
1k big parse 4.440000 0.050000 4.490000 ( 4.615258)
1k big loads 1.920000 0.020000 1.940000 ( 1.991891)
1k big dumps 22.170000 0.270000 22.440000 ( 23.361924)
1k big roundtrip 24.180000 0.300000 24.480000 ( 25.483744)
JRuby trunk
user system total real
1k small parse 0.327000 0.000000 0.327000 ( 0.326000)
1k small loads 0.100000 0.000000 0.100000 ( 0.099000)
1k small dumps 0.202000 0.000000 0.202000 ( 0.202000)
1k small roundtrip 0.322000 0.000000 0.322000 ( 0.322000)
1k big parse 16.259000 0.000000 16.259000 ( 16.259000)
1k big loads 1.752000 0.000000 1.752000 ( 1.752000)
1k big dumps 10.333000 0.000000 10.333000 ( 10.333000)
1k big roundtrip 13.886000 0.000000 13.886000 ( 13.886000)
JRuby with old Yecht
user system total real
1k small parse 0.380000 0.000000 0.380000 ( 0.380000)
1k small loads 0.284000 0.000000 0.284000 ( 0.284000)
1k small dumps 0.347000 0.000000 0.347000 ( 0.347000)
1k small roundtrip 0.582000 0.000000 0.582000 ( 0.582000)
1k big parse 23.629000 0.000000 23.629000 ( 23.630000)
1k big loads 14.802000 0.000000 14.802000 ( 14.802000)
1k big dumps 19.526000 0.000000 19.526000 ( 19.526000)
1k big roundtrip 36.202000 0.000000 36.202000 ( 36.202000)
JRuby with new Yecht
user system total real
1k small parse 0.165000 0.000000 0.165000 ( 0.165000)
1k small loads 0.089000 0.000000 0.089000 ( 0.089000)
1k small dumps 0.299000 0.000000 0.299000 ( 0.299000)
1k small roundtrip 0.386000 0.000000 0.386000 ( 0.386000)
1k big parse 10.558000 0.000000 10.558000 ( 10.558000)
1k big loads 2.678000 0.000000 2.678000 ( 2.678000)
1k big dumps 19.109000 0.000000 19.109000 ( 19.110000)
1k big roundtrip 23.039000 0.000000 23.039000 ( 23.039000)
JRuby with some slight optimizations to Yecht
user system total real
1k small parse 0.188000 0.000000 0.188000 ( 0.188000)
1k small loads 0.076000 0.000000 0.076000 ( 0.076000)
1k small dumps 0.323000 0.000000 0.323000 ( 0.323000)
1k small roundtrip 0.362000 0.000000 0.362000 ( 0.363000)
1k big parse 9.053000 0.000000 9.053000 ( 9.053000)
1k big loads 2.262000 0.000000 2.262000 ( 2.262000)
1k big dumps 18.551000 0.000000 18.551000 ( 18.551000)
1k big roundtrip 21.675000 0.000000 21.675000 ( 21.675000)
JRuby with some call site caching in Yecht
user system total real
1k small parse 0.142000 0.000000 0.142000 ( 0.142000)
1k small loads 0.076000 0.000000 0.076000 ( 0.076000)
1k small dumps 0.278000 0.000000 0.278000 ( 0.278000)
1k small roundtrip 0.346000 0.000000 0.346000 ( 0.346000)
1k big parse 9.042000 0.000000 9.042000 ( 9.042000)
1k big loads 2.200000 0.000000 2.200000 ( 2.200000)
1k big dumps 18.451000 0.000000 18.451000 ( 18.451000)
1k big roundtrip 22.087000 0.000000 22.087000 ( 22.087000)
Jump to Line
Something went wrong with that request. Please try again.