Poor mans profiling: allow for specifying a number of times to call url