rishabhdaim commented on PR #2399: URL: https://github.com/apache/jackrabbit-oak/pull/2399#issuecomment-3117459032
Did another benchmarking using digest with Apache, and below are the findings: ``` Benchmark (count) Mode Cnt Score Error Units BloomFilters.apache 1 avgt 10 39.372 ± 2.426 us/op BloomFilters.apache 100 avgt 10 46.325 ± 2.307 us/op BloomFilters.apache 10000 avgt 10 643.365 ± 55.148 us/op BloomFilters.apache 1000000 avgt 10 41429.101 ± 5010.814 us/op BloomFilters.apacheSha 1 avgt 10 38.646 ± 0.976 us/op BloomFilters.apacheSha 100 avgt 10 52.744 ± 1.460 us/op BloomFilters.apacheSha 10000 avgt 10 1155.464 ± 17.081 us/op BloomFilters.apacheSha 1000000 avgt 10 91565.849 ± 10159.753 us/op BloomFilters.guava 1 avgt 10 38.185 ± 0.243 us/op BloomFilters.guava 100 avgt 10 52.197 ± 1.537 us/op BloomFilters.guava 10000 avgt 10 970.917 ± 53.968 us/op BloomFilters.guava 1000000 avgt 10 93733.614 ± 17069.725 us/op ``` It seems using a 128-bit hash is pretty fast. cc @thomasmueller @reschke -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: oak-dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org