revised table access to use key function and writeavgs now generates keys at runtime rather than defining them for one specific set of benchmarks