diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-06 21:35:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-06 21:35:40 +0000 |
commit | 36dc5c73444ed0bf0aa49456f9ebf93cd85aa9ba (patch) | |
tree | 2085252a03faa9c4315742b0e6c63947fe9f5c78 | |
parent | 5f0a8c738494e682a7c2544310757ab5852dae31 (diff) | |
download | external_llvm-36dc5c73444ed0bf0aa49456f9ebf93cd85aa9ba.zip external_llvm-36dc5c73444ed0bf0aa49456f9ebf93cd85aa9ba.tar.gz external_llvm-36dc5c73444ed0bf0aa49456f9ebf93cd85aa9ba.tar.bz2 |
Adjust to printing user+system times instead of wall times. Run the olden
numbers in 'stable' mode so that the numbers are more stable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17525 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/NightlyTest.pl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index 03c8554..7682193 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -698,9 +698,10 @@ if ($BuildError eq "") { # Clean out previous results... system "$NICE gmake $MAKEOPTS clean > /dev/null 2>&1"; - # Run the nightly test in this directory, with LARGE_PROBLEM_SIZE enabled! + # Run the nightly test in this directory, with LARGE_PROBLEM_SIZE and + # GET_STABLE_NUMBERS enabled! system "gmake -k $MAKEOPTS $PROGTESTOPTS report.nightly.raw.out TEST=nightly " . - " LARGE_PROBLEM_SIZE=1 > /dev/null 2>&1"; + " LARGE_PROBLEM_SIZE=1 GET_STABLE_NUMBERS=1 > /dev/null 2>&1"; system "cp report.nightly.raw.out $OldenTestsLog"; } else { system "gunzip ${OldenTestsLog}.gz"; @@ -715,10 +716,10 @@ if ($BuildError eq "") { # totals file. my $WallTimeRE = "[A-Za-z0-9.: ]+\\(([0-9.]+) wall clock"; foreach $Rec (@Records) { - my $rNATTime = GetRegex 'TEST-RESULT-nat-time: real\s*([.0-9m]+)', $Rec; - my $rCBETime = GetRegex 'TEST-RESULT-cbe-time: real\s*([.0-9m]+)', $Rec; - my $rLLCTime = GetRegex 'TEST-RESULT-llc-time: real\s*([.0-9m]+)', $Rec; - my $rJITTime = GetRegex 'TEST-RESULT-jit-time: real\s*([.0-9m]+)', $Rec; + my $rNATTime = GetRegex 'TEST-RESULT-nat-time: program\s*([.0-9m]+)', $Rec; + my $rCBETime = GetRegex 'TEST-RESULT-cbe-time: program\s*([.0-9m]+)', $Rec; + my $rLLCTime = GetRegex 'TEST-RESULT-llc-time: program\s*([.0-9m]+)', $Rec; + my $rJITTime = GetRegex 'TEST-RESULT-jit-time: program\s*([.0-9m]+)', $Rec; my $rOptTime = GetRegex "TEST-RESULT-compile: $WallTimeRE", $Rec; my $rBytecodeSize = GetRegex 'TEST-RESULT-compile: *([0-9]+)', $Rec; my $rMachCodeSize = GetRegex 'TEST-RESULT-jit-machcode: *([0-9]+).*bytes of machine code', $Rec; |