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

use questionmark operator instead of try! #48

Closed
wants to merge 1 commit into from
Closed

Conversation

maciejhirsz
Copy link
Member

No description provided.

@maciejhirsz
Copy link
Member Author

maciejhirsz commented Nov 17, 2016

Performance regression (rustc 1.15.0-nightly (43006fcea 2016-11-15))

Before:

running 3 tests
test codegen_from_ast               ... bench:         627 ns/iter (+/- 319) = 641 MB/s
test parse_to_ast                   ... bench:       4,814 ns/iter (+/- 35) = 249 MB/s
test parse_to_ast_and_transform_es5 ... bench:       5,075 ns/iter (+/- 711) = 236 MB/s

After:

running 3 tests
test codegen_from_ast               ... bench:         625 ns/iter (+/- 4) = 643 MB/s
test parse_to_ast                   ... bench:       5,850 ns/iter (+/- 262) = 204 MB/s
test parse_to_ast_and_transform_es5 ... bench:       6,135 ns/iter (+/- 20) = 195 MB/s

@maciejhirsz
Copy link
Member Author

On hold due to rust-lang/rust#37939

@maciejhirsz maciejhirsz deleted the questionmark branch November 21, 2017 09:48
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