[pypy-svn] pypy default: Remove log.count

fijal commits-noreply at bitbucket.org
Wed Jan 12 08:41:11 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r40618:05aa9ad7f8fc
Date: 2011-01-12 09:38 +0200
http://bitbucket.org/pypy/pypy/changeset/05aa9ad7f8fc/

Log:	Remove log.count

diff --git a/pypy/jit/tool/showstats.py b/pypy/jit/tool/showstats.py
--- a/pypy/jit/tool/showstats.py
+++ b/pypy/jit/tool/showstats.py
@@ -10,7 +10,6 @@
 
 def main(argv):
     log = logparser.parse_log_file(argv[0])
-    log_count_lines = open(argv[0] + '.count').readlines()
     parts = logparser.extract_category(log, "jit-log-opt-")
     for i, oplist in enumerate(parts):
         loop = parse(oplist, no_namespace=True, nonstrict=True)
@@ -28,7 +27,6 @@
             print "Loop #%d, length: %d, opcodes: %d, guards: %d" % (i, num_ops, num_dmp, num_guards)
         else:
             print "Loop #%d, length: %d, opcodes: %d, guards: %d, %f" % (i, num_ops, num_dmp, num_guards, num_ops/num_dmp)
-        print loop.comment, "run", log_count_lines[i].split(":")[1].strip(), "times"
         
 if __name__ == '__main__':
     main(sys.argv[1:])


More information about the Pypy-commit mailing list