You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hash Small Trees
--- Synchronous hashing ---
Average time to hash: 6755.819us
--- Asynchronous hashing ---
Average time to hash: 4516.075us
Speedup from multithreading: 1.495949247964217
Hash Large Trees
--- Synchronous hashing ---
Average time to hash: 129295.04us
--- Asynchronous hashing ---
Average time to hash: 79465.64us
Speedup from multithreading: 1.6270559200177586
Hash Huge Trees
--- Synchronous hashing ---
Average time to hash: 1636951.9us
--- Asynchronous hashing ---
Average time to hash: 1012607.2us
Speedup from multithreading: 1.6165714602858838
Hash Small Trees
--- Synchronous hashing ---
Average time to hash: 8906.284us
--- Asynchronous hashing ---
Average time to hash: 13589.714us
Speedup from multithreading: 0.6553694948988624
Hash Large Trees
--- Synchronous hashing ---
Average time to hash: 180144.99us
--- Asynchronous hashing ---
Average time to hash: 192195.66us
Speedup from multithreading: 0.93729998897998
Hash Huge Trees
--- Synchronous hashing ---
Average time to hash: 2334200.6us
--- Asynchronous hashing ---
Average time to hash: 2264936.1us
Speedup from multithreading: 1.0305812159557173
The parallel hashing algorithm actually causes performance degradation on a system with more cores.
Steps to reproduce
Run com.swirlds.common.test.merkle.MerkleHashBenchmarks as above on systems with a different number of cores.
Additional context
No response
Hedera network
other
Version
v0.40.0-SNAPSHOT
Operating system
Linux
The text was updated successfully, but these errors were encountered:
Description
Running
MerkleHashBenchmarks
withon Mac OS, M1 Max, 10 cores:
and on Linux, [email protected], 40 cores:
The parallel hashing algorithm actually causes performance degradation on a system with more cores.
Steps to reproduce
Run
com.swirlds.common.test.merkle.MerkleHashBenchmarks
as above on systems with a different number of cores.Additional context
No response
Hedera network
other
Version
v0.40.0-SNAPSHOT
Operating system
Linux
The text was updated successfully, but these errors were encountered: