The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

HTTP::Engine::Middleware::Profile - stopwatch for request processing time

SYNOPSIS

my $mw = HTTP::Engine::Middleware->new;
$mw->install( 'HTTP::Engine::Middleware::Profile' => {
logger => sub {
warn @_;
},
});
HTTP::Engine->new(
interface => {
module => 'YourFavoriteInterfaceHere',
request_handler => $mw->handler( \&handler ),
}
)->run();

DESCRIPTION

This module profile request processing time.

AUTHORS

dann