HTTP-Response-Parser
view release on metacpan or search on metacpan
lib/HTTP/Response/Parser.pm view on Meta::CPAN
=item $HTTP::Response::Parser::HEADER_CLASS
The class of $res->{_headers}. (Default is 'HTTP::Headers')
=head1 BENCHMARK
Compare with HTTP::Response->parse.
parse small_header
Benchmark: timing 20000 iterations of parse, xs...
parse: 11 wallclock secs ( 5.05 usr + 0.01 sys = 5.06 CPU) @ 3952.57/s (n=20000)
xs: 2 wallclock secs ( 0.63 usr + 0.00 sys = 0.63 CPU) @ 31746.03/s (n=20000)
parse large_header
Benchmark: timing 20000 iterations of parse, xs...
parse: 26 wallclock secs (15.33 usr + 0.10 sys = 15.43 CPU) @ 1296.18/s (n=20000)
xs: 2 wallclock secs ( 1.22 usr + 0.00 sys = 1.22 CPU) @ 16393.44/s (n=20000)
=head1 EXPORTS
Nothing by default. You can import "parse", "parse_http_response", and ":all".
=head1 AUTHOR
( run in 1.190 second using v1.01-cache-2.11-cpan-71847e10f99 )