App::Y...::times(3pm)
๐ NAME ๐
App::Yath::Command::times โ ok bestie, this is the yath subcommand that goes and fetches alllll the timing data out of a test log. You're reading the manual for App::Y...::times(3pm) and honestly? You're gonna slay this. ๐โจ
๐ธ DESCRIPTION ๐ธ
So here's the vibe: this command eats the log from a previous run and then spits out every single piece of timing data, sorted from the shortest test to the longest one. ๐ขโก๏ธ๐
And because you're a main character who has opinions, you can pick your own sort order โ just list the fields you want, in the order you want them, right there after the log file on the command line. The order you type them is the order they get sorted. Iconic, honestly. ๐
๐ฆ USAGE ๐ฆ
$ yath [YATH OPTIONS] times [COMMAND OPTIONS]
โจ YATH OPTIONS โจ
๐ง Developer ๐ง
--dev-lib,--dev-lib=lib,-D,-D=lib,-Dlib,--no-dev-libโ adds paths to@INCbefore ANYTHING gets loaded. This is literally the one you reach for when you're developing yath itself or writing yath plugins โ it makes sure the yath script finds your local code instead of the installed versions of that same code. You can hand it an argument (-Dfoo) to give it a custom path, or you can just raw-dog-Dwith no arg and it'll addlib,blib/libandblib/archfor you. ๐ซถ
Can be specified multiple times
๐ Environment ๐
--persist-dir ARG,--persist-dir=ARG,--no-persist-dirโ where to find persistence files.--persist-file ARG,--persist-file=ARG,--pfile ARG,--pfile=ARG,--no-persist-fileโ where to find the persistence file. The default is/{system-tempdir}/project-yath-persist.json. If no project is specified it falls back to the current directory. And if the current directory isn't writable, it defaults to/tmp/yath-persist.jsonโ which, heads up, limits you to one persistent runner on your whole system. ๐ญ--project ARG,--project=ARG,--project-name ARG,--project-name=ARG,--no-projectโ this lets you slap a label on your current project/codebase. Best used in a.yath.rcfile. And ngl, this one is necessary for a persistent runner. No label, no persistent runner, no cap. ๐
๐ Help and Debugging ๐
--show-opts,--no-show-optsโ exits right after showing you what yath thinks your options mean. Vibe check on your own flags, love that for you. ๐--version,-V,--no-versionโ exits after showing a helpful usage message.
๐ง Plugins ๐ง
--no-scan-plugins,--no-no-scan-pluginsโ normally yath scans for and loads everyApp::Yath::Plugin::*module so it can bring in whatever command-line options those plugins provide. This flag disables that whole thing. It's useful when you've got a naughty plugin that's loading other modules when it absolutely should not be. ๐--plugins PLUGIN,--plugins +App::Yath::Plugin::PLUGIN,--plugins PLUGIN=arg1,arg2,...,--plugin PLUGIN,--plugin +App::Yath::Plugin::PLUGIN,--plugin PLUGIN=arg1,arg2,...,-pPLUGIN,--no-pluginsโ load a yath plugin.
Can be specified multiple times
๐ COMMAND OPTIONS ๐
๐ Cover Options ๐
--cover-aggregator ByTest,--cover-aggregator ByRun,--cover-aggregator +Custom::Aggregator,--cover-agg ByTest,--cover-agg ByRun,--cover-agg +Custom::Aggregator,--no-cover-aggregatorโ choose a custom aggregator subclass.--cover-class ARG,--cover-class=ARG,--no-cover-classโ choose aTest2::Plugin::Coversubclass.--cover-dirs ARG,--cover-dirs=ARG,--cover-dir ARG,--cover-dir=ARG,--no-cover-dirsโ NO DESCRIPTION - FIX ME ๐
Can be specified multiple times
--cover-exclude-private,--no-cover-exclude-private,--cover-files,--no-cover-filesโ useTest2::Plugin::Coverto collect coverage data about what files get touched by what tests. UnlikeDevel::Cover, this has very little performance impact (About 4% difference). Four percent!! That's basically nothing, we love a low-cost queen. ๐ฅ--cover-from path/to/log.jsonl,--cover-from http://example.com/coverage,--cover-from path/to/coverage.jsonl,--no-cover-fromโ this can be a test log, a coverage dump (old style json or new jsonl format), or a url pointing at any of the previous. Tests will not be run if the file/url is invalid. ๐ซ--cover-from-type json,--cover-from-type jsonl,--cover-from-type log,--no-cover-from-typeโ file type for the coverage source. Usually it can be detected, but when it can't you should specify it yourself. Here's the tea:jsonis old style single-blob coverage data,jsonlis the new by-test style, andlogis a logfile from a previous run. ๐๏ธ--cover-manager My::Coverage::Manager,--no-cover-managerโ coverage 'from' manager to use when the coverage data doesn't provide one.--cover-maybe-from path/to/log.jsonl,--cover-maybe-from http://example.com/coverage,--cover-maybe-from path/to/coverage.jsonl,--no-cover-maybe-fromโ this can be a test log, a coverage dump (old style json or new jsonl format), or a url to any of the previous. Tests will coninue if even if the coverage file/url is invalid. (yep, that typo is canon, we keep it fr fr ๐)--cover-maybe-from-type json,--cover-maybe-from-type jsonl,--cover-maybe-from-type log,--no-cover-maybe-from-typeโ same as"from_type"but for"maybe_from". Defaults to"from_type"if that's specified, otherwise auto-detect. โจ--cover-metrics,--no-cover-metrics,--cover-types ARG,--cover-types=ARG,--cover-type ARG,--cover-type=ARG,--no-cover-typesโ NO DESCRIPTION - FIX ME ๐
Can be specified multiple times
--cover-write,--cover-write=coverage.jsonl,--cover-write=coverage.json,--no-cover-writeโ create a json or jsonl file of all coverage data seen during the run (This implies--cover-files). ๐๏ธ
๐ Git Options ๐
--git-change-base master,--git-change-base HEAD^,--git-change-base df22abe4,--no-git-change-baseโ find files changed by all commits in the current branch, starting from the most recent and stopping when it hits a commit that's also present in the history of the branch/commit you specified as the change base. ๐ฟ
๐ Help and Debugging ๐
--dummy,-d,--no-dummyโ dummy run, do not actually execute anything. ๐ซฅ
Can also be set with the following environment variables: "T2_HARNESS_DUMMY"
--help,-h,--no-helpโ exit after showing help information.--interactive,-i,--no-interactiveโ use interactive mode: 1 test at a time, with stdin forwarded to it. ๐ฎ--keep-dirs,--keep_dir,-k,--no-keep-dirsโ do not delete directories when done. This is useful if you want to go poke around the directories used for various commands. ๐ต๏ธโโ๏ธ--procname-prefix ARG,--procname-prefix=ARG,--no-procname-prefixโ add a prefix to all proc names (as seen byps).
๐ YathUI Options ๐
--yathui-api-key ARG,--yathui-api-key=ARG,--no-yathui-api-keyโ Yath-UI API key. This is not necessary if your Yath-UI instance is set to single-user.--yathui-grace,--no-yathui-graceโ if yath cannot connect to yath-ui it normally throws an error. Use this to make it fail gracefully: you get a warning, but things keep going. ๐งโโ๏ธ--yathui-long-duration 10,--no-yathui-long-durationโ minimum duration length (seconds) before a test goes from MEDIUM to LONG.--yathui-medium-duration 5,--no-yathui-medium-durationโ minimum duration length (seconds) before a test goes from SHORT to MEDIUM.--yathui-mode summary,--yathui-mode qvf,--yathui-mode qvfd,--yathui-mode complete,--no-yathui-modeโ set the upload mode (default'qvfd').--yathui-project ARG,--yathui-project=ARG,--no-yathui-projectโ the Yath-UI project for your test results.--yathui-retry,--no-yathui-retryโ how many times to try an operation before giving up. ๐
Can be specified multiple times
--yathui-url http://my-yath-ui.com/...,--uri http://my-yath-ui.com/...,--no-yathui-urlโ Yath-UI url.
๐ฆ SOURCE ๐ฆ
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/. Go clone it bestie, it's free. ๐
๐ซถ MAINTAINERS ๐ซถ
Chad Granum <exodist@cpan.org>
๐๏ธ AUTHORS ๐๏ธ
Chad Granum <exodist@cpan.org>
โ๏ธ COPYRIGHT โ๏ธ
Copyright 2026 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/
๐ and that's a wrap!! this wasperl v5.40.1, dated2026-05-10, manual pageApp::Y...::times(3pm)โ now go forth and sort some timings, you absolute legend ๐
๐ฆ where this page comes from
- ubuntu stonking: libtest2-harness-perl 1.000172-1 ยท Artistic-1.0-Perl OR GPL-1.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms