This is a gist with a set of helpful performance tricks and best practices that I've found on the internet.
I hereby claim:
- I am d4l3k on github.
- I am rice (https://keybase.io/rice) on keybase.
- I have a public key ASBtYOET68iOovA9diYLWSp76eKOQL_Oq8fn6ylzf_gB3Ao
To claim this, I am signing this object:
This file contains 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
$ block_writer | |
1s: 1025.5/sec | |
2s: 1097.1/sec | |
3s: 915.0/sec | |
4s: 940.8/sec | |
5s: 903.9/sec | |
6s: 810.9/sec | |
7s: 987.9/sec | |
8s: 940.5/sec | |
9s: 811.3/sec |
This file contains 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
✘ ~/go/src/github.com/petermattis/roachdemo master ● block_writer | |
1s: 1116.9/sec | |
2s: 1084.2/sec | |
3s: 782.0/sec | |
4s: 764.6/sec | |
5s: 875.8/sec | |
6s: 884.7/sec | |
7s: 882.5/sec | |
8s: 897.9/sec | |
9s: 935.7/sec |
This file contains 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
✘ ~/go/src/github.com/cockroachdb/examples-go/block_writer master ● block_writer | |
2016/06/15 13:27:18 1s: 905.5/sec | |
2016/06/15 13:27:19 2s: 947.2/sec | |
2016/06/15 13:27:20 3s: 742.4/sec | |
2016/06/15 13:27:21 4s: 817.3/sec | |
2016/06/15 13:27:22 5s: 846.7/sec | |
2016/06/15 13:27:23 6s: 667.0/sec | |
2016/06/15 13:27:24 7s: 838.5/sec | |
2016/06/15 13:27:25 8s: 990.2/sec | |
2016/06/15 13:27:26 9s: 974.8/sec |
This file contains 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
2016/06/15 14:23:53 1s: 513.3/sec | |
2016/06/15 14:23:54 2s: 534.1/sec | |
2016/06/15 14:23:55 3s: 501.5/sec | |
2016/06/15 14:23:56 4s: 477.6/sec | |
2016/06/15 14:23:57 5s: 470.2/sec | |
2016/06/15 14:23:58 6s: 503.9/sec | |
2016/06/15 14:23:59 7s: 536.6/sec | |
2016/06/15 14:24:00 8s: 495.6/sec | |
2016/06/15 14:24:01 9s: 447.9/sec | |
2016/06/15 14:24:02 10s: 455.9/sec |
This file contains 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
~/go/src/github.com/petermattis/roachdemo/d4 master ● block_writer | |
2016/06/16 16:14:08 1s: 619.9/sec | |
2016/06/16 16:14:09 2s: 676.3/sec | |
2016/06/16 16:14:10 3s: 630.1/sec | |
2016/06/16 16:14:11 4s: 548.9/sec | |
2016/06/16 16:14:12 5s: 522.7/sec | |
2016/06/16 16:14:13 6s: 584.1/sec | |
2016/06/16 16:14:14 7s: 600.4/sec | |
2016/06/16 16:14:15 8s: 544.6/sec | |
2016/06/16 16:14:16 9s: 616.4/sec |
This file contains 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
~/go/src/github.com/cockroachdb/cockroach figuringoutshit ● block_writer | |
2016/06/20 17:34:02 1s: 0.0/sec | |
2016/06/20 17:34:03 2s: 720.0/sec | |
2016/06/20 17:34:04 3s: 746.6/sec | |
2016/06/20 17:34:05 4s: 716.1/sec | |
2016/06/20 17:34:06 5s: 581.9/sec | |
2016/06/20 17:34:07 6s: 593.0/sec | |
2016/06/20 17:34:08 7s: 659.2/sec | |
2016/06/20 17:34:09 8s: 568.6/sec | |
2016/06/20 17:34:10 9s: 573.2/sec |
This file contains 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
~/go/src/github.com/petermattis/roachdemo/d8 master ● block_writer | |
2016/06/20 17:59:48 1s: 0.0/sec | |
2016/06/20 17:59:49 2s: 727.4/sec | |
2016/06/20 17:59:50 3s: 733.1/sec | |
2016/06/20 17:59:51 4s: 735.5/sec | |
2016/06/20 17:59:52 5s: 596.9/sec | |
2016/06/20 17:59:53 6s: 619.7/sec | |
2016/06/20 17:59:54 7s: 652.9/sec | |
2016/06/20 17:59:55 8s: 598.1/sec | |
2016/06/20 17:59:56 9s: 639.1/sec |
This file contains 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
✘ ~/go/src/github.com/cockroachdb/cockroach figuringoutshit ● block_writer | |
2016/06/20 18:21:11 1s: 0.0/sec | |
2016/06/20 18:21:12 2s: 649.4/sec | |
2016/06/20 18:21:13 3s: 566.4/sec | |
2016/06/20 18:21:14 4s: 535.0/sec | |
2016/06/20 18:21:15 5s: 588.5/sec | |
2016/06/20 18:21:16 6s: 569.8/sec | |
2016/06/20 18:21:17 7s: 597.8/sec | |
2016/06/20 18:21:18 8s: 564.8/sec | |
2016/06/20 18:21:19 9s: 595.6/sec |