[Libreoffice-commits] core.git: bin/parse-perfcheck.py

Laurent Godard lgodard.libre at laposte.net
Mon Nov 17 01:46:52 PST 2014


 bin/parse-perfcheck.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ad91cfdcf256f5af159f2f18d3b83f17b91849dc
Author: Laurent Godard <lgodard.libre at laposte.net>
Date:   Fri Nov 14 18:11:08 2014 +0100

    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 at gmail.com>
    Tested-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>

diff --git a/bin/parse-perfcheck.py b/bin/parse-perfcheck.py
index 71f248c..ea10adf 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.")]


More information about the Libreoffice-commits mailing list