add some benchmarking functions for sanity