Bryce Harrington > Test-Parser-1.5 > Test::Parser::Dbench

Download:
Test-Parser-1.5.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 1.4   Source   Latest Release: Test-Parser-1.9

NAME ^

Test::Parser::Dbench - Perl module to parse output from Dbench

SYNOPSIS ^

    use Test::Parser::Dbench;
    my $parser = new Test::Parser::Dbench;
    $parser->parse($text)
    printf("     Clients: ", $parser->summary('clients'));
    printf("  Throughput: ", $parser->summary('throughput')); 

Additional information is available from the subroutines listed below and from the Test::Parser baseclass.

DESCRIPTION ^

This module provides a way to parse and neatly display information gained from the Dbench test.

FUNCTIONS ^

Also see Test::Parser for functions available from the base class.

new()

Creates a new Test::Parser::Dbench instance. Also calls the Test::Parser base class' new() routine. Takes no arguments

data()

Returns a hash representation of the Dbench data.

Override of Test::Parser's default parse_line() routine to make it able to parse Dbench logs.

AUTHOR ^

Joshua Jakabosky <jjakabosky@os...>

COPYRIGHT ^

Copyright (C) 2006 Joshua Jakabosky &amp; Open Source Development Labs, Inc. All Rights Reserved.

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Test::Parser

syntax highlighting: