summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLaurent Godard <lgodard.libre@laposte.net>2014-11-14 18:11:08 +0100
committerLaurent Godard <lgodard.libre@laposte.net>2014-11-17 09:46:21 +0000
commitad91cfdcf256f5af159f2f18d3b83f17b91849dc (patch)
treea3a23312c495dad2b241d82068eaf190e8b1cbaa /bin
parenta5a307a6147c1dee5cf1ceda3ae823abc48f6366 (diff)
parse-perfcheck : add filename to csv results
one can find callgrind output file more easilly Change-Id: Ic5019d5259a63ab23ed44d39baaeb7432690382e Reviewed-on: https://gerrit.libreoffice.org/12450 Reviewed-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Tested-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/parse-perfcheck.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/parse-perfcheck.py b/bin/parse-perfcheck.py
index 71f248c85e9c..ea10adffb927 100755
--- a/bin/parse-perfcheck.py
+++ b/bin/parse-perfcheck.py
@@ -47,14 +47,14 @@ def parseFile(dirname, filename, lastCommit):
colsResult[lastCommitId]['values'][curTestComment] = total
- return [lastCommitId, lastCommitDate, testName, curTestComment, total]
+ return [lastCommitId, lastCommitDate, testName, curTestComment, total, filename]
def processDirectory(rootDir, needsCsvHeader, lastCommit):
results = []
if needsCsvHeader:
- results.append(["lastCommit", "lastCommitDate", "test filename", "dump comment", "count"])
+ results.append(["lastCommit", "lastCommitDate", "test filename", "dump comment", "count", "filename"])
for dirName, subdirList, fileList in os.walk(rootDir):
files = [f for f in fileList if f.startswith("callgrind.out.")]