pjfanning commented on PR #371:
URL: https://github.com/apache/incubator-pekko/pull/371#issuecomment-1592076317
> So I just rebased the PR with @Claudenw 's latest algorithm and one thing
we can say, according to benchmarks its pretty damn fast
>
> ```
> [info] Benchmark Mode Cnt Score
Error Units
> [info] IdGeneratorBanchmark.measureEnhancedDoubleHash thrpt 3 ≈ 10⁻⁴
ops/ns
> [info] IdGeneratorBanchmark.measureSecureRandom thrpt 3 0,001
± 0,001 ops/ns
> [info] IdGeneratorBanchmark.measureThreadLocalRandom thrpt 3 2,286
± 0,453 ops/ns
> ```
Isn't 10e-4 a small number meaning poor performance?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]