package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Oct 25, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
$ go test -bench='^\QBenchmarkToBytes\E$' -benchtime=5s -count=3
goos: darwin
goarch: amd64
pkg: pkg/x/strings
cpu: Intel(R) Core(TM) i3-8100B CPU @ 3.60GHz
BenchmarkToBytes-4 1000000000 0.2804 ns/op
BenchmarkToBytes-4 1000000000 0.2790 ns/op
BenchmarkToBytes-4 1000000000 0.2789 ns/op
PASS
ok pkg/x/strings 1.022s
$ go test -bench='^\QBenchmarkBytes\E$' -benchtime=5s -count=3
goos: darwin
goarch: amd64
pkg: pkg/x/strings
cpu: Intel(R) Core(TM) i3-8100B CPU @ 3.60GHz
BenchmarkBytes-4 1000000000 5.075 ns/op
BenchmarkBytes-4 1000000000 5.057 ns/op
BenchmarkBytes-4 1000000000 5.056 ns/op
PASS
ok pkg/x/strings 16.902s
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.