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

Remove uninteresting fill_boxed and fill_usize benchmarks #264

Merged
merged 1 commit into from
Dec 29, 2020

Conversation

mgeisler
Copy link
Owner

I thought these benchmarks would tell me interesting things about how using an usize for Options would give all sorts of inlining benefits. In reality, I cannot measure any difference in performance between these benchmarks, so we might as well remove them.

This has the benefit that one can do

$ cargo bench /2400

to quickly run the remaining benchmarks with a given string length.

I thought these benchmarks would tell me interesting things about how
using an `usize` for `Options` would give all sorts of inlining
benefits. In reality, I cannot measure any difference in performance
between these benchmarks, so we might as well remove them.

This has the benefit that one can do

    $ cargo bench /2400

to quickly run the remaining benchmarks with a given string length.
@mgeisler mgeisler merged commit f50c552 into master Dec 29, 2020
@github-actions github-actions bot mentioned this pull request Dec 30, 2020
@mgeisler mgeisler deleted the remove-unnecessary-benchmarks branch January 30, 2021 16:46
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