-
Notifications
You must be signed in to change notification settings - Fork 70
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
Adding coalton-based benchmark system #1286
base: main
Are you sure you want to change the base?
Conversation
|
5e7fb7c
to
08aba17
Compare
Current interface:Defining benchmarks:
Running package benchmarks:This returns a
Run all Coalton benchmarks:
Reexporting benchmarks in different packages:
|
08aba17
to
ec5b34b
Compare
I think we should also have bytes consed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, with a few suggestions:
major:
- update benchmarking/README.md ('run-benchmark' no longer exists)
- update
make bench
target to complete successfully (I had to drop 'without-gcing' to get to the underlying error, the gc macro shouldn't have to appear in the makefile, anyways)
minor:
- add bytes consed
- add (micro?) seconds per iteration
- possibly, print all timings in scientific notation, since there are a large range of possible values.
83951d5
to
775c382
Compare
2e19abf
to
d69335d
Compare
d69335d
to
62e0c2b
Compare
5f669d8
to
c9fc076
Compare
f16309e
to
a3e5b46
Compare
Added Brainfold benchmarks:
|
|
be59946
to
a40508c
Compare
|
12ef323
to
4eb3080
Compare
Added parameterized benchmarks, fixed alignment, added timing standard deviation and dynamic sample scaling based on standard deviation convergence. |
4eb3080
to
79e7472
Compare
79e7472
to
32cc544
Compare
I think the
|
32cc544
to
4de376c
Compare
Here's a candidate for a potential benchmarking system, written almost entirely in Coalton.
To try it out: