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:
Paul Beckingham 2009-12-27 10:14:45 -05:00
parent 5ef3bcc243
commit 6cfb913e45

View file

@ -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);