Use nanotime for profiling and use more iterations

This doesn't make the benchmarks all accurate or anything
but maybe makes them a little less likely to be way off.