Skip to content

add a basic benchmark, optimize it by ~50%#7

Merged
stephanemagnenat merged 2 commits intoethz-gtc:mainfrom
haydenflinner:main
Mar 31, 2025
Merged

add a basic benchmark, optimize it by ~50%#7
stephanemagnenat merged 2 commits intoethz-gtc:mainfrom
haydenflinner:main

Conversation

@haydenflinner
Copy link
Copy Markdown
Contributor

No description provided.

Before change:
mcts_run                time:   [7.0371 ms 7.0612 ms 7.0870 ms]
                        change: [-0.4500% -0.0008% +0.4727%] (p = 1.00 > 0.05)
                        No change in performance detected.
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high mild

After change:
Changed hasher after looking at profiling:
mcts_run                time:   [3.8360 ms 3.8503 ms 3.8650 ms]
                        change: [-45.754% -45.473% -45.199%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high mild
@stephanemagnenat stephanemagnenat merged commit 640dc52 into ethz-gtc:main Mar 31, 2025
2 of 3 checks passed
@stephanemagnenat
Copy link
Copy Markdown
Contributor

lgtm

@stephanemagnenat
Copy link
Copy Markdown
Contributor

stephanemagnenat commented Mar 31, 2025

Oups, I didn't see the linter issues.

@haydenflinner do you have bandwidth to fix the linter issues and submit a PR with the changes? Thank you!

@stephanemagnenat
Copy link
Copy Markdown
Contributor

Never mind, I fixed the clippy issues.

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.

2 participants