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 a performance testing for the LongHashFunction using JMH #79

Open
wants to merge 1 commit into
base: ea
Choose a base branch
from

Conversation

gnodet
Copy link

@gnodet gnodet commented Apr 5, 2023

This provides a simple performance test based on JMH for the LongHashFunction implementations.
Here's the results on my laptop using OpenJDK 17.0.6:

Benchmark                               Mode  Cnt     Score     Error   Units
PerfTest.benchmarkCityAndFarmHash_1_1  thrpt    3  1946.640 ±  80.873  ops/ms
PerfTest.benchmarkMetroHash            thrpt    3  2403.670 ±  76.122  ops/ms
PerfTest.benchmarkMurmurHash_3         thrpt    3   727.741 ±  12.797  ops/ms
PerfTest.benchmarkXXH3                 thrpt    3  1879.180 ± 215.720  ops/ms
PerfTest.benchmarkXxHash               thrpt    3  1714.654 ± 232.981  ops/ms

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