diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-06-02 21:44:52 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-06-02 21:44:52 -0400 |
commit | c98d8a044308e3cde1de4945dbb7f5ee62ab52a5 (patch) | |
tree | ca71b80cfb148ff7eb042bb756503cdc4de45292 /doc/cargo_profiler.txt | |
parent | 3f4a94ec505517a30f8660cdde83f057af11e6b2 (diff) | |
download | ucp-c98d8a044308e3cde1de4945dbb7f5ee62ab52a5.tar.gz ucp-c98d8a044308e3cde1de4945dbb7f5ee62ab52a5.zip |
doc: commit random notes I had sitting around
Diffstat (limited to 'doc/cargo_profiler.txt')
-rw-r--r-- | doc/cargo_profiler.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/cargo_profiler.txt b/doc/cargo_profiler.txt new file mode 100644 index 0000000..783914d --- /dev/null +++ b/doc/cargo_profiler.txt @@ -0,0 +1,13 @@ +bnewbold@eschaton$ cargo profiler callgrind --bin target/debug/ucp -- /tmp/dummy localhost:dummy --no-crypto + +Profiling ucp with callgrind... + +Total Instructions...10,403,177,656 + +2,204,020,815 (21.2%) socket.rs:socket::UtpSocket::recv +----------------------------------------------------------------------- +2,159,914,683 (20.8%) socket.rs:socket::UtpSocket::send_packet +----------------------------------------------------------------------- +936,415,826 (9.0%) ???:__GI_memset +----------------------------------------------------------------------- +[...] |