Created
July 31, 2014 18:40
-
-
Save jasonroelofs/e59dddcf9c4012cc5d02 to your computer and use it in GitHub Desktop.
Liquid profiler -- benchmarks against master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/benchmark.rb lax | |
Rehearsal ------------------------------------------------ | |
parse: 3.660000 0.020000 3.680000 ( 3.688094) | |
parse & run: 7.710000 0.010000 7.720000 ( 7.723662) | |
-------------------------------------- total: 11.400000sec | |
user system total real | |
parse: 3.480000 0.010000 3.490000 ( 3.491892) | |
parse & run: 7.650000 0.020000 7.670000 ( 7.662562) | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/benchmark.rb strict | |
Rehearsal ------------------------------------------------ | |
parse: 4.330000 0.010000 4.340000 ( 4.339604) | |
parse & run: 8.780000 0.020000 8.800000 ( 8.811833) | |
-------------------------------------- total: 13.140000sec | |
user system total real | |
parse: 4.420000 0.020000 4.440000 ( 4.432043) | |
parse & run: 8.230000 0.010000 8.240000 ( 8.237831) | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/profile.rb | |
Profiling in cpu mode... | |
================================== | |
Mode: cpu(1000) | |
Samples: 1622 (0.00% miss rate) | |
GC: 271 (16.71%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
1602 (98.8%) 145 (8.9%) Liquid::Block#render_all | |
320 (19.7%) 115 (7.1%) Liquid::Context#resolve | |
213 (13.1%) 110 (6.8%) Liquid::Variable#lax_parse | |
103 (6.4%) 103 (6.4%) block in Liquid::Variable#lax_parse | |
89 (5.5%) 89 (5.5%) Liquid::Context#variable_parse | |
1113 (68.6%) 70 (4.3%) Liquid::Block#parse | |
290 (17.9%) 68 (4.2%) Liquid::Variable#initialize | |
62 (3.8%) 62 (3.8%) Liquid::Template#tokenize | |
1457 (89.8%) 43 (2.7%) block in Liquid::Block#render_all | |
48 (3.0%) 43 (2.7%) Liquid::If#lax_parse | |
53 (3.3%) 39 (2.4%) block in Liquid::Context#variable | |
47 (2.9%) 34 (2.1%) Liquid::StandardFilters#to_date | |
33 (2.0%) 33 (2.0%) Liquid::Context#has_interrupt? | |
32 (2.0%) 32 (2.0%) Liquid::Context#increment_used_resources | |
28 (1.7%) 28 (1.7%) Liquid::Context#lookup_and_evaluate | |
23 (1.4%) 23 (1.4%) Liquid::For#lax_parse | |
22 (1.4%) 20 (1.2%) Liquid::Block#block_delimiter | |
19 (1.2%) 19 (1.2%) Liquid::Context#[]= | |
205 (12.6%) 17 (1.0%) Liquid::Context#variable | |
16 (1.0%) 16 (1.0%) Liquid::StandardFilters#strip_html | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 7270200 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
2022100 (27.8%) 1299000 (17.9%) Liquid::Variable#lax_parse | |
723100 (9.9%) 723100 (9.9%) block in Liquid::Variable#lax_parse | |
625200 (8.6%) 625200 (8.6%) Liquid::Context#variable_parse | |
2856100 (39.3%) 597000 (8.2%) Liquid::Block#create_variable | |
9083600 (124.9%) 474300 (6.5%) Liquid::Block#parse | |
438600 (6.0%) 438600 (6.0%) Liquid::Template#tokenize | |
1282700 (17.6%) 421100 (5.8%) Liquid::Context#resolve | |
2178900 (30.0%) 300600 (4.1%) Liquid::Variable#render | |
1046400 (14.4%) 295500 (4.1%) block in Liquid::Variable#render | |
289100 (4.0%) 289100 (4.0%) Liquid::If#lax_parse | |
2259100 (31.1%) 238800 (3.3%) block in Liquid::Block#create_variable | |
204800 (2.8%) 204800 (2.8%) Liquid::StandardFilters#truncatewords | |
146100 (2.0%) 143500 (2.0%) Liquid::For#lax_parse | |
131300 (1.8%) 131300 (1.8%) block in Liquid::Context#variable | |
5891000 (81.0%) 108700 (1.5%) Liquid::Block#render_all | |
600600 (8.3%) 98500 (1.4%) Liquid::Context#invoke | |
72300 (1.0%) 72000 (1.0%) Liquid::Context#initialize | |
683300 (9.4%) 58100 (0.8%) block in Liquid::Context#initialize | |
9653300 (132.8%) 47600 (0.7%) Liquid::Tag.parse | |
47000 (0.6%) 47000 (0.6%) block in Liquid::Context#find_variable | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/profile.rb strict | |
Profiling in cpu mode... | |
================================== | |
Mode: cpu(1000) | |
Samples: 1505 (0.00% miss rate) | |
GC: 265 (17.61%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
156 (10.4%) 156 (10.4%) Liquid::Lexer#tokenize | |
250 (16.6%) 96 (6.4%) Liquid::Context#resolve | |
1369 (91.0%) 92 (6.1%) Liquid::Block#render_all | |
73 (4.9%) 73 (4.9%) Liquid::Context#variable_parse | |
285 (18.9%) 70 (4.7%) Liquid::Variable#initialize | |
1185 (78.7%) 66 (4.4%) Liquid::Block#parse | |
56 (3.7%) 56 (3.7%) Liquid::Template#tokenize | |
213 (14.2%) 44 (2.9%) Liquid::Variable#strict_parse | |
1277 (84.9%) 37 (2.5%) block in Liquid::Block#render_all | |
34 (2.3%) 34 (2.3%) Liquid::Context#has_interrupt? | |
32 (2.1%) 32 (2.1%) Liquid::Parser#consume | |
29 (1.9%) 29 (1.9%) Liquid::Lexer#initialize | |
27 (1.8%) 25 (1.7%) block in Liquid::Context#variable | |
20 (1.3%) 20 (1.3%) Liquid::Parser#look | |
20 (1.3%) 20 (1.3%) Liquid::Context#increment_used_resources | |
21 (1.4%) 19 (1.3%) Time.parse | |
18 (1.2%) 18 (1.2%) Liquid::Block#block_delimiter | |
18 (1.2%) 18 (1.2%) Liquid::Context#resource_limits_reached? | |
37 (2.5%) 16 (1.1%) Liquid::StandardFilters#to_date | |
16 (1.1%) 15 (1.0%) Liquid::Context#[]= | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 7514300 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
1445800 (19.2%) 1445800 (19.2%) Liquid::Lexer#tokenize | |
625200 (8.3%) 625200 (8.3%) Liquid::Context#variable_parse | |
1976300 (26.3%) 624100 (8.3%) Liquid::Variable#strict_parse | |
2810600 (37.4%) 597000 (7.9%) Liquid::Block#create_variable | |
9795300 (130.4%) 474300 (6.3%) Liquid::Block#parse | |
438600 (5.8%) 438600 (5.8%) Liquid::Template#tokenize | |
1282700 (17.1%) 421100 (5.6%) Liquid::Context#resolve | |
2178900 (29.0%) 300600 (4.0%) Liquid::Variable#render | |
295500 (3.9%) 295500 (3.9%) Liquid::Lexer#initialize | |
1046400 (13.9%) 295500 (3.9%) block in Liquid::Variable#render | |
2213600 (29.5%) 238800 (3.2%) block in Liquid::Block#create_variable | |
204800 (2.7%) 204800 (2.7%) Liquid::StandardFilters#truncatewords | |
131300 (1.7%) 131300 (1.7%) block in Liquid::Context#variable | |
5891000 (78.4%) 108700 (1.4%) Liquid::Block#render_all | |
1848100 (24.6%) 106800 (1.4%) Liquid::Parser#initialize | |
600600 (8.0%) 98500 (1.3%) Liquid::Context#invoke | |
72300 (1.0%) 72000 (1.0%) Liquid::Context#initialize | |
68000 (0.9%) 68000 (0.9%) Liquid::Parser#expression | |
683300 (9.1%) 58100 (0.8%) block in Liquid::Context#initialize | |
10654600 (141.8%) 47600 (0.6%) Liquid::Tag.parse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/benchmark.rb lax | |
Rehearsal ------------------------------------------------ | |
parse: 3.490000 0.020000 3.510000 ( 3.506346) | |
parse & run: 7.550000 0.010000 7.560000 ( 7.570171) | |
-------------------------------------- total: 11.070000sec | |
user system total real | |
parse: 3.510000 0.010000 3.520000 ( 3.508792) | |
parse & run: 7.560000 0.010000 7.570000 ( 7.565960) | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/benchmark.rb strict | |
Rehearsal ------------------------------------------------ | |
parse: 4.230000 0.020000 4.250000 ( 4.248260) | |
parse & run: 8.600000 0.010000 8.610000 ( 8.615429) | |
-------------------------------------- total: 12.860000sec | |
user system total real | |
parse: 4.390000 0.010000 4.400000 ( 4.404289) | |
parse & run: 8.530000 0.010000 8.540000 ( 8.543056) | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/profile.rb | |
Profiling in cpu mode... | |
================================== | |
Mode: cpu(1000) | |
Samples: 1307 (0.00% miss rate) | |
GC: 193 (14.77%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
1253 (95.9%) 141 (10.8%) Liquid::Block#render_all | |
92 (7.0%) 92 (7.0%) block in Liquid::Variable#lax_parse | |
182 (13.9%) 90 (6.9%) Liquid::Variable#lax_parse | |
229 (17.5%) 86 (6.6%) Liquid::Context#resolve | |
67 (5.1%) 67 (5.1%) Liquid::Context#variable_parse | |
258 (19.7%) 65 (5.0%) Liquid::Variable#initialize | |
972 (74.4%) 60 (4.6%) Liquid::Block#parse | |
44 (3.4%) 44 (3.4%) Liquid::Context#has_interrupt? | |
35 (2.7%) 34 (2.6%) Liquid::Template#tokenize | |
33 (2.5%) 31 (2.4%) Liquid::If#lax_parse | |
46 (3.5%) 29 (2.2%) Liquid::StandardFilters#to_date | |
28 (2.1%) 25 (1.9%) block in Liquid::Context#variable | |
17 (1.3%) 17 (1.3%) Liquid::Block#block_delimiter | |
17 (1.3%) 17 (1.3%) Liquid::For#lax_parse | |
38 (2.9%) 16 (1.2%) Liquid::Context#find_variable | |
1112 (85.1%) 16 (1.2%) block in Liquid::Block#render_all | |
17 (1.3%) 16 (1.2%) Time.parse | |
15 (1.1%) 15 (1.1%) Liquid::Template.error_mode | |
15 (1.1%) 15 (1.1%) Liquid::Context#increment_used_resources | |
13 (1.0%) 13 (1.0%) Liquid::Context#lookup_and_evaluate | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 7294000 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
2022100 (27.7%) 1299000 (17.8%) Liquid::Variable#lax_parse | |
723100 (9.9%) 723100 (9.9%) block in Liquid::Variable#lax_parse | |
625200 (8.6%) 625200 (8.6%) Liquid::Context#variable_parse | |
2856100 (39.2%) 597000 (8.2%) Liquid::Block#create_variable | |
9083600 (124.5%) 474300 (6.5%) Liquid::Block#parse | |
438600 (6.0%) 438600 (6.0%) Liquid::Template#tokenize | |
1282700 (17.6%) 421100 (5.8%) Liquid::Context#resolve | |
2178900 (29.9%) 300600 (4.1%) Liquid::Variable#render | |
1046400 (14.3%) 295500 (4.1%) block in Liquid::Variable#render | |
289100 (4.0%) 289100 (4.0%) Liquid::If#lax_parse | |
2259100 (31.0%) 238800 (3.3%) block in Liquid::Block#create_variable | |
204800 (2.8%) 204800 (2.8%) Liquid::StandardFilters#truncatewords | |
146100 (2.0%) 143500 (2.0%) Liquid::For#lax_parse | |
131300 (1.8%) 131300 (1.8%) block in Liquid::Context#variable | |
5942800 (81.5%) 108700 (1.5%) Liquid::Block#render_all | |
600600 (8.2%) 98500 (1.4%) Liquid::Context#invoke | |
72300 (1.0%) 72000 (1.0%) Liquid::Context#initialize | |
683300 (9.4%) 58100 (0.8%) block in Liquid::Context#initialize | |
9653300 (132.3%) 47600 (0.7%) Liquid::Tag.parse | |
47000 (0.6%) 47000 (0.6%) block in Liquid::Context#find_variable | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/profile.rb strict | |
Profiling in cpu mode... | |
================================== | |
Mode: cpu(1000) | |
Samples: 2740 (0.00% miss rate) | |
GC: 535 (19.53%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
340 (12.4%) 340 (12.4%) Liquid::Lexer#tokenize | |
505 (18.4%) 210 (7.7%) Liquid::Context#resolve | |
133 (4.9%) 133 (4.9%) Liquid::Context#variable_parse | |
552 (20.1%) 127 (4.6%) Liquid::Variable#initialize | |
2345 (85.6%) 122 (4.5%) Liquid::Block#render_all | |
2299 (83.9%) 114 (4.2%) Liquid::Block#parse | |
100 (3.6%) 97 (3.5%) Liquid::Template#tokenize | |
417 (15.2%) 87 (3.2%) Liquid::Variable#strict_parse | |
55 (2.0%) 55 (2.0%) Liquid::Parser#consume | |
54 (2.0%) 54 (2.0%) Liquid::Lexer#initialize | |
2223 (81.1%) 46 (1.7%) block in Liquid::Block#render_all | |
55 (2.0%) 44 (1.6%) block in Liquid::Context#variable | |
41 (1.5%) 41 (1.5%) Liquid::Context#has_interrupt? | |
39 (1.4%) 39 (1.4%) Liquid::Block#block_delimiter | |
34 (1.2%) 34 (1.2%) Liquid::Context#lookup_and_evaluate | |
32 (1.2%) 32 (1.2%) Liquid::Context#increment_used_resources | |
32 (1.2%) 32 (1.2%) Liquid::Context#resource_limits_reached? | |
2151 (78.5%) 26 (0.9%) Liquid::Block#render_token | |
25 (0.9%) 25 (0.9%) Liquid::Parser#look | |
25 (0.9%) 25 (0.9%) Liquid::Context#[]= | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 7538100 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
1445800 (19.2%) 1445800 (19.2%) Liquid::Lexer#tokenize | |
625200 (8.3%) 625200 (8.3%) Liquid::Context#variable_parse | |
1976300 (26.2%) 624100 (8.3%) Liquid::Variable#strict_parse | |
2810600 (37.3%) 597000 (7.9%) Liquid::Block#create_variable | |
9795300 (129.9%) 474300 (6.3%) Liquid::Block#parse | |
438600 (5.8%) 438600 (5.8%) Liquid::Template#tokenize | |
1282700 (17.0%) 421100 (5.6%) Liquid::Context#resolve | |
2178900 (28.9%) 300600 (4.0%) Liquid::Variable#render | |
1046400 (13.9%) 295500 (3.9%) block in Liquid::Variable#render | |
295500 (3.9%) 295500 (3.9%) Liquid::Lexer#initialize | |
2213600 (29.4%) 238800 (3.2%) block in Liquid::Block#create_variable | |
204800 (2.7%) 204800 (2.7%) Liquid::StandardFilters#truncatewords | |
131300 (1.7%) 131300 (1.7%) block in Liquid::Context#variable | |
5942800 (78.8%) 108700 (1.4%) Liquid::Block#render_all | |
1848100 (24.5%) 106800 (1.4%) Liquid::Parser#initialize | |
600600 (8.0%) 98500 (1.3%) Liquid::Context#invoke | |
72300 (1.0%) 72000 (1.0%) Liquid::Context#initialize | |
68000 (0.9%) 68000 (0.9%) Liquid::Parser#expression | |
683300 (9.1%) 58100 (0.8%) block in Liquid::Context#initialize | |
10654600 (141.3%) 47600 (0.6%) Liquid::Tag.parse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/benchmark.rb lax | |
Rehearsal ------------------------------------------------ | |
parse: 4.450000 0.030000 4.480000 ( 4.477102) | |
parse & run: 10.230000 0.030000 10.260000 ( 10.263798) | |
-------------------------------------- total: 14.740000sec | |
user system total real | |
parse: 4.490000 0.010000 4.500000 ( 4.497951) | |
parse & run: 11.350000 0.060000 11.410000 ( 11.408558) | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/benchmark.rb strict | |
Rehearsal ------------------------------------------------ | |
parse: 5.740000 0.030000 5.770000 ( 5.783525) | |
parse & run: 11.420000 0.040000 11.460000 ( 11.451418) | |
-------------------------------------- total: 17.230000sec | |
user system total real | |
parse: 5.250000 0.010000 5.260000 ( 5.269087) | |
parse & run: 11.340000 0.040000 11.380000 ( 11.379750) | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/profile.rb | |
Profiling in cpu mode... | |
================================== | |
Mode: cpu(1000) | |
Samples: 2615 (0.00% miss rate) | |
GC: 586 (22.41%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
265 (10.1%) 150 (5.7%) Liquid::Variable#lax_parse | |
337 (12.9%) 140 (5.4%) Liquid::Context#resolve | |
2490 (95.2%) 139 (5.3%) Liquid::Block#render_all | |
133 (5.1%) 133 (5.1%) Liquid::Token#initialize | |
121 (4.6%) 121 (4.6%) Liquid::Profiler::Timing#start | |
115 (4.4%) 115 (4.4%) block in Liquid::Variable#lax_parse | |
109 (4.2%) 109 (4.2%) Liquid::Profiler::Timing#finish | |
81 (3.1%) 81 (3.1%) Liquid::Context#variable_parse | |
348 (13.3%) 76 (2.9%) Liquid::Variable#initialize | |
1352 (51.7%) 74 (2.8%) Liquid::Block#parse | |
64 (2.4%) 64 (2.4%) Liquid::Context#has_interrupt? | |
220 (8.4%) 61 (2.3%) Liquid::Template#tokenize | |
60 (2.3%) 54 (2.1%) Liquid::If#lax_parse | |
44 (1.7%) 44 (1.7%) Liquid::Profiler.current_profile | |
48 (1.8%) 39 (1.5%) block in Liquid::Context#variable | |
32 (1.2%) 32 (1.2%) Liquid::Context#increment_used_resources | |
2351 (89.9%) 29 (1.1%) block in Liquid::Block#render_all | |
28 (1.1%) 28 (1.1%) Liquid::Context#lookup_and_evaluate | |
28 (1.1%) 28 (1.1%) Liquid::For#lax_parse | |
57 (2.2%) 26 (1.0%) Liquid::Profiler::Timing#initialize | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 9210200 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
2022100 (22.0%) 1299000 (14.1%) Liquid::Variable#lax_parse | |
723100 (7.9%) 723100 (7.9%) block in Liquid::Variable#lax_parse | |
625200 (6.8%) 625200 (6.8%) Liquid::Context#variable_parse | |
2856100 (31.0%) 597000 (6.5%) Liquid::Block#create_variable | |
9072400 (98.5%) 474300 (5.1%) Liquid::Block#parse | |
1489700 (16.2%) 438600 (4.8%) Liquid::Template#tokenize | |
1225300 (13.3%) 421100 (4.6%) Liquid::Context#resolve | |
1045100 (11.3%) 420400 (4.6%) block in Liquid::Template#calculate_line_numbers | |
420400 (4.6%) 420400 (4.6%) block (2 levels) in Liquid::Template#calculate_line_numbers | |
2238400 (24.3%) 300600 (3.3%) Liquid::Variable#render | |
1149900 (12.5%) 295500 (3.2%) block in Liquid::Variable#render | |
289100 (3.1%) 289100 (3.1%) Liquid::If#lax_parse | |
2259100 (24.5%) 238800 (2.6%) block in Liquid::Block#create_variable | |
204800 (2.2%) 204800 (2.2%) Liquid::StandardFilters#truncatewords | |
204300 (2.2%) 204300 (2.2%) Liquid::Token#initialize | |
230200 (2.5%) 193100 (2.1%) Liquid::Profiler::Timing#initialize | |
187100 (2.0%) 187100 (2.0%) Liquid::Profiler::Timing#start | |
598400 (6.5%) 187100 (2.0%) Liquid::Profiler::Timing.start | |
187100 (2.0%) 187100 (2.0%) Liquid::Profiler::Timing#finish | |
143500 (1.6%) 143500 (1.6%) Liquid::For#lax_parse | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/profile.rb strict | |
Profiling in cpu mode... | |
================================== | |
Mode: cpu(1000) | |
Samples: 3780 (0.00% miss rate) | |
GC: 760 (20.11%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
312 (8.3%) 312 (8.3%) Liquid::Lexer#tokenize | |
531 (14.0%) 202 (5.3%) Liquid::Context#resolve | |
163 (4.3%) 163 (4.3%) Liquid::Profiler::Timing#start | |
2407 (63.7%) 139 (3.7%) Liquid::Block#parse | |
135 (3.6%) 135 (3.6%) Liquid::Profiler::Timing#finish | |
134 (3.5%) 134 (3.5%) Liquid::Token#initialize | |
133 (3.5%) 133 (3.5%) Liquid::Context#variable_parse | |
3582 (94.8%) 126 (3.3%) Liquid::Block#render_all | |
554 (14.7%) 118 (3.1%) Liquid::Variable#initialize | |
285 (7.5%) 112 (3.0%) Liquid::Template#tokenize | |
430 (11.4%) 99 (2.6%) Liquid::Variable#strict_parse | |
91 (2.4%) 73 (1.9%) block in Liquid::Context#variable | |
68 (1.8%) 68 (1.8%) Liquid::Context#has_interrupt? | |
65 (1.7%) 65 (1.7%) Liquid::Profiler.current_profile | |
61 (1.6%) 61 (1.6%) Liquid::Parser#consume | |
55 (1.5%) 55 (1.5%) Liquid::Context#increment_used_resources | |
3456 (91.4%) 52 (1.4%) block in Liquid::Block#render_all | |
48 (1.3%) 48 (1.3%) Liquid::Lexer#initialize | |
38 (1.0%) 38 (1.0%) Liquid::Parser#look | |
35 (0.9%) 35 (0.9%) Liquid::Context#lookup_and_evaluate | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 9384600 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
1445800 (15.4%) 1445800 (15.4%) Liquid::Lexer#tokenize | |
625200 (6.7%) 625200 (6.7%) Liquid::Context#variable_parse | |
1976300 (21.1%) 624100 (6.7%) Liquid::Variable#strict_parse | |
2810600 (29.9%) 597000 (6.4%) Liquid::Block#create_variable | |
9794400 (104.4%) 474300 (5.1%) Liquid::Block#parse | |
1489700 (15.9%) 438600 (4.7%) Liquid::Template#tokenize | |
1251600 (13.3%) 421100 (4.5%) Liquid::Context#resolve | |
420400 (4.5%) 420400 (4.5%) block (2 levels) in Liquid::Template#calculate_line_numbers | |
1045100 (11.1%) 420400 (4.5%) block in Liquid::Template#calculate_line_numbers | |
2148500 (22.9%) 300600 (3.2%) Liquid::Variable#render | |
1046400 (11.2%) 295500 (3.1%) block in Liquid::Variable#render | |
295500 (3.1%) 295500 (3.1%) Liquid::Lexer#initialize | |
2213600 (23.6%) 238800 (2.5%) block in Liquid::Block#create_variable | |
204800 (2.2%) 204800 (2.2%) Liquid::StandardFilters#truncatewords | |
204300 (2.2%) 204300 (2.2%) Liquid::Token#initialize | |
230200 (2.5%) 193100 (2.1%) Liquid::Profiler::Timing#initialize | |
187100 (2.0%) 187100 (2.0%) Liquid::Profiler::Timing#finish | |
598400 (6.4%) 187100 (2.0%) Liquid::Profiler::Timing.start | |
187100 (2.0%) 187100 (2.0%) Liquid::Profiler::Timing#start | |
131300 (1.4%) 131300 (1.4%) block in Liquid::Context#variable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment