cockroachdb / swiss

Go port of Google's Swiss Table hash table
Apache License 2.0
317 stars 12 forks source link

swiss: report performance counters in benchmarks #23

Closed aclements closed 8 months ago

aclements commented 8 months ago

This adds a dependency on github.com/aclements/go-perfevent

cockroach-teamcity commented 8 months ago

This change is Reviewable

aclements commented 8 months ago

Do you know differently?

Unfortunately, that's generally true. Hardware performance counters are quite difficult to virtualize safely. I believe AWS does support hardware PMUs on some instance types, but I haven't tried it: https://www.intel.com/content/www/us/en/developer/articles/technical/intel-vtune-amplifier-functionality-on-aws-instances.html

petermattis commented 8 months ago

Thanks for the contribution.