[commit: ghc] wip/perf-testsuite: Added initial metric comparison tooling (2826c2f)
git at git.haskell.org
git at git.haskell.org
Fri Jul 28 20:33:30 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/perf-testsuite
Link : http://ghc.haskell.org/trac/ghc/changeset/2826c2fe578c09f7a6f41d23358108cb13aeeba7/ghc
>---------------------------------------------------------------
commit 2826c2fe578c09f7a6f41d23358108cb13aeeba7
Author: Jared Weakly <jweakly at pdx.edu>
Date: Thu Jul 20 17:30:21 2017 -0700
Added initial metric comparison tooling
>---------------------------------------------------------------
2826c2fe578c09f7a6f41d23358108cb13aeeba7
testsuite/driver/runtests.py | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index edeb226..0fce4be 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -338,14 +338,11 @@ else:
summary(t, sys.stdout, config.no_print_summary)
- # This here is loading up all of the git notes into memory.
- # It's most likely in the wrong spot and I haven't fully fleshed out
- # where exactly I'm putting this and how I'm refactoring the performance
- # test running logic.
- # Currently this is useful for debugging, at least.
+ # Write our accumulated metrics into the git notes for this commit.
if config.use_git_notes:
note = subprocess.check_output(["git","notes","--ref=perf","append","-m", "\n".join(config.accumulate_metrics)])
- parse_git_notes('perf') # Should this be hardcoded? Most likely not...
+ # v-- This is in a nonsensical area. It should be happening before all of the tests are even run.
+ # parse_git_notes('perf') # Should it even be happening in the test-driver logic anymore?
# This here is loading up all of the git notes into memory.
# It's most likely in the wrong spot and I haven't fully fleshed out
More information about the ghc-commits
mailing list