pkolaczk / latte

Latency Tester for Apache Cassandra
Apache License 2.0
176 stars 19 forks source link

Unshare Unit and Context #13

Closed pkolaczk closed 2 years ago

pkolaczk commented 2 years ago

By not sharing Rune stuff we waste a bit of memory, but we allow each task to run independently. Rune uses Arc heavily, and they become a bottleneck on multicore computers.

Running empty benchmark on 24 cores: before: 1,403,487 calls per second after: 30,981,323 calls per second

Fixes #9