mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests - benchmark2.t
- Gathers timing for runs of the list report for 1, 10, 100 and 1000 tasks. This will create a history of data in the tinderbox runs for later analysis.
This commit is contained in:
parent
5ef3bcc243
commit
6cfb913e45
1 changed files with 7 additions and 2 deletions
|
@ -48,8 +48,13 @@ my $description = 'This is a medium-sized description with no special characters
|
|||
|
||||
my $output;
|
||||
|
||||
# Add 10 tasks.
|
||||
add (10);
|
||||
# Add 1 task.
|
||||
add (1);
|
||||
$output = qx{../task rc:bench2.rc list};
|
||||
report ('run-1', $output);
|
||||
|
||||
# Add 9 more tasks.
|
||||
add (9);
|
||||
$output = qx{../task rc:bench2.rc list};
|
||||
report ('run-10', $output);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue