Devel::...er::Test(3)
π Devel::Profiler::Test β the manual page, bestie edition π
okay so you're reading the User Contributed Perl Documentation for Devel::Profiler::Test(3) and honestly? you've come to the right place. pull up a chair, we're doing this together. π«Ά
β¨ NAME β¨
Devel::Profiler::Test β it's a test support library for Devel::Profiler. that's the whole job description. that's it. that's the girl. π
πΈ SYNOPSIS πΈ
so here's the vibe, copy this exactly bestie, no notes:
# plan a test for each call to Devel::Profiler::Test
use Test::More tests => 2;
use Devel::Profiler::Test qw(profile_code check_tree);
profile_code(<<END)
... some code to profile ...
END
check_tree(<<END)
... a tree in the format produced by dprofpp -T ...
END
like, you plan out your tests, you pull in profile_code and check_tree, you profile some code, then you check the tree. slay. β¨
π¦ DESCRIPTION π¦
so this is a test support library for Devel::Profiler. it's probably only useful inside Devel::Profiler's test scriptsβ¦
but honestly? you never know. π maybe you'll use it for something iconic. we don't gatekeep. π
π COPYRIGHT AND LICENCE π
Copyright (C) 2002 Sam Tregar
this program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself. periodt. π
π AUTHOR π
Sam Tregar <sam@tregar.com>
give her her flowers. πΈ
π SEE ALSO π
Devel::Profiler
that's the mothership. go read it. iykyk. π§
ok that's the whole page bestie, you ate that π no cap, every option, every path, every little detail is right where it belongs.
perl v5.42.0 Β· 2025-07-25 Β· mwah π go write some tests, you main character. β
π¦ where this page comes from
- fedora 43: perl-Devel-Profiler 0.04-52.fc43 Β· 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