Created
November 12, 2014 06:11
-
-
Save freeformz/6abebab2dee565d7e4b6 to your computer and use it in GitHub Desktop.
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
{22:09}[2.1.3]~/go/src/github.com/heroku/log-shuttle:go-metrics ✗ ➭ godep go test ./... -bench=. -benchmem | |
? github.com/heroku/log-shuttle [no test files] | |
log-shuttle: 2014/11/11 22:09:29 at=post retry=true msgcount=1 inbox.length=0 request_id="4cd4505f-e5c1-4530-4823-e9795b8bc1ba" attempts=1 error="Post https://token:[email protected]:52762: EOF" errtype="*errors.errorString" | |
PASS | |
BenchmarkBatcher 50 28265753 ns/op 24225291 B/op 101642 allocs/op | |
BenchmarkLogplexLineFormatter 1000000 1705 ns/op 817 B/op 6 allocs/op | |
BenchmarkLogplexLineFormatter_WithHeaders 1000000 1768 ns/op 817 B/op 6 allocs/op | |
BenchmarkLogplexBatchFormatter 50000 70428 ns/op 25402 B/op 209 allocs/op | |
BenchmarkLogplexBatchFormatter_WithHeaders 20000 78171 ns/op 41756 B/op 210 allocs/op | |
BenchmarkReaderWithFrontBuffEqual0 10 169082868 ns/op 296.31 MB/s 51216806 B/op 100255 allocs/op | |
BenchmarkReaderWithFrontBuffEqual1 10 183910425 ns/op 272.42 MB/s 51216806 B/op 100255 allocs/op | |
BenchmarkReaderWithFrontBuffEqual100 10 149145237 ns/op 335.92 MB/s 51216259 B/op 100244 allocs/op | |
BenchmarkReaderWithFrontBuffEqual1000 10 151744193 ns/op 330.16 MB/s 51212822 B/op 100172 allocs/op | |
BenchmarkReaderWithFrontBuffEqual10000 10 151367115 ns/op 330.99 MB/s 51206913 B/op 100049 allocs/op | |
BenchmarkReaderWithDefaultFrontBuff 10 146835863 ns/op 341.20 MB/s 51212822 B/op 100172 allocs/op | |
BenchmarkPipeline 50000 30750 ns/op 15.93 MB/s 10608 B/op 53 allocs/op | |
ok github.com/heroku/log-shuttle/shuttle 25.578s | |
{22:09}[2.1.3]~/go/src/github.com/heroku/log-shuttle:go-metrics ✗ ➭ git stash | |
Saved working directory and index state WIP on go-metrics: 665ec05 move these around and comment | |
HEAD is now at 665ec05 move these around and comment | |
{22:09}[2.1.3]~/go/src/github.com/heroku/log-shuttle:go-metrics ✗ ➭ godep go test ./... -bench=. -benchmem | |
? github.com/heroku/log-shuttle [no test files] | |
log-shuttle: 2014/11/11 22:10:01 at=post retry=true msgcount=1 inbox.length=0 request_id="97d3e0ea-84ab-4f3b-63b2-5803fc59f4df" attempts=1 error="Post https://token:[email protected]:52810: EOF" errtype="*errors.errorString" | |
PASS | |
BenchmarkBatcher 100 27864553 ns/op 24222468 B/op 101625 allocs/op | |
BenchmarkLogplexLineFormatter 1000000 1666 ns/op 818 B/op 6 allocs/op | |
BenchmarkLogplexLineFormatter_WithHeaders 1000000 1764 ns/op 819 B/op 6 allocs/op | |
BenchmarkLogplexBatchFormatter 50000 69122 ns/op 25427 B/op 209 allocs/op | |
BenchmarkLogplexBatchFormatter_WithHeaders 20000 76728 ns/op 41762 B/op 210 allocs/op | |
BenchmarkReaderWithFrontBuffEqual0 20 86116806 ns/op 581.77 MB/s 51204739 B/op 100004 allocs/op | |
BenchmarkReaderWithFrontBuffEqual1 20 104915715 ns/op 477.53 MB/s 51204739 B/op 100004 allocs/op | |
BenchmarkReaderWithFrontBuffEqual100 20 70641870 ns/op 709.22 MB/s 51204734 B/op 100004 allocs/op | |
BenchmarkReaderWithFrontBuffEqual1000 20 69777384 ns/op 718.00 MB/s 51204763 B/op 100004 allocs/op | |
BenchmarkReaderWithFrontBuffEqual10000 20 66935205 ns/op 748.49 MB/s 51204816 B/op 100006 allocs/op | |
BenchmarkReaderWithDefaultFrontBuff 20 68800925 ns/op 728.20 MB/s 51204763 B/op 100004 allocs/op | |
BenchmarkPipeline 100000 25692 ns/op 19.07 MB/s 10809 B/op 62 allocs/op | |
ok github.com/heroku/log-shuttle/shuttle 27.650s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment