1App::Yath::Command::timUesse(r3)Contributed Perl DocumenAtpapt:i:oYnath::Command::times(3)
2
3
4
6 App::Yath::Command::times - Get times from a test log
7
9 This command will consume the log of a previous run, and output all
10 timing data from shortest test to longest. You can specify a sort order
11 by listing fields in your desired order after the log file on the
12 command line.
13
15 $ yath [YATH OPTIONS] times [COMMAND OPTIONS]
16
17 YATH OPTIONS
18 Developer
19
20 --dev-lib
21 --dev-lib=lib
22 -D
23 -D=lib
24 -Dlib
25 --no-dev-lib
26 Add paths to @INC before loading ANYTHING. This is what you use if
27 you are developing yath or yath plugins to make sure the yath
28 script finds the local code instead of the installed versions of
29 the same code. You can provide an argument (-Dfoo) to provide a
30 custom path, or you can just use -D without and arg to add lib,
31 blib/lib and blib/arch.
32
33 Can be specified multiple times
34
35 Environment
36
37 --persist-dir ARG
38 --persist-dir=ARG
39 --no-persist-dir
40 Where to find persistence files.
41
42 --persist-file ARG
43 --persist-file=ARG
44 --pfile ARG
45 --pfile=ARG
46 --no-persist-file
47 Where to find the persistence file. The default is
48 /{system-tempdir}/project-yath-persist.json. If no project is
49 specified then it will fall back to the current directory. If the
50 current directory is not writable it will default to
51 /tmp/yath-persist.json which limits you to one persistent runner on
52 your system.
53
54 --project ARG
55 --project=ARG
56 --project-name ARG
57 --project-name=ARG
58 --no-project
59 This lets you provide a label for your current project/codebase.
60 This is best used in a .yath.rc file. This is necessary for a
61 persistent runner.
62
63 Help and Debugging
64
65 --show-opts
66 --no-show-opts
67 Exit after showing what yath thinks your options mean
68
69 --version
70 -V
71 --no-version
72 Exit after showing a helpful usage message
73
74 Plugins
75
76 --no-scan-plugins
77 --no-no-scan-plugins
78 Normally yath scans for and loads all App::Yath::Plugin::* modules
79 in order to bring in command-line options they may provide. This
80 flag will disable that. This is useful if you have a naughty plugin
81 that it loading other modules when it should not.
82
83 --plugins PLUGIN
84 --plugins +App::Yath::Plugin::PLUGIN
85 --plugins PLUGIN=arg1,arg2,...
86 --plugin PLUGIN
87 --plugin +App::Yath::Plugin::PLUGIN
88 --plugin PLUGIN=arg1,arg2,...
89 -pPLUGIN
90 --no-plugins
91 Load a yath plugin.
92
93 Can be specified multiple times
94
95 COMMAND OPTIONS
96 Git Options
97
98 --git-change-base master
99 --git-change-base HEAD^
100 --git-change-base df22abe4
101 --no-git-change-base
102 Find files changed by all commits in the current branch from most
103 recent stopping when a commit is found that is also present in the
104 history of the branch/commit specified as the change base.
105
106 Help and Debugging
107
108 --dummy
109 -d
110 --no-dummy
111 Dummy run, do not actually execute anything
112
113 Can also be set with the following environment variables:
114 "T2_HARNESS_DUMMY"
115
116 --help
117 -h
118 --no-help
119 exit after showing help information
120
121 --keep-dirs
122 --keep_dir
123 -k
124 --no-keep-dirs
125 Do not delete directories when done. This is useful if you want to
126 inspect the directories used for various commands.
127
128 YathUI Options
129
130 --yathui-api-key ARG
131 --yathui-api-key=ARG
132 --no-yathui-api-key
133 Yath-UI API key. This is not necessary if your Yath-UI instance is
134 set to single-user
135
136 --yathui-db
137 --no-yathui-db
138 Add the YathUI DB renderer in addition to other renderers
139
140 --yathui-grace
141 --no-yathui-grace
142 If yath cannot connect to yath-ui it normally throws an error, use
143 this to make it fail gracefully. You get a warning, but things keep
144 going.
145
146 --yathui-long-duration 10
147 --no-yathui-long-duration
148 Minimum duration length (seconds) before a test goes from MEDIUM to
149 LONG
150
151 --yathui-medium-duration 5
152 --no-yathui-medium-duration
153 Minimum duration length (seconds) before a test goes from SHORT to
154 MEDIUM
155
156 --yathui-mode summary
157 --yathui-mode qvf
158 --yathui-mode qvfd
159 --yathui-mode complete
160 --no-yathui-mode
161 Set the upload mode (default 'qvfd')
162
163 --yathui-only
164 --no-yathui-only
165 Only use the YathUI renderer
166
167 --yathui-only-db
168 --no-yathui-only-db
169 Only use the YathUI DB renderer
170
171 --yathui-port 8080
172 --no-yathui-port
173 Port to use when running a local server
174
175 --yathui-port-command get_port.sh
176 --yathui-port-command get_port.sh --pid $$
177 --no-yathui-port-command
178 Use a command to get a port number. "$$" will be replaced with the
179 PID of the yath process
180
181 --yathui-project ARG
182 --yathui-project=ARG
183 --no-yathui-project
184 The Yath-UI project for your test results
185
186 --yathui-render
187 --no-yathui-render
188 Add the YathUI renderer in addition to other renderers
189
190 --yathui-retry
191 --no-yathui-retry
192 How many times to try an operation before giving up
193
194 Can be specified multiple times
195
196 --yathui-schema PostgreSQL
197 --yathui-schema MySQL
198 --yathui-schema MySQL56
199 --no-yathui-schema
200 What type of DB/schema to use when using a temporary database
201
202 --yathui-url http://my-yath-ui.com/...
203 --uri http://my-yath-ui.com/...
204 --no-yathui-url
205 Yath-UI url
206
207 --yathui-user ARG
208 --yathui-user=ARG
209 --no-yathui-user
210 Username to attach to the data sent to the db
211
212 --yathui-db-buffering none
213 --yathui-db-buffering job
214 --yathui-db-buffering diag
215 --yathui-db-buffering run
216 --no-yathui-db-buffering
217 Type of buffering to use, if "none" then events are written to the
218 db one at a time, which is SLOW
219
220 --yathui-db-config ARG
221 --yathui-db-config=ARG
222 --no-yathui-db-config
223 Module that implements 'MODULE->yath_ui_config(%params)' which
224 should return a Test2::Harness::UI::Config instance.
225
226 --yathui-db-driver Pg
227 --yathui-db-drivermysql
228 --yathui-db-driverMariaDB
229 --no-yathui-db-driver
230 DBI Driver to use
231
232 --yathui-db-dsn ARG
233 --yathui-db-dsn=ARG
234 --no-yathui-db-dsn
235 DSN to use when connecting to the db
236
237 --yathui-db-flush-interval 2
238 --yathui-db-flush-interval 1.5
239 --no-yathui-db-flush-interval
240 When buffering DB writes, force a flush when an event is recieved
241 at least N seconds after the last flush.
242
243 --yathui-db-host ARG
244 --yathui-db-host=ARG
245 --no-yathui-db-host
246 hostname to use when connecting to the db
247
248 --yathui-db-name ARG
249 --yathui-db-name=ARG
250 --no-yathui-db-name
251 Name of the database to use for yathui
252
253 --yathui-db-pass ARG
254 --yathui-db-pass=ARG
255 --no-yathui-db-pass
256 Password to use when connecting to the db
257
258 --yathui-db-port ARG
259 --yathui-db-port=ARG
260 --no-yathui-db-port
261 port to use when connecting to the db
262
263 --yathui-db-socket ARG
264 --yathui-db-socket=ARG
265 --no-yathui-db-socket
266 socket to use when connecting to the db
267
268 --yathui-db-user ARG
269 --yathui-db-user=ARG
270 --no-yathui-db-user
271 Username to use when connecting to the db
272
274 The source code repository for Test2-Harness can be found at
275 http://github.com/Test-More/Test2-Harness/.
276
278 Chad Granum <exodist@cpan.org>
279
281 Chad Granum <exodist@cpan.org>
282
284 Copyright 2021 Chad Granum <exodist7@gmail.com>.
285
286 This program is free software; you can redistribute it and/or modify it
287 under the same terms as Perl itself.
288
289 See http://dev.perl.org/licenses/
290
291
292
293perl v5.32.1 2021-03-12 App::Yath::Command::times(3)