WebPagetest Forums

Full Version: Benckmarks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, i'm trying to enable the benchmarks feature, but I'm missing something because it's not working. ┬┐it's possible to see a real one <benchmark>.php example? I have my benchmarks.txt. the php file must be named as the url that I try to get the benchmarks?.

Thanks!
There are examples in the trun on github: https://github.com/WPO-Foundation/webpag...rks/sample

That said, that code is still very much in development so don't be surprised if it doesn't do what you are looking for.
Thanks! Don't worry I think that it will be a great feature!. It's possible to launch the benchmark on demand? besides the schedule inside the php file configuration?
(06-19-2014 04:28 AM)pmeenan Wrote: [ -> ]There are examples in the trun on github: https://github.com/WPO-Foundation/webpag...rks/sample

That said, that code is still very much in development so don't be surprised if it doesn't do what you are looking for.
Not really but it shouldn't be too hard to add.

benchmarks/cron.php?benchmark=<id> is the cron job that checks to see if it needs to be run and kicks it off if it does. Adding support for start=1 or something like that to bypass the schedule check and just start running shouldn't be more than 2-3 lines of code.
Reference URL's