Skip to content

Instantly share code, notes, and snippets.

@brson
Created September 13, 2012 21:12
Show Gist options
  • Select an option

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

Select an option

Save brson/3717685 to your computer and use it in GitHub Desktop.
# before
inux-gnu
Count is 100000000
Test took 1.71655 seconds
Throughput=582565.195637 per sec
[ perf record: Woken up 7 times to write data ]
[ perf record: Captured and wrote 2.072 MB perf.data (~90531 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ ^C
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ RUST_MIN_STACK=1000000 RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage2-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.75437 seconds
Throughput=570006.137724 per sec
[ perf record: Woken up 7 times to write data ]
[ perf record: Captured and wrote 2.059 MB perf.data (~89942 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ RUST_MIN_STACK=1000000 RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage2-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.67614 seconds
Throughput=596609.519052 per sec
[ perf record: Woken up 5 times to write data ]
[ perf record: Captured and wrote 2.033 MB perf.data (~88838 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ RUST_MIN_STACK=1000000 RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage2-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.38638 seconds
Throughput=721303.379980 per sec
[ perf record: Woken up 7 times to write data ]
[ perf record: Captured and wrote 2.078 MB perf.data (~90788 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ RUST_MIN_STACK=1000000 RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage2-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.74066 seconds
Throughput=574495.316393 per sec
[ perf record: Woken up 7 times to write data ]
[ perf record: Captured and wrote 2.142 MB perf.data (~93589 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust2/build$ RUST_MIN_STACK=1000000 RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage2-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.52062 seconds
Throughput=657627.667759 per sec
[ perf record: Woken up 7 times to write data ]
[ perf record: Captured and wrote 2.040 MB perf.data (~89120 samples) ]
# after
[ perf record: Woken up 6 times to write data ]
[ perf record: Captured and wrote 2.039 MB perf.data (~89091 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ ^C
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ RUST_MIN_STACK=1000000 RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage2-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.6114 seconds
Throughput=620595.981343 per sec
[ perf record: Woken up 5 times to write data ]
[ perf record: Captured and wrote 1.967 MB perf.data (~85918 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ ^C
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ RUST_MIN_STACK=1000000 RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage2-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.5643 seconds
Throughput=639263.81315 per sec
[ perf record: Woken up 3 times to write data ]
[ perf record: Captured and wrote 1.984 MB perf.data (~86662 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ RUST_MIN_STACK=1000000 RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage2-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.5327 seconds
Throughput=652454.563819 per sec
[ perf record: Woken up 5 times to write data ]
[ perf record: Captured and wrote 1.904 MB perf.data (~83196 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ RUST_MIN_STACK=1000000 RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage2-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.6062 seconds
Throughput=622588.377074 per sec
[ perf record: Woken up 7 times to write data ]
[ perf record: Captured and wrote 2.056 MB perf.data (~89806 samples) ]
banderson@banderson-ThinkPad-W520:~/Dev/rust3/build$ RUST_MIN_STACK=1000000 RUST_BENCH=1 perf record x86_64-unknown-linux-gnu/test/bench/msgsend-pipes.stage2-x86_64-unknown-linux-gnu
Count is 100000000
Test took 1.4488 seconds
Throughput=690249.356677 per sec
[ perf record: Woken up 5 times to write data ]
[ perf record: Captured and wrote 1.937 MB perf.data (~84632 samples) ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment