Peter Makholm > Benchmark-Serialize > Benchmark::Serialize::Library::Data::Serializer

Download:
Benchmark-Serialize-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Source  

NAME ^

Benchmark::Serialize::Library::Data::Serializer - Data::Serializer benchmarks

SYNOPSIS ^

    # Register tests on use time
    use Benchmark::Serializer::Library::Data::Serializer qw(JSON);

    # Register tests on run time
    Benchmark::Serializer::Library::Data::Serializer->register('JSON');

DESCRIPTION ^

This modules adds a set of benchmarks to Benchmark::Serialize for different uses of the Data::Serializer modules. Both native Data::Serializer bridges and the wrapping of existing benchmarks in a generic Data::Serializer bridge is supported.

If the argument to import/register starts with a '+' it is interpreted as a existing benchmark to be wrapped in the generic wrapper. Other wise the argument is interpreted as a normal Data::Serializer bridge.

Note that the generic bridge is a bit slower than a hand crafted bridge would be.

Benchmark tags ^

For each added serializer a new Benchmark tag is created called :DS-<name>, i.e :DS-JSON if used as in the synopsis

SEE ALSO ^

Data::Serializer

AUTHOR ^

Peter Makholm, <peter at makholm.net>

BUGS ^

Please report any bugs or feature requests to bug-benchmark-serialize at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Benchmark-Serialize. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE ^

Copyright 2009-2010 Peter Makholm.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: