more diagnostics for profiling, closes #8

Namely started tracking the number of times pk is called, and the number
of times the hash key function is called. Did a linear regression on
those two to explain time, the hash key coefficient is ~3x the pk one.