measure time elapsed for website calls