Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement benchmarks for deserialize, and deserialize & render #141

Open
wants to merge 1 commit into
base: pz-deserialize
Choose a base branch
from

Conversation

peterzhu2118
Copy link
Member

Based on #138.

Implements benchmarks for deserialize, and deserialize and render. Originally implemented in Shopify/liquid#1385.

Benchmark results:

              parse:    106.153  (± 0.9%) i/s -      1.070k in  10.081500s
             render:    216.622  (± 2.8%) i/s -      2.184k in  10.090715s
     parse & render:     62.163  (± 4.8%) i/s -    624.000  in  10.067989s
        deserialize:    152.583  (± 2.6%) i/s -      1.526k in  10.009992s
deserialize & render:
                         80.660  (± 2.5%) i/s -    808.000  in  10.023873s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants