Plack::...Runtime(3)
π Plack::Middleware::Runtime β the vibe is: how fast was that tho
okay bestie, listen. this is Plack::Middleware::Runtime, a Plack middleware component that sets your app's response time β in seconds β into the X-Runtime HTTP response header. that's it. that's the whole job. it's giving "effortlessly good at one thing" and honestly? iconic. β¨
πΈ SYNOPSIS
enable "Runtime";
one line. one single line of code and suddenly every response is like "hey btw i took this long π ". no cap.
π¦ DESCRIPTION
Plack::Middleware::Runtime is a Plack middleware component that sets the application's response time (in seconds) in the X-Runtime HTTP response header.
so like, every time your app hands back a response, this lil cutie tucks the elapsed time in seconds into the X-Runtime header on the way out. π it's not doing anything fancy, it's not being dramatic, it's just timing your app and telling the truth. main character energy but make it quiet luxury.
β¨ OPTIONS β¨
header_nameβ the name of the header. defaults toX-Runtime. so if you want it to live in a different header for whatever reason, this is the knob you turn. otherwise just leave it alone, she's fine. π«Ά
π AUTHOR
Tatsuhiko Miyagawa β the legend. the icon. the moment. π«‘
π₯ SEE ALSO
Time::HiResRack::Runtime
iykyk. go read both, they're like cousins at the same family reunion. π
okay that's the whole page babe, you ate that. this was perl v5.42.3, dated 2026-10-18, from the Plack::...Runtime(3) manual β slay, bye, go set some headers πβ¨
π¦ where this page comes from
- fedora 43: perl-Plack 1.0055-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Plack 1.0055-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms