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

add more inlines for better optimization #223

Merged
merged 1 commit into from
Jun 4, 2024
Merged

add more inlines for better optimization #223

merged 1 commit into from
Jun 4, 2024

Conversation

camshaft
Copy link
Owner

@camshaft camshaft commented Jun 4, 2024

in trying to improve iteration speeds i noticed the panic functions showing up a bit. after making these changes, iteration speed has improved slightly:

boolean-tree example

$ cd examples/boolean-tree
$ cargo +nightly bolero test tests::model_test --engine random --sanitizer NONE

before

#3929088	iterations/s: 3929088
#7855104	iterations/s: 3926016
#11784192	iterations/s: 3929088
#15715328	iterations/s: 3931136
#19649536	iterations/s: 3934208
#23584768	iterations/s: 3935232

after

#4470784	iterations/s: 4470784
#8924160	iterations/s: 4453376
#13398016	iterations/s: 4473856
#17874944	iterations/s: 4476928
#22356992	iterations/s: 4482048
#26848256	iterations/s: 4491264

@camshaft camshaft marked this pull request as ready for review June 4, 2024 20:47
@camshaft camshaft merged commit 8b7539d into master Jun 4, 2024
8 of 9 checks passed
@camshaft camshaft deleted the more-inlines branch June 4, 2024 20:51
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