File: TIMINGS

package info (click to toggle)
yecht 1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, buster
  • size: 1,108 kB
  • sloc: java: 5,217; ruby: 3,595; yacc: 349; xml: 233; makefile: 10
file content (105 lines) | stat: -rw-r--r-- 5,890 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
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)