1 неделю назад
История
README.md
➜ projects/book-read-benchmark git:(master) make test
go test -bench=.
goos: linux
goarch: amd64
pkg: gitflic.ru/vlad-belogrudov/book-read-benchmark
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkSearchByPointer32-8 1000000000 0.8539 ns/op
BenchmarkSearchByValue32-8 1000000000 0.9953 ns/op
BenchmarkSearchByPointer64-8 1000000000 0.9243 ns/op
BenchmarkSearchByValue64-8 755861821 1.472 ns/op
BenchmarkSearchByPointer100-8 700194936 1.592 ns/op
BenchmarkSearchByValue100-8 335521248 3.646 ns/op
BenchmarkSearchByPointer128-8 1000000000 0.8541 ns/op
BenchmarkSearchByValue128-8 376713601 3.279 ns/op
BenchmarkSearchByPointer256-8 1000000000 0.8990 ns/op
BenchmarkSearchByValue256-8 220018296 5.657 ns/op
BenchmarkSearchByPointer512-8 1000000000 0.9223 ns/op
BenchmarkSearchByValue512-8 100000000 10.39 ns/op
PASS
ok gitflic.ru/vlad-belogrudov/book-read-benchmark 14.679s
Описание
Конвейеры
0 успешных
0 с ошибкой