diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-12-08 17:34:26 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-12-08 17:34:26 -0400 |
commit | 4f370c060018b59c061063d630ce84e26b2bc28a (patch) | |
tree | cbd07dce3cb17b7097ea38ef6e15f6c392078ed9 | |
parent | 27e4d02ec8ddd79f482c7e647a481a043006d606 (diff) |
profiling
-rw-r--r-- | doc/todo/tor.mdwn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/todo/tor.mdwn b/doc/todo/tor.mdwn index ca3e8f19a..3a6de57a5 100644 --- a/doc/todo/tor.mdwn +++ b/doc/todo/tor.mdwn @@ -11,6 +11,18 @@ Current todo list: That could just be buffering.) (copy --from peer does not leak on either end; the remotedaemon uses 34 mb and the receiver 44 mb.) + + Profiling results: Leak is in hGetMetered, or perhaps in + the consumer of the data it reads. Graph shows `ARR_WORDS` is + the type; that must be a bytestring. + +<pre> individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + tryNonAsync Utility.Exception 3241 0 0.0 0.1 49.3 65.8 + receiveExactly P2P.IO 3429 0 0.0 0.0 49.3 65.7 + hGetMetered Utility.Metered 3430 0 49.1 65.6 49.3 65.7 +</pre> + * When a transfer can't be done because another transfer of the same object is already in progress, the message about this is output by the remotedaemon --debug, but not forwarded to the peer, which shows |