Created
August 12, 2014 19:17
-
-
Save jasonroelofs/1137f4f59ed7657ccc96 to your computer and use it in GitHub Desktop.
Shopify profiling benchmarks
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 | |
Running benchmark for 60 seconds (with 5 seconds warmup). | |
Calculating ------------------------------------- | |
parse: 2 i/100ms | |
parse & run: 1 i/100ms | |
------------------------------------------------- | |
parse: 28.3 (±7.1%) i/s - 1690 in 60.040297s | |
parse & run: 13.9 (±7.2%) i/s - 833 in 60.043217s | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/benchmark.rb strict | |
Running benchmark for 60 seconds (with 5 seconds warmup). | |
Calculating ------------------------------------- | |
parse: 2 i/100ms | |
parse & run: 1 i/100ms | |
------------------------------------------------- | |
parse: 23.7 (±4.2%) i/s - 1418 in 60.026005s | |
parse & run: 12.5 (±8.0%) i/s - 750 in 59.995732s | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/profile.rb | |
Profiling in cpu mode... | |
================================== | |
Mode: cpu(1000) | |
Samples: 1610 (0.00% miss rate) | |
GC: 333 (20.68%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
263 (16.3%) 138 (8.6%) Liquid::Variable#lax_parse | |
125 (7.8%) 125 (7.8%) block in Liquid::Variable#lax_parse | |
1354 (84.1%) 105 (6.5%) Liquid::Block#render_all | |
156 (9.7%) 81 (5.0%) Liquid::Expression.parse | |
347 (21.6%) 74 (4.6%) Liquid::Variable#initialize | |
74 (4.6%) 62 (3.9%) Liquid::VariableLookup#initialize | |
60 (3.7%) 60 (3.7%) Liquid::Template#tokenize | |
1250 (77.6%) 54 (3.4%) Liquid::Block#parse | |
48 (3.0%) 43 (2.7%) Liquid::If#lax_parse | |
41 (2.5%) 41 (2.5%) Liquid::Context#has_interrupt? | |
121 (7.5%) 35 (2.2%) Liquid::Context#evaluate | |
1249 (77.6%) 32 (2.0%) block in Liquid::Block#render_all | |
22 (1.4%) 22 (1.4%) Liquid::Context#lookup_and_evaluate | |
40 (2.5%) 21 (1.3%) Liquid::StandardFilters#to_date | |
22 (1.4%) 21 (1.3%) Liquid::For#lax_parse | |
19 (1.2%) 18 (1.1%) Liquid::Block#block_delimiter | |
19 (1.2%) 18 (1.1%) Time.parse | |
16 (1.0%) 16 (1.0%) Liquid::Context#increment_used_resources | |
15 (0.9%) 15 (0.9%) Liquid::Template.error_mode | |
13 (0.8%) 13 (0.8%) Liquid::Context#resource_limits_reached? | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 7054400 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
2022100 (28.7%) 1299000 (18.4%) Liquid::Variable#lax_parse | |
723100 (10.3%) 723100 (10.3%) block in Liquid::Variable#lax_parse | |
2856100 (40.5%) 597000 (8.5%) Liquid::Block#create_variable | |
559700 (7.9%) 559700 (7.9%) Liquid::VariableLookup#initialize | |
9083300 (128.8%) 474300 (6.7%) Liquid::Block#parse | |
438600 (6.2%) 438600 (6.2%) Liquid::Template#tokenize | |
2000500 (28.4%) 300600 (4.3%) Liquid::Variable#render | |
1018600 (14.4%) 295500 (4.2%) block in Liquid::Variable#render | |
289100 (4.1%) 289100 (4.1%) Liquid::If#lax_parse | |
895100 (12.7%) 269900 (3.8%) Liquid::Expression.parse | |
2259100 (32.0%) 238800 (3.4%) block in Liquid::Block#create_variable | |
204800 (2.9%) 204800 (2.9%) Liquid::StandardFilters#truncatewords | |
146100 (2.1%) 143500 (2.0%) Liquid::For#lax_parse | |
5198700 (73.7%) 108700 (1.5%) Liquid::Block#render_all | |
999800 (14.2%) 104700 (1.5%) block in Liquid::Context#initialize | |
600600 (8.5%) 98500 (1.4%) Liquid::Context#invoke | |
72300 (1.0%) 72000 (1.0%) Liquid::Context#initialize | |
625200 (8.9%) 65500 (0.9%) Liquid::VariableLookup.parse | |
9652700 (136.8%) 47600 (0.7%) Liquid::Tag.parse | |
47000 (0.7%) 47000 (0.7%) 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: 1460 (0.00% miss rate) | |
GC: 223 (15.27%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
143 (9.8%) 143 (9.8%) Liquid::Lexer#tokenize | |
1300 (89.0%) 130 (8.9%) Liquid::Block#render_all | |
276 (18.9%) 76 (5.2%) Liquid::Variable#initialize | |
133 (9.1%) 68 (4.7%) Liquid::Expression.parse | |
1157 (79.2%) 68 (4.7%) Liquid::Block#parse | |
61 (4.2%) 61 (4.2%) Liquid::Template#tokenize | |
64 (4.4%) 57 (3.9%) Liquid::VariableLookup#initialize | |
195 (13.4%) 40 (2.7%) Liquid::Variable#strict_parse | |
1170 (80.1%) 35 (2.4%) block in Liquid::Block#render_all | |
33 (2.3%) 33 (2.3%) Liquid::Context#has_interrupt? | |
42 (2.9%) 31 (2.1%) Liquid::StandardFilters#to_date | |
32 (2.2%) 28 (1.9%) Liquid::Context#[]= | |
97 (6.6%) 27 (1.8%) Liquid::Context#evaluate | |
25 (1.7%) 25 (1.7%) Liquid::Parser#consume | |
25 (1.7%) 25 (1.7%) Liquid::Lexer#initialize | |
23 (1.6%) 23 (1.6%) Liquid::Context#increment_used_resources | |
20 (1.4%) 20 (1.4%) Liquid::Parser#look | |
21 (1.4%) 19 (1.3%) Liquid::Block#block_delimiter | |
16 (1.1%) 16 (1.1%) Liquid::Context#lookup_and_evaluate | |
14 (1.0%) 14 (1.0%) Set#include? | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 7298500 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
1445800 (19.8%) 1445800 (19.8%) Liquid::Lexer#tokenize | |
1976300 (27.1%) 624100 (8.6%) Liquid::Variable#strict_parse | |
2810600 (38.5%) 597000 (8.2%) Liquid::Block#create_variable | |
559700 (7.7%) 559700 (7.7%) Liquid::VariableLookup#initialize | |
9795000 (134.2%) 474300 (6.5%) Liquid::Block#parse | |
438600 (6.0%) 438600 (6.0%) Liquid::Template#tokenize | |
2000500 (27.4%) 300600 (4.1%) Liquid::Variable#render | |
1018600 (14.0%) 295500 (4.0%) block in Liquid::Variable#render | |
295500 (4.0%) 295500 (4.0%) Liquid::Lexer#initialize | |
895100 (12.3%) 269900 (3.7%) Liquid::Expression.parse | |
2213600 (30.3%) 238800 (3.3%) block in Liquid::Block#create_variable | |
204800 (2.8%) 204800 (2.8%) Liquid::StandardFilters#truncatewords | |
5198700 (71.2%) 108700 (1.5%) Liquid::Block#render_all | |
1848100 (25.3%) 106800 (1.5%) Liquid::Parser#initialize | |
999800 (13.7%) 104700 (1.4%) block in Liquid::Context#initialize | |
600600 (8.2%) 98500 (1.3%) Liquid::Context#invoke | |
72300 (1.0%) 72000 (1.0%) Liquid::Context#initialize | |
68000 (0.9%) 68000 (0.9%) Liquid::Parser#expression | |
625200 (8.6%) 65500 (0.9%) Liquid::VariableLookup.parse | |
10654000 (146.0%) 47600 (0.7%) 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 | |
Running benchmark for 60 seconds (with 5 seconds warmup). | |
Calculating ------------------------------------- | |
parse: 2 i/100ms | |
parse & run: 1 i/100ms | |
------------------------------------------------- | |
parse: 27.2 (±7.4%) i/s - 1620 in 60.034120s | |
parse & run: 10.9 (±9.2%) i/s - 648 in 60.075174s | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/benchmark.rb strict | |
Running benchmark for 60 seconds (with 5 seconds warmup). | |
Calculating ------------------------------------- | |
parse: 2 i/100ms | |
parse & run: 1 i/100ms | |
------------------------------------------------- | |
parse: 22.8 (±8.8%) i/s - 1360 in 60.074682s | |
parse & run: 9.9 (±10.1%) i/s - 591 in 60.057145s | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/profile.rb | |
Profiling in cpu mode... | |
================================== | |
Mode: cpu(1000) | |
Samples: 1543 (0.00% miss rate) | |
GC: 301 (19.51%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
1309 (84.8%) 132 (8.6%) Liquid::Block#render_all | |
164 (10.6%) 99 (6.4%) Liquid::Variable#lax_parse | |
65 (4.2%) 65 (4.2%) block in Liquid::Variable#lax_parse | |
810 (52.5%) 63 (4.1%) Liquid::Block#parse | |
123 (8.0%) 57 (3.7%) Liquid::Template#tokenize | |
55 (3.6%) 55 (3.6%) Liquid::Token#initialize | |
102 (6.6%) 49 (3.2%) Liquid::Expression.parse | |
49 (3.2%) 48 (3.1%) Liquid::Profiler#initialize | |
51 (3.3%) 47 (3.0%) Liquid::VariableLookup#initialize | |
47 (3.0%) 47 (3.0%) Liquid::Profiler::Timing#finish | |
41 (2.7%) 38 (2.5%) Liquid::If#lax_parse | |
208 (13.5%) 34 (2.2%) Liquid::Variable#initialize | |
29 (1.9%) 29 (1.9%) Liquid::Context#has_interrupt? | |
27 (1.7%) 27 (1.7%) Liquid::Profiler::Timing#start | |
113 (7.3%) 26 (1.7%) Liquid::Context#evaluate | |
21 (1.4%) 21 (1.4%) Liquid::Context#increment_used_resources | |
33 (2.1%) 21 (1.4%) block in Liquid::VariableLookup#evaluate | |
20 (1.3%) 20 (1.3%) Liquid::Context#lookup_and_evaluate | |
20 (1.3%) 20 (1.3%) Liquid::Profiler.current_profile | |
20 (1.3%) 19 (1.2%) Liquid::For#lax_parse | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 8140300 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
2022100 (24.8%) 1299000 (16.0%) Liquid::Variable#lax_parse | |
723100 (8.9%) 723100 (8.9%) block in Liquid::Variable#lax_parse | |
2856100 (35.1%) 597000 (7.3%) Liquid::Block#create_variable | |
559700 (6.9%) 559700 (6.9%) Liquid::VariableLookup#initialize | |
9073500 (111.5%) 474300 (5.8%) Liquid::Block#parse | |
1126300 (13.8%) 438600 (5.4%) Liquid::Template#tokenize | |
2013100 (24.7%) 300600 (3.7%) Liquid::Variable#render | |
1073900 (13.2%) 295500 (3.6%) block in Liquid::Variable#render | |
289100 (3.6%) 289100 (3.6%) Liquid::If#lax_parse | |
275600 (3.4%) 275600 (3.4%) block (2 levels) in Liquid::Template#calculate_line_numbers | |
684700 (8.4%) 275600 (3.4%) block in Liquid::Template#calculate_line_numbers | |
895100 (11.0%) 269900 (3.3%) Liquid::Expression.parse | |
2259100 (27.8%) 238800 (2.9%) block in Liquid::Block#create_variable | |
204800 (2.5%) 204800 (2.5%) Liquid::StandardFilters#truncatewords | |
144000 (1.8%) 143500 (1.8%) Liquid::For#lax_parse | |
133500 (1.6%) 133500 (1.6%) Liquid::Token#initialize | |
5867900 (72.1%) 108700 (1.3%) Liquid::Block#render_all | |
668600 (8.2%) 98500 (1.2%) Liquid::Context#invoke | |
109500 (1.3%) 91700 (1.1%) Liquid::Profiler::Timing#initialize | |
88700 (1.1%) 88700 (1.1%) Liquid::Profiler::Timing#finish | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/profile.rb strict | |
Profiling in cpu mode... | |
================================== | |
Mode: cpu(1000) | |
Samples: 1773 (0.00% miss rate) | |
GC: 405 (22.84%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
146 (8.2%) 146 (8.2%) Liquid::Lexer#tokenize | |
1381 (77.9%) 105 (5.9%) Liquid::Block#render_all | |
275 (15.5%) 77 (4.3%) Liquid::Variable#initialize | |
1171 (66.0%) 74 (4.2%) Liquid::Block#parse | |
67 (3.8%) 63 (3.6%) Liquid::VariableLookup#initialize | |
62 (3.5%) 62 (3.5%) Liquid::Token#initialize | |
128 (7.2%) 58 (3.3%) Liquid::Template#tokenize | |
117 (6.6%) 47 (2.7%) Liquid::Expression.parse | |
45 (2.5%) 45 (2.5%) Liquid::Profiler::Timing#finish | |
44 (2.5%) 42 (2.4%) Liquid::Profiler#initialize | |
195 (11.0%) 35 (2.0%) Liquid::Variable#strict_parse | |
32 (1.8%) 32 (1.8%) Liquid::Lexer#initialize | |
30 (1.7%) 30 (1.7%) Liquid::Context#has_interrupt? | |
26 (1.5%) 26 (1.5%) Liquid::Profiler::Timing#start | |
26 (1.5%) 26 (1.5%) Liquid::Context#increment_used_resources | |
94 (5.3%) 25 (1.4%) Liquid::Context#evaluate | |
25 (1.4%) 25 (1.4%) Liquid::Parser#consume | |
20 (1.1%) 20 (1.1%) Liquid::Parser#look | |
18 (1.0%) 18 (1.0%) Liquid::Context#[]= | |
16 (0.9%) 16 (0.9%) Liquid::Profiler.current_profile | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 8368700 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
1445800 (17.3%) 1445800 (17.3%) Liquid::Lexer#tokenize | |
1976300 (23.6%) 624100 (7.5%) Liquid::Variable#strict_parse | |
2810600 (33.6%) 597000 (7.1%) Liquid::Block#create_variable | |
559700 (6.7%) 559700 (6.7%) Liquid::VariableLookup#initialize | |
9795000 (117.0%) 474300 (5.7%) Liquid::Block#parse | |
1126300 (13.5%) 438600 (5.2%) Liquid::Template#tokenize | |
1980400 (23.7%) 300600 (3.6%) Liquid::Variable#render | |
295500 (3.5%) 295500 (3.5%) Liquid::Lexer#initialize | |
1018600 (12.2%) 295500 (3.5%) block in Liquid::Variable#render | |
684700 (8.2%) 275600 (3.3%) block in Liquid::Template#calculate_line_numbers | |
275600 (3.3%) 275600 (3.3%) block (2 levels) in Liquid::Template#calculate_line_numbers | |
895100 (10.7%) 269900 (3.2%) Liquid::Expression.parse | |
2213600 (26.5%) 238800 (2.9%) block in Liquid::Block#create_variable | |
204800 (2.4%) 204800 (2.4%) Liquid::StandardFilters#truncatewords | |
133500 (1.6%) 133500 (1.6%) Liquid::Token#initialize | |
5829400 (69.7%) 108700 (1.3%) Liquid::Block#render_all | |
1848100 (22.1%) 106800 (1.3%) Liquid::Parser#initialize | |
600600 (7.2%) 98500 (1.2%) Liquid::Context#invoke | |
109500 (1.3%) 91700 (1.1%) Liquid::Profiler::Timing#initialize | |
283900 (3.4%) 88700 (1.1%) Liquid::Profiler::Timing.start |
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 | |
Running benchmark for 60 seconds (with 5 seconds warmup). | |
Calculating ------------------------------------- | |
parse: 2 i/100ms | |
parse & run: 1 i/100ms | |
------------------------------------------------- | |
parse: 21.7 (±9.2%) i/s - 1292 in 60.057300s | |
parse & run: 10.0 (±10.0%) i/s - 596 in 60.038144s | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/benchmark.rb strict | |
Running benchmark for 60 seconds (with 5 seconds warmup). | |
Calculating ------------------------------------- | |
parse: 1 i/100ms | |
parse & run: 1 i/100ms | |
------------------------------------------------- | |
parse: 18.2 (±11.0%) i/s - 1070 in 60.032479s | |
parse & run: 9.4 (±10.6%) i/s - 562 in 60.000554s | |
/Users/roelofs/.rvm/rubies/ruby-2.1.2/bin/ruby ./performance/profile.rb | |
Profiling in cpu mode... | |
================================== | |
Mode: cpu(1000) | |
Samples: 1913 (0.00% miss rate) | |
GC: 437 (22.84%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
1717 (89.8%) 117 (6.1%) Liquid::Block#render_all | |
206 (10.8%) 107 (5.6%) Liquid::Variable#lax_parse | |
104 (5.4%) 104 (5.4%) Liquid::Token#initialize | |
99 (5.2%) 99 (5.2%) block in Liquid::Variable#lax_parse | |
91 (4.8%) 91 (4.8%) Liquid::Profiler::Timing#finish | |
133 (7.0%) 64 (3.3%) Liquid::Expression.parse | |
66 (3.5%) 62 (3.2%) Liquid::Profiler#initialize | |
976 (51.0%) 58 (3.0%) Liquid::Block#parse | |
68 (3.6%) 57 (3.0%) Liquid::VariableLookup#initialize | |
53 (2.8%) 53 (2.8%) Liquid::Profiler::Timing#start | |
169 (8.8%) 49 (2.6%) Liquid::Template#tokenize | |
260 (13.6%) 41 (2.1%) Liquid::Variable#initialize | |
29 (1.5%) 29 (1.5%) Liquid::Context#lookup_and_evaluate | |
28 (1.5%) 28 (1.5%) Liquid::Context#has_interrupt? | |
27 (1.4%) 27 (1.4%) Liquid::Profiler.current_profile | |
27 (1.4%) 27 (1.4%) Liquid::Context#increment_used_resources | |
41 (2.1%) 26 (1.4%) Liquid::Profiler::Timing#initialize | |
111 (5.8%) 23 (1.2%) Liquid::Context#evaluate | |
1600 (83.6%) 21 (1.1%) block in Liquid::Block#render_all | |
20 (1.0%) 20 (1.0%) Liquid::Block#block_delimiter | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 8942300 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
2022100 (22.6%) 1299000 (14.5%) Liquid::Variable#lax_parse | |
723100 (8.1%) 723100 (8.1%) block in Liquid::Variable#lax_parse | |
2856100 (31.9%) 597000 (6.7%) Liquid::Block#create_variable | |
559700 (6.3%) 559700 (6.3%) Liquid::VariableLookup#initialize | |
9072100 (101.5%) 474300 (5.3%) Liquid::Block#parse | |
1489700 (16.7%) 438600 (4.9%) Liquid::Template#tokenize | |
1045100 (11.7%) 420400 (4.7%) block in Liquid::Template#calculate_line_numbers | |
420400 (4.7%) 420400 (4.7%) block (2 levels) in Liquid::Template#calculate_line_numbers | |
2022700 (22.6%) 300600 (3.4%) Liquid::Variable#render | |
1104700 (12.4%) 295500 (3.3%) block in Liquid::Variable#render | |
289100 (3.2%) 289100 (3.2%) Liquid::If#lax_parse | |
895100 (10.0%) 269900 (3.0%) Liquid::Expression.parse | |
2259100 (25.3%) 238800 (2.7%) block in Liquid::Block#create_variable | |
204800 (2.3%) 204800 (2.3%) Liquid::StandardFilters#truncatewords | |
204300 (2.3%) 204300 (2.3%) Liquid::Token#initialize | |
230200 (2.6%) 193100 (2.2%) Liquid::Profiler::Timing#initialize | |
187100 (2.1%) 187100 (2.1%) Liquid::Profiler::Timing#start | |
187100 (2.1%) 187100 (2.1%) Liquid::Profiler::Timing#finish | |
598400 (6.7%) 187100 (2.1%) Liquid::Profiler::Timing.start | |
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: 1710 (0.00% miss rate) | |
GC: 355 (20.76%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
130 (7.6%) 130 (7.6%) Liquid::Lexer#tokenize | |
92 (5.4%) 92 (5.4%) Liquid::Token#initialize | |
1464 (85.6%) 82 (4.8%) Liquid::Block#render_all | |
84 (4.9%) 81 (4.7%) Liquid::Profiler#initialize | |
77 (4.5%) 77 (4.5%) Liquid::Profiler::Timing#finish | |
243 (14.2%) 60 (3.5%) Liquid::Variable#initialize | |
114 (6.7%) 56 (3.3%) Liquid::Expression.parse | |
1001 (58.5%) 55 (3.2%) Liquid::Block#parse | |
53 (3.1%) 53 (3.1%) Liquid::Profiler::Timing#start | |
58 (3.4%) 51 (3.0%) Liquid::VariableLookup#initialize | |
150 (8.8%) 43 (2.5%) Liquid::Template#tokenize | |
179 (10.5%) 31 (1.8%) Liquid::Variable#strict_parse | |
29 (1.7%) 29 (1.7%) Liquid::Parser#consume | |
26 (1.5%) 26 (1.5%) Liquid::Profiler.current_profile | |
90 (5.3%) 22 (1.3%) Liquid::Context#evaluate | |
1382 (80.8%) 22 (1.3%) block in Liquid::Block#render_all | |
29 (1.7%) 20 (1.2%) Liquid::Profiler::Timing#initialize | |
20 (1.2%) 20 (1.2%) Liquid::Lexer#initialize | |
20 (1.2%) 20 (1.2%) Liquid::Context#has_interrupt? | |
21 (1.2%) 20 (1.2%) Liquid::Block#block_delimiter | |
Profiling in object mode... | |
================================== | |
Mode: object(1) | |
Samples: 9162400 (0.00% miss rate) | |
GC: 0 (0.00%) | |
================================== | |
TOTAL (pct) SAMPLES (pct) FRAME | |
1445800 (15.8%) 1445800 (15.8%) Liquid::Lexer#tokenize | |
1976300 (21.6%) 624100 (6.8%) Liquid::Variable#strict_parse | |
2810600 (30.7%) 597000 (6.5%) Liquid::Block#create_variable | |
559700 (6.1%) 559700 (6.1%) Liquid::VariableLookup#initialize | |
9794100 (106.9%) 474300 (5.2%) Liquid::Block#parse | |
1489700 (16.3%) 438600 (4.8%) Liquid::Template#tokenize | |
1045100 (11.4%) 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 | |
1970100 (21.5%) 300600 (3.3%) Liquid::Variable#render | |
1018600 (11.1%) 295500 (3.2%) block in Liquid::Variable#render | |
295500 (3.2%) 295500 (3.2%) Liquid::Lexer#initialize | |
895100 (9.8%) 269900 (2.9%) Liquid::Expression.parse | |
2213600 (24.2%) 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#finish | |
187100 (2.0%) 187100 (2.0%) Liquid::Profiler::Timing#start | |
598400 (6.5%) 187100 (2.0%) Liquid::Profiler::Timing.start | |
6892400 (75.2%) 108700 (1.2%) Liquid::Block#render_all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment