new Benchmark(
{ // functions to be benchmarked ...
},
{ // options ...
responders: 'Firebug',
// ... more options ...
}
);
Run any Benchmarker example, using Firebug responders suite. Output (*in Firebug console*) will look like the following:
Running benchmark: [Benchmark.Responders.Firebug v0.1.0/r1.1] iterations=-0.5 nATime=1000 cooldown=50 runCaps=3000 ack: 0.5 seconds at 276000.000/s (avg: 0.004, worst: 0.004, best: 0.003) nak: 0.501 seconds at 273453.094/s (avg: 0.004, worst: 0.004, best: 0.003) benchmark completed. full results: [Object name=ack duration=500 iterations=138000 best=0.003, Object name=nak duration=501 iterations=137000 best=0.003]
This is basic Benchmark responders suite, which writes summary events to Firebug console.
No bugs have been reported.
© 2006-2007 Marius Feraru <altblue@n0i.net>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Because this software is licensed free of charge, there is no warranty for the software, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the software "as is" without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the software is with you. should the software prove defective, you assume the cost of all necessary servicing, repair, or correction.
In no event unless required by applicable law or agreed to in writing will any copyright holder, or any other party who may modify and/or redistribute the software as permitted by the above license, be liable to you for damages, including any general, special, incidental, or consequential damages arising out of the use or inability to use the software (including but not limited to loss of data or data being rendered inaccurate or losses sustained by you or third parties or a failure of the software to operate with any other software), even if such holder or other party has been advised of the possibility of such damages.