mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 05:25:39 +01:00
...
This commit is contained in:
parent
b9f1084b54
commit
bb16a23be8
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@ def test_for_mem_leak():
|
|||
scanner.scan()
|
||||
for i in xrange(3): gc.collect()
|
||||
usedmem = memory(startmem)
|
||||
prints('Memory used in %d repetitions of scan(): %.10f KB'%(reps,
|
||||
prints('Memory used in %d repetitions of scan(): %.5f KB'%(reps,
|
||||
1024*usedmem))
|
||||
prints('Differences in python object counts:')
|
||||
diff_hists(h1, gc_histogram())
|
||||
|
|
|
|||
Loading…
Reference in a new issue