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

Use phf for strum (Speed 22%) #122

Merged
merged 1 commit into from
Feb 13, 2023
Merged

Use phf for strum (Speed 22%) #122

merged 1 commit into from
Feb 13, 2023

Conversation

Riey
Copy link
Owner

@Riey Riey commented Feb 13, 2023

Bench results

small 5000              time:   [455.53 µs 457.28 µs 459.09 µs]
                        change: [-82.145% -81.987% -81.805%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
  2 (2.00%) high mild
  6 (6.00%) high severe

small 50000             time:   [4.7716 ms 4.8044 ms 4.8394 ms]
                        change: [-81.590% -81.437% -81.268%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
  9 (9.00%) high mild
  1 (1.00%) high severe

parse title             time:   [29.722 µs 29.914 µs 30.119 µs]
                        change: [-24.354% -23.723% -23.010%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
  5 (5.00%) high mild
  1 (1.00%) high severe

parse system            time:   [838.89 µs 842.61 µs 846.95 µs]
                        change: [-25.281% -24.442% -23.684%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
  1 (1.00%) low mild
  4 (4.00%) high mild
  1 (1.00%) high severe

compile title           time:   [30.833 µs 30.983 µs 31.150 µs]
                        change: [-23.540% -22.718% -21.866%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 4 outliers among 100 measurements (4.00%)
  3 (3.00%) high mild
  1 (1.00%) high severe

compile system          time:   [869.34 µs 874.13 µs 879.88 µs]
                        change: [-42.740% -41.112% -39.416%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
  8 (8.00%) high mild
  2 (2.00%) high severe

@Riey Riey added the enhancement New feature or request label Feb 13, 2023
@Riey Riey merged commit 82bc54a into master Feb 13, 2023
@Riey Riey deleted the use-phf branch February 13, 2023 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant