have a look at the "timeit" module aswell
GregM wrote:
> Hi,
> I'm hoping that someone can point me in the right direction with this.
> What I would like to do is calculate the average time it takes to load
> a page. I've been searching the net and reading lots but I haven't
> found anything that
Thanks Skip. As usual I want to make it harder then it actually is.
--
http://mail.python.org/mailman/listinfo/python-list
greg> 1. Is there a better time function to use?
For this particular scenario I think time.time() is probably what you want:
cumulative = 0.0
n = 0
for link in links:
t = time.time()
ie.Navigate(link)
cumulative += time.time() - t
n += 1
print
Hi,
I'm hoping that someone can point me in the right direction with this.
What I would like to do is calculate the average time it takes to load
a page. I've been searching the net and reading lots but I haven't
found anything that helps too much. I'm testing our web site and hiting
+6000 urls per