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

feat(Value): Control key order #160

Merged
merged 4 commits into from
Jan 15, 2018
Merged

feat(Value): Control key order #160

merged 4 commits into from
Jan 15, 2018

Conversation

epage
Copy link
Member

@epage epage commented Jan 15, 2018

Fixes #159

@epage
Copy link
Member Author

epage commented Jan 15, 2018

For reference, base bench

running 6 tests
test bench_parse_template  ... bench:      22,776 ns/iter (+/- 1,571)
test bench_parse_text      ... bench:         841 ns/iter (+/- 55)
test bench_parse_variable  ... bench:       2,861 ns/iter (+/- 220)
test bench_render_template ... bench:       7,002 ns/iter (+/- 562)
test bench_render_text     ... bench:         440 ns/iter (+/- 32)
test bench_render_variable ... bench:       6,389 ns/iter (+/- 541)

@epage
Copy link
Member Author

epage commented Jan 15, 2018

With object_sorted (YMMV)

running 6 tests
test bench_parse_template  ... bench:      22,772 ns/iter (+/- 2,619)
test bench_parse_text      ... bench:         820 ns/iter (+/- 62)
test bench_parse_variable  ... bench:       2,883 ns/iter (+/- 490)
test bench_render_template ... bench:       6,474 ns/iter (+/- 625)
test bench_render_text     ... bench:         511 ns/iter (+/- 46)
test bench_render_variable ... bench:       6,116 ns/iter (+/- 322

@epage epage merged commit 727d992 into cobalt-org:master Jan 15, 2018
@epage epage deleted the map branch January 15, 2018 15:55
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.

1 participant