From 6cfb913e45b66c731a32212ae5fd2a21b7cf2852 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 27 Dec 2009 10:14:45 -0500 Subject: [PATCH] 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. --- src/tests/benchmark2.t | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/tests/benchmark2.t b/src/tests/benchmark2.t index 94dc2cfde..353652e8e 100755 --- a/src/tests/benchmark2.t +++ b/src/tests/benchmark2.t @@ -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);