Skip to content

Instantly share code, notes, and snippets.

@brson
Created September 14, 2012 21:02
Show Gist options
  • Select an option

  • Save brson/3724800 to your computer and use it in GitHub Desktop.

Select an option

Save brson/3724800 to your computer and use it in GitHub Desktop.
More Rust trans refactor regression numbers
# adc1427282b4da8f963550e87cdbe512157958b4
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage1-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.50227 seconds
Throughput=665658.192290 per sec
[ perf record: Woken up 5 times to write data ]
[ perf record: Captured and wrote 2.041 MB perf.data (~89181 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage1-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.7431 seconds
Throughput=573692.189680 per sec
[ perf record: Woken up 7 times to write data ]
[ perf record: Captured and wrote 2.082 MB perf.data (~90967 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage1-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.65822 seconds
Throughput=603055.669205 per sec
[ perf record: Woken up 6 times to write data ]
[ perf record: Captured and wrote 2.075 MB perf.data (~90657 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage1-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.68263 seconds
Throughput=594308.996067 per sec
[ perf record: Woken up 3 times to write data ]
[ perf record: Captured and wrote 2.080 MB perf.data (~90885 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage1-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.53886 seconds
Throughput=649833.367518 per sec
[ perf record: Woken up 5 times to write data ]
[ perf record: Captured and wrote 1.976 MB perf.data (~86338 samples) ]
18.89% msgsend-pipes.s [dm_crypt] [k] 0xffffffff8103804a
6.87% msgsend-pipes.s msgsend-pipes.stage1-x86_64-unknown-linux-gnu [.] pipes::__extensions__::send_3622::_c4ae2bbe46ebaa::_00
6.21% msgsend-pipes.s libcore-c3ca5d77d81b46c1-0.4.so [.] pipes::PacketHeader::meth_8311::unblock::_9d8aa08e6795376::_04
5.77% msgsend-pipes.s msgsend-pipes.stage1-x86_64-unknown-linux-gnu [.] server::_223aca2280bcecfd::_00
3.40% msgsend-pipes.s libc-2.13.so [.] _int_malloc
3.21% msgsend-pipes.s librustrt.so [.] shape_cmp_type
3.11% msgsend-pipes.s libc-2.13.so [.] __malloc
2.42% msgsend-pipes.s librustrt.so [.] upcall_cmp_type
2.29% msgsend-pipes.s librustrt.so [.] memory_region::add_alloc()
1.80% msgsend-pipes.s libc-2.13.so [.] cfree
1.79% msgsend-pipes.s libcore-c3ca5d77d81b46c1-0.4.so [.] pipes::atomic_add_acq::_6c3ce3f546aa19b::_04
1.73% msgsend-pipes.s librustrt.so [.] upcall_exchange_free
1.61% msgsend-pipes.s librustrt.so [.] upcall_exchange_malloc
1.48% msgsend-pipes.s libc-2.13.so [.] __memset_sse2
1.33% msgsend-pipes.s msgsend-pipes.stage1-x86_64-unknown-linux-gnu [.] glue_drop_2557
1.25% msgsend-pipes.s libc-2.13.so [.] _int_free
1.20% msgsend-pipes.s librustrt.so [.] upcall_call_shim_on_c_stack
1.16% msgsend-pipes.s librustrt.so [.] shape::data<shape::cmp, shape::ptr_pair>::walk_tag1(shape::tag_info&)
1.11% msgsend-pipes.s libcore-c3ca5d77d81b46c1-0.4.so [.] pipes::PacketHeader::meth_8308::mark_blocked::_b44f2d5a5a715c0::_04
1.11% msgsend-pipes.s msgsend-pipes.stage1-x86_64-unknown-linux-gnu [.] __morestack
1.06% msgsend-pipes.s librustrt.so [.] rust_task_deref
1.04% msgsend-pipes.s librustrt.so [.] memory_region::dec_alloc()
1.03% msgsend-pipes.s librustrt.so [.] upcall_del_stack
1.02% msgsend-pipes.s librustrt.so [.] shape::ctxt<shape::data<shape::cmp, shape::ptr_pair> >::walk()
# 5e36a997945ddc3964a1fe937bc5390cc5b526c8
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage1-x86_64-unknown-linux-gnu
Count is 100000000
Test took 2.56887 seconds
Throughput=389276.59014 per sec
[ perf record: Woken up 6 times to write data ]
[ perf record: Captured and wrote 2.106 MB perf.data (~92014 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage1-x86_64-unknown-linux-gnu
Count is 100000000
Test took 2.53376 seconds
Throughput=394670.505417 per sec
[ perf record: Woken up 3 times to write data ]
[ perf record: Captured and wrote 1.957 MB perf.data (~85511 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage1-x86_64-unknown-linux-gnu
Count is 100000000
Test took 2.72153 seconds
Throughput=367440.345800 per sec
[ perf record: Woken up 3 times to write data ]
[ perf record: Captured and wrote 1.987 MB perf.data (~86793 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage1-x86_64-unknown-linux-gnu
Count is 100000000
Test took 2.49269 seconds
Throughput=401173.113143 per sec
[ perf record: Woken up 4 times to write data ]
[ perf record: Captured and wrote 2.055 MB perf.data (~89803 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage1-x86_64-unknown-linux-gnu
Count is 100000000
Test took 2.77143 seconds
Throughput=360825.114939 per sec
[ perf record: Woken up 6 times to write data ]
[ perf record: Captured and wrote 2.103 MB perf.data (~91872 samples) ]
13.25% msgsend-pipes.s librustrt.so [.] upcall_new_stack
11.09% msgsend-pipes.s [dm_crypt] [k] 0xffffffff8103804a
6.37% msgsend-pipes.s msgsend-pipes.stage1-x86_64-unknown-linux-gnu [.] __morestack
6.30% msgsend-pipes.s librustrt.so [.] upcall_del_stack
4.52% msgsend-pipes.s msgsend-pipes.stage1-x86_64-unknown-linux-gnu [.] pipes::__extensions__::send_3642::_c4ae2bbe46ebaa::_00
3.61% msgsend-pipes.s librustrt.so [.] reuse_valgrind_stack(stk_seg*, unsigned char*)
3.55% msgsend-pipes.s libcore-c3ca5d77d81b46c1-0.4.so [.] pipes::PacketHeader::meth_8311::unblock::_9d8aa08e6795376::_04
2.65% msgsend-pipes.s msgsend-pipes.stage1-x86_64-unknown-linux-gnu [.] server::_e72d2cf3cfc0f3fd::_00
2.42% msgsend-pipes.s libc-2.13.so [.] memcpy
2.29% msgsend-pipes.s libcore-c3ca5d77d81b46c1-0.4.so [.] __morestack
1.91% msgsend-pipes.s libc-2.13.so [.] _int_malloc
1.86% msgsend-pipes.s msgsend-pipes.stage1-x86_64-unknown-linux-gnu [.] glue_drop_2557
1.69% msgsend-pipes.s libcore-c3ca5d77d81b46c1-0.4.so [.] pipes::PacketHeader::meth_8308::mark_blocked::_9ccaaaad58f6641::_04
1.62% msgsend-pipes.s libc-2.13.so [.] __malloc
1.57% msgsend-pipes.s librustrt.so [.] upcall_exchange_malloc
1.55% msgsend-pipes.s librustrt.so [.] upcall_cmp_type
1.35% msgsend-pipes.s librustrt.so [.] check_stack_canary(stk_seg*)
1.22% msgsend-pipes.s libc-2.13.so [.] cfree
1.19% msgsend-pipes.s librustrt.so [.] memory_region::add_alloc()
1.19% msgsend-pipes.s librustrt.so [.] upcall_exchange_free
1.18% msgsend-pipes.s libc-2.13.so [.] _int_free
1.08% msgsend-pipes.s librustrt.so [.] record_sp_limit
1.03% msgsend-pipes.s msgsend-pipes.stage1-x86_64-unknown-linux-gnu [.] glue_drop_2659
1.02% msgsend-pipes.s msgsend-pipes.stage1-x86_64-unknown-linux-gnu [.] pipes::__extensions__::header_2925::_68b06991e0c83e60::_00
1.00% msgsend-pipes.s librustrt.so [.] get_sp_limit
0.95% msgsend-pipes.s librustrt.so [.] shape_cmp_type
0.89% msgsend-pipes.s librustrt.so [.] upcall_call_shim_on_c_stack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment