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

Go-faster capability #132

Open
sageserpent-open opened this issue Sep 29, 2024 · 0 comments
Open

Go-faster capability #132

sageserpent-open opened this issue Sep 29, 2024 · 0 comments

Comments

@sageserpent-open
Copy link
Owner

Writing a benchmark that uses Americium solely as a generator of data inputs in the benchmark taking a lot of time and memory purely in constructing the inputs, irrespective of the actual code whose performance is being measured.

Using a simpler approach of hand-rolling some random number generation and set construction yields much better performance, see the updated benchmark without Americium.

Either come up with some optimisations to improve Americium's performance when supplying a very large number of cases, or provide a configuration option that turns off some of the bookkeeping, sacrificing, say, the uniqueness guarantee or the ability to reproduce or shrink a failing test case. The latter two aren't important for benchmarking, so if they are causing a lot of overhead, disable them.

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

No branches or pull requests

1 participant