Skip to content

Add a performance testing for the LongHashFunction using JMH#79

Open
gnodet wants to merge 1 commit intoOpenHFT:eafrom
gnodet:perftest
Open

Add a performance testing for the LongHashFunction using JMH#79
gnodet wants to merge 1 commit intoOpenHFT:eafrom
gnodet:perftest

Conversation

@gnodet
Copy link
Copy Markdown

@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