Created
February 10, 2022 04:58
-
-
Save suzuki/0410f7d066e03fb46767ea91cb098476 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 2625 401734 ns/op 903699 B/op 20 allocs/op | |
BenchmarkParseString_AnsiEscape-16 1004 1210944 ns/op 1074032 B/op 1221 allocs/op | |
BenchmarkParseString_ChromaTerm-16 482 2405494 ns/op 4406411 B/op 1470 allocs/op | |
BenchmarkDraw_Normal-16 1731 697015 ns/op 728202 B/op 2442 allocs/op | |
BenchmarkDraw_AnsiEscape-16 787 1283360 ns/op 824947 B/op 3187 allocs/op | |
BenchmarkDraw_ChromaTerm-16 1202 992678 ns/op 873142 B/op 1896 allocs/op | |
PASS | |
ok github.com/noborus/ov/oviewer 7.874s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment