aboutsummaryrefslogtreecommitdiffstats
path: root/doc/cargo_profiler.txt
blob: 783914dc53c50b7affc6a6ac81e0ffd1d4f0c5a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
-----------------------------------------------------------------------
[...]