Created
February 10, 2022 04:40
-
-
Save suzuki/6008f6582e63fbf8723bf33c3bb73f06 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
❯ go test -bench . ./oviewer -benchmem | |
goos: darwin | |
goarch: amd64 | |
pkg: github.com/noborus/ov/oviewer | |
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz | |
BenchmarkParseString_Normal-16 2498 420860 ns/op 903698 B/op 20 allocs/op | |
BenchmarkParseString_AnsiEscape-16 865 1318269 ns/op 1074041 B/op 1221 allocs/op | |
BenchmarkParseString_ChromaTerm-16 451 2651899 ns/op 4406445 B/op 1470 allocs/op | |
BenchmarkDraw_Normal-16 358 2822820 ns/op 1261143 B/op 4304 allocs/op | |
BenchmarkDraw_AnsiEscape-16 298 3926522 ns/op 1427113 B/op 5582 allocs/op | |
BenchmarkDraw_ChromaTerm-16 199 5992556 ns/op 3783354 B/op 7036 allocs/op | |
PASS | |
ok github.com/noborus/ov/oviewer 8.935s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment