diff contrib/perf.py @ 27526:11f2e496bdc9

perf: close transaction in perffncachewrite This fixes a bug, and brings CPython behaviour on this test into line with PyPy.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 27 Dec 2015 23:55:54 +0900
parents 14b0930105da
children 6446e9b37c8b
line wrap: on
line diff
--- a/contrib/perf.py	Sun Dec 27 23:55:54 2015 +0900
+++ b/contrib/perf.py	Sun Dec 27 23:55:54 2015 +0900
@@ -441,6 +441,7 @@
         s.fncache.write(tr)
     timer(d)
     lock.release()
+    tr.close()
     fm.end()
 
 @command('perffncacheencode', formatteropts)