Prima::Stress(3)
β¨ Prima::Stress π
okay so this is Prima::Stress(3) from the User Contributed Perl Documentation section β a lil stress-test module that lives in the Prima family π«Ά
πΈ NAME πΈ
Prima::Stress β it's a stress test module, bestie. that's the whole name, that's the whole vibe π
π¦ DESCRIPTION π¦
okay so listen. this module is made for test purposes, fr fr. its whole job is to check how a program or a module holds up under particular conditions β the kind of conditions you'd 100% overlook while you're designing stuff, no cap π
right now, the stress factors that are actually implemented are:
- the default font size
- the default scrollbar sizes
- the UI-scaling factor
and here's the cute part: those get set to different random values every single time the module is invoked β¨ like, every run is a little surprise. it's giving chaos as a feature π
to use it, you literally just drop in a typical
use Prima::Stress;
and that's it. or, if your program gets invoked by calling perl, you can go the other route and use the
perl -MPrima::Stress program
syntax instead. same energy, different doorway πͺβ¨
heads up: the module does not provide any methods. like, zero. none. it's method-less. however β you absolutely can address individual aspects of the UI defaults, and that's what the API section is about π
π API π
π Font size π
use Prima::Stress q(fs=18);
perl -MPrima::Stress=fs=18 program
this syntax changes the default font size to 18 points. so if you've ever wanted your fonts to just be bigger for absolutely no reason β here's your moment π
π Display resolution π
use Prima::Stress q(dpi=192);
perl -MPrima::Stress=dpi=192 program
this syntax changes the display resolution to 192 pixels per inch. that's a lot of pixels per inch, and that's the point π«Ά
π Scrollbar sizes π
use Prima::Stress q(src=40);
perl -MPrima::Stress=src=40 program
this syntax changes the default width of vertical scrollbars and the default height of horizontal scrollbars to 40 pixels. chunky scrollbars era π
π AUTHOR π
Dmitry Karasik <dmitry@karasik.eu.org>
that's the whole page, bestie β go forth and stress-test responsibly π
this lil writeup came to you courtesy of perl v5.42.3, dated 2026-09-16, and yes it's still serving Prima::Stress(3) energy, periodt πβ
π¦ where this page comes from
- fedora 44: perl-Prima-Test 1.78-1.fc44 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms