Current time: 09-18-2019, 05:28 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Benckmarks
06-19-2014, 12:38 AM
Post: #1
Benckmarks
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!
Find all posts by this user
Quote this message in a reply
06-19-2014, 04:28 AM
Post: #2
RE: Benckmarks
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-19-2014, 04:40 PM
Post: #3
RE: Benckmarks
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.
Find all posts by this user
Quote this message in a reply
06-19-2014, 10:47 PM
Post: #4
RE: Benckmarks
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)