Last active
February 26, 2016 15:58
-
-
Save hackaugusto/34d697209cb83a075507 to your computer and use it in GitHub Desktop.
profiling results from GreenletProfiler, filtered for the serialization code (rlp, encoding, msgpack)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Completed 1000 transfers at 72.9175900588 tps | |
| ncalls tottime percall % cumtime percall function | |
| 16000 0.018 0.000 0.17 0.151 0.000 <genexpr> | |
| 19999 0.055 0.000 0.51 0.159 0.000 BigEndianInt.deserialize | |
| 71000 0.088 0.000 0.82 0.129 0.000 is_integer | |
| 43994 0.172 0.000 1.61 0.302 0.000 packl | |
| 2000 0.005 0.000 0.05 0.018 0.000 encode_hex | |
| 19999 0.024 0.000 0.22 0.245 0.000 deserialize | |
| 4999 0.012 0.000 0.12 0.422 0.000 decode | |
| 2000 0.013 0.000 0.12 0.067 0.000 deserialize | |
| 18000 0.017 0.000 0.16 1.201 0.000 MediatedTransfer.sender | |
| 9999 0.083 0.000 0.78 0.519 0.000 deserialize | |
| 4000 0.009 0.000 0.09 0.040 0.000 is_sequence | |
| 17000/23000 0.164 0.000 1.53 1.619 0.000 _pack_array | |
| 4000 0.017 0.000 0.16 0.043 0.000 Binary.serialize | |
| 44997 0.117 0.000 1.09 0.392 0.000 _unpack_binary | |
| 7000 0.031 0.000 0.29 1.926 0.000 MediatedTransfer._recover_sender | |
| 17000/122000 0.615 0.000 5.74 1.793 0.000 _pack2 | |
| 47000 0.055 0.000 0.51 0.535 0.000 serialize | |
| 4000 0.050 0.000 0.46 0.235 0.000 List.serialize | |
| 4000 0.041 0.000 0.38 0.165 0.000 List.__init__ | |
| 9999 0.054 0.000 0.50 2.845 0.000 Decoder.decode | |
| 9999/11999 0.075 0.000 0.70 0.694 0.000 _unpack_array | |
| 7000 0.029 0.000 0.27 1.473 0.000 MediatedTransfer.encode | |
| 4000/16000 0.057 0.000 0.53 0.262 0.000 infer_sedes | |
| 28000 0.039 0.000 0.36 0.076 0.000 is_sedes | |
| 8000 0.011 0.000 0.11 0.017 0.000 length_prefix | |
| 16000 0.026 0.000 0.24 0.037 0.000 is_valid_type | |
| 4000 0.009 0.000 0.08 0.014 0.000 Binary.is_valid_length | |
| 9999/56996 0.111 0.000 1.03 0.756 0.000 _unpack | |
| 9999 0.013 0.000 0.13 0.817 0.000 decode_msg | |
| 76998 0.036 0.000 0.33 0.036 0.000 serialize | |
| 55000 0.114 0.000 1.06 0.514 0.000 BigEndianInt.serialize | |
| 5000 0.018 0.000 0.17 0.428 0.000 Ack.encode | |
| 17000 0.048 0.000 0.45 1.852 0.000 _packb2 | |
| 4000 0.020 0.000 0.19 0.784 0.000 encode | |
| 71999 0.147 0.000 1.37 0.271 0.000 hex_encode | |
| 19999 0.047 0.000 0.44 0.086 0.000 big_endian_to_int | |
| 17000/23000 0.191 0.000 1.78 0.804 0.000 MediatedTransfer.serialize | |
| 99000 0.318 0.000 2.97 0.537 0.000 _pack_binary | |
| 23000 0.033 0.000 0.30 0.050 0.000 MediatedTransfer.__repr__ | |
| 17000 0.025 0.000 0.24 1.877 0.000 encode_msg | |
| 4000/16000 0.070 0.000 0.66 0.264 0.000 encode_raw | |
| 9999 0.042 0.000 0.39 0.803 0.000 _unpackb2 | |
| 5000 0.022 0.000 0.21 2.316 0.000 decode | |
| 146990 0.258 0.000 2.41 0.419 0.000 _read_except | |
| 5000 0.035 0.000 0.33 1.649 0.000 MediatedTransfer.sign | |
| Total time: 10.712830034 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ncalls tottime percall cumtime percall filename:lineno(function) | |
| 17634/17999 0.158 0.000 13.171 0.001 greenlet.py:513(TransferTask.run) | |
| 9999 0.031 0.000 6.503 0.001 baseserver.py:151(_close_when_done) | |
| 9999 0.020 0.000 6.466 0.001 transport.py:21(UDPTransport.receive) | |
| 9999 0.081 0.000 6.447 0.001 raiden_protocol.py:66(RaidenProtocol.receive) | |
| 2000 0.067 0.000 5.440 0.003 tasks.py:97(TransferTask._run) | |
| 53020 0.112 0.000 3.305 0.000 utils.py:109(sha3) | |
| 53020 0.203 0.000 3.145 0.000 utils.py:3(<lambda>) | |
| 9999 0.056 0.000 2.839 0.000 encoding.py:197(Decoder.decode) | |
| 5000 0.072 0.000 2.773 0.001 raiden_service.py:67(RaidenService.on_message) | |
| 5000 0.022 0.000 2.312 0.000 encoding.py:151(decode) | |
| 4000 0.016 0.000 2.166 0.001 channel.py:230(Channel.register_transfer) | |
| 7000 0.030 0.000 1.934 0.000 encoding.py:174(MediatedTransfer._recover_sender) | |
| 17000 0.026 0.000 1.890 0.000 encoding.py:52(encode_msg) | |
| 53020 0.311 0.000 1.889 0.000 keccak.py:164(new) | |
| 17000 0.048 0.000 1.864 0.000 umsgpack.py:434(_packb2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment