diff options
author | Martin Peres <martin.peres@linux.intel.com> | 2015-09-02 17:56:32 +0300 |
---|---|---|
committer | Martin Peres <martin.peres@linux.intel.com> | 2015-09-02 17:56:32 +0300 |
commit | db0cc5ba929ae36a108fa33679e4911ec5d607c8 (patch) | |
tree | 9c395fc8190ba70a9b068f352d6c8bfee3f757ba | |
parent | e971db06df64ea3aff771ebc4ccca68fcb43edb3 (diff) |
utils/ezbench: fix the parsing of notes
-rw-r--r-- | utils/ezbench.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/ezbench.py b/utils/ezbench.py index 77685e8..0f3fdc7 100644 --- a/utils/ezbench.py +++ b/utils/ezbench.py @@ -205,10 +205,13 @@ def genPerformanceReport(log_folder, wantFrametime = False, silentMode = False): # Sort the list of benchmarks benchmarks = sorted(benchmarks, key=lambda bench: bench.full_name) + # Read the notes before going back to the original folder + notes = readNotes() + # Go back to the original folder os.chdir(cwd) - return Report(benchmarks, commits, readNotes()) + return Report(benchmarks, commits, notes) def getPerformanceResultsCommitBenchmark(commit, benchmark, wantFrametime = False): for result in commit.results: |