Benchmark.Responders.HTMLish HTMLish responders suite for Benchmark

Version

use the source, young padawan!

Synopsis


new Benchmark(
  { // functions to be benchmarked ...
  },
  { // options ...
    responders: 'HTMLish',
    title:      'my funky benchmark',
    // ... more options ...
  }
);

Examples

Run any Benchmarker example, using HTMLish responders suite. Output will look like the following:

array.length = 5
name rate worst avg best duration iterations
t_each 7087/s 0.170ms 0.141ms 0.130ms 0.508s 3600
t_for 140400/s 0.010ms 0.007ms 0.000ms 0.500s 70200
array.length = 10
name rate worst avg best duration iterations
t_each 3891/s 0.260ms 0.257ms 0.250ms 0.514s 2000
t_for 117200/s 0.020ms 0.009ms 0.000ms 0.500s 58600
array.length = 20
name rate worst avg best duration iterations
t_each 2060/s 0.510ms 0.485ms 0.480ms 0.534s 1100
t_for 87400/s 0.020ms 0.011ms 0.010ms 0.500s 43700

These results were scraped from the "loops" benchmark.

Description

This one deserves some flamboyant description, doesn't it?!

Options

No option is compulsory, sensible defaults are already in place. The currently used options are:

title {String} ['results']
results table's caption

Dependencies

Bugs and Limitations

No bugs have been reported.

See Also

Authors

Marius Feraru, <altblue@n0i.net>.

License and Copyright

© 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.

Disclaimer of Warranty

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.