in reply to Re: How to benchmark with WWW::Mechanize::Firefox?
in thread How to benchmark with WWW::Mechanize::Firefox?

> Definitely what lanx said, load a page, that loads js , that creates iframes/ or frames to load stuff, and times it through js

No frames!!!

Basically use something like

$load = $mech->repl->declare(<<'__JS'); function () { // start benchmark window.content.location.href = "http://www.perlmonks.org"; // wait till ready (can be tricky) // stop benchmark // return diff } __JS

and $load->() should load the page.

Cheers Rolf