label | common value |
---|---|
by | junyer@google.com |
goarch | amd64 |
goos | linux |
pkg | regexp |
upload | 20181127.3 |
upload-file | old.txt |
upload-part | 20181127.3/0 |
upload-time | 2018-11-27T12:01:17Z |
label | values |
time/op | |
---|---|
Find | 347ns ± 2% |
FindAllNoMatches | 176ns ± 6% |
FindString | 337ns ±10% |
FindSubmatch | 410ns ± 3% |
FindStringSubmatch | 425ns ± 6% |
Literal | 118ns ±17% |
NotLiteral | 1.96µs ± 8% |
MatchClass | 2.79µs ±12% |
MatchClass_InRange | 2.56µs ±13% |
ReplaceAll | 1.81µs ± 8% |
AnchoredLiteralShortNonMatch | 103ns ± 8% |
AnchoredLiteralLongNonMatch | 113ns ± 7% |
AnchoredShortMatch | 159ns ± 7% |
AnchoredLongMatch | 308ns ± 1% |
OnePassShortA | 708ns ± 2% |
NotOnePassShortA | 686ns ±11% |
OnePassShortB | 559ns ±12% |
NotOnePassShortB | 505ns ±10% |
OnePassLongPrefix | 129ns ±11% |
OnePassLongNotPrefix | 453ns ±12% |
MatchParallelShared | 268ns ± 1% |
MatchParallelCopied | 282ns ±10% |
QuoteMetaAll | 116ns ± 1% |
QuoteMetaNone | 61.6ns ± 1% |
Match/Easy0/32 | 81.1ns ± 1% |
Match/Easy0/1K | 383ns ± 9% |
Match/Easy0/32K | 6.17µs ±13% |
Match/Easy0/1M | 307µs ±12% |
Match/Easy0/32M | 10.2ms ± 4% |
Match/Easy0i/32 | 1.29µs ± 7% |
Match/Easy0i/1K | 40.0µs ± 9% |
Match/Easy0i/32K | 1.48ms ± 1% |
Match/Easy0i/1M | 50.5ms ±15% |
Match/Easy0i/32M | 1.64s ±10% |
Match/Easy1/32 | 78.0ns ± 7% |
Match/Easy1/1K | 1.05µs ±12% |
Match/Easy1/32K | 47.7µs ±13% |
Match/Easy1/1M | 1.45ms ± 3% |
Match/Easy1/32M | 46.5ms ± 3% |
Match/Medium/32 | 1.17µs ± 2% |
Match/Medium/1K | 36.3µs ±10% |
Match/Medium/32K | 1.45ms ± 9% |
Match/Medium/1M | 45.1ms ± 1% |
Match/Medium/32M | 1.46s ± 1% |
Match/Hard/32 | 1.83µs ± 8% |
Match/Hard/1K | 58.3µs ±10% |
Match/Hard/32K | 2.24ms ±12% |
Match/Hard/1M | 71.6ms ± 7% |
Match/Hard/32M | 2.27s ± 7% |
Match/Hard1/32 | 9.69µs ± 1% |
Match/Hard1/1K | 305µs ±12% |
Match/Hard1/32K | 10.4ms ± 5% |
Match/Hard1/1M | 333ms ± 5% |
Match/Hard1/32M | 10.5s ± 3% |
Match_onepass_regex/32 | 952ns ±13% |
Match_onepass_regex/1K | 24.6µs ± 5% |
Match_onepass_regex/32K | 765µs ± 2% |
Match_onepass_regex/1M | 24.9ms ± 1% |
Match_onepass_regex/32M | 801ms ± 1% |
CompileOnepass | 6.62µs ± 8% |
[Geo mean] | 28.2µs |
alloc/op | |
Find | 0.00B |
FindAllNoMatches | 0.00B |
FindString | 0.00B |
FindSubmatch | 48.0B ± 0% |
FindStringSubmatch | 32.0B ± 0% |
Literal | |
NotLiteral | |
MatchClass | |
MatchClass_InRange | |
ReplaceAll | |
AnchoredLiteralShortNonMatch | |
AnchoredLiteralLongNonMatch | |
AnchoredShortMatch | |
AnchoredLongMatch | |
OnePassShortA | |
NotOnePassShortA | |
OnePassShortB | |
NotOnePassShortB | |
OnePassLongPrefix | |
OnePassLongNotPrefix | |
MatchParallelShared | |
MatchParallelCopied | |
QuoteMetaAll | |
QuoteMetaNone | |
Match/Easy0/32 | |
Match/Easy0/1K | |
Match/Easy0/32K | |
Match/Easy0/1M | |
Match/Easy0/32M | |
Match/Easy0i/32 | |
Match/Easy0i/1K | |
Match/Easy0i/32K | |
Match/Easy0i/1M | |
Match/Easy0i/32M | |
Match/Easy1/32 | |
Match/Easy1/1K | |
Match/Easy1/32K | |
Match/Easy1/1M | |
Match/Easy1/32M | |
Match/Medium/32 | |
Match/Medium/1K | |
Match/Medium/32K | |
Match/Medium/1M | |
Match/Medium/32M | |
Match/Hard/32 | |
Match/Hard/1K | |
Match/Hard/32K | |
Match/Hard/1M | |
Match/Hard/32M | |
Match/Hard1/32 | |
Match/Hard1/1K | |
Match/Hard1/32K | |
Match/Hard1/1M | |
Match/Hard1/32M | |
Match_onepass_regex/32 | 0.00B |
Match_onepass_regex/1K | 0.00B |
Match_onepass_regex/32K | 0.00B |
Match_onepass_regex/1M | 4.00B ± 0% |
Match_onepass_regex/32M | 116B ± 0% |
CompileOnepass | 4.02kB ± 0% |
[Geo mean] | 77.9B |
allocs/op | |
Find | 0.00 |
FindAllNoMatches | 0.00 |
FindString | 0.00 |
FindSubmatch | 1.00 ± 0% |
FindStringSubmatch | 1.00 ± 0% |
Literal | |
NotLiteral | |
MatchClass | |
MatchClass_InRange | |
ReplaceAll | |
AnchoredLiteralShortNonMatch | |
AnchoredLiteralLongNonMatch | |
AnchoredShortMatch | |
AnchoredLongMatch | |
OnePassShortA | |
NotOnePassShortA | |
OnePassShortB | |
NotOnePassShortB | |
OnePassLongPrefix | |
OnePassLongNotPrefix | |
MatchParallelShared | |
MatchParallelCopied | |
QuoteMetaAll | |
QuoteMetaNone | |
Match/Easy0/32 | |
Match/Easy0/1K | |
Match/Easy0/32K | |
Match/Easy0/1M | |
Match/Easy0/32M | |
Match/Easy0i/32 | |
Match/Easy0i/1K | |
Match/Easy0i/32K | |
Match/Easy0i/1M | |
Match/Easy0i/32M | |
Match/Easy1/32 | |
Match/Easy1/1K | |
Match/Easy1/32K | |
Match/Easy1/1M | |
Match/Easy1/32M | |
Match/Medium/32 | |
Match/Medium/1K | |
Match/Medium/32K | |
Match/Medium/1M | |
Match/Medium/32M | |
Match/Hard/32 | |
Match/Hard/1K | |
Match/Hard/32K | |
Match/Hard/1M | |
Match/Hard/32M | |
Match/Hard1/32 | |
Match/Hard1/1K | |
Match/Hard1/32K | |
Match/Hard1/1M | |
Match/Hard1/32M | |
Match_onepass_regex/32 | 0.00 |
Match_onepass_regex/1K | 0.00 |
Match_onepass_regex/32K | 0.00 |
Match_onepass_regex/1M | 0.00 |
Match_onepass_regex/32M | 1.00 ± 0% |
CompileOnepass | 52.0 ± 0% |
[Geo mean] | 2.69 |
speed | |
Find | |
FindAllNoMatches | |
FindString | |
FindSubmatch | |
FindStringSubmatch | |
Literal | |
NotLiteral | |
MatchClass | |
MatchClass_InRange | |
ReplaceAll | |
AnchoredLiteralShortNonMatch | |
AnchoredLiteralLongNonMatch | |
AnchoredShortMatch | |
AnchoredLongMatch | |
OnePassShortA | |
NotOnePassShortA | |
OnePassShortB | |
NotOnePassShortB | |
OnePassLongPrefix | |
OnePassLongNotPrefix | |
MatchParallelShared | |
MatchParallelCopied | |
QuoteMetaAll | 120MB/s ± 2% |
QuoteMetaNone | 422MB/s ± 1% |
Match/Easy0/32 | 395MB/s ± 1% |
Match/Easy0/1K | 2.68GB/s ± 9% |
Match/Easy0/32K | 5.34GB/s ±12% |
Match/Easy0/1M | 3.43GB/s ±11% |
Match/Easy0/32M | 3.30GB/s ± 4% |
Match/Easy0i/32 | 24.8MB/s ± 7% |
Match/Easy0i/1K | 25.7MB/s ± 9% |
Match/Easy0i/32K | 22.1MB/s ± 1% |
Match/Easy0i/1M | 20.9MB/s ±14% |
Match/Easy0i/32M | 20.6MB/s ± 9% |
Match/Easy1/32 | 411MB/s ± 7% |
Match/Easy1/1K | 983MB/s ±11% |
Match/Easy1/32K | 693MB/s ±12% |
Match/Easy1/1M | 722MB/s ± 3% |
Match/Easy1/32M | 721MB/s ± 2% |
Match/Medium/32 | 27.4MB/s ± 2% |
Match/Medium/1K | 28.3MB/s ± 9% |
Match/Medium/32K | 22.6MB/s ± 9% |
Match/Medium/1M | 23.2MB/s ± 1% |
Match/Medium/32M | 23.0MB/s ± 1% |
Match/Hard/32 | 17.5MB/s ± 8% |
Match/Hard/1K | 17.6MB/s ±11% |
Match/Hard/32K | 14.7MB/s ±11% |
Match/Hard/1M | 14.7MB/s ± 7% |
Match/Hard/32M | 14.8MB/s ± 7% |
Match/Hard1/32 | 3.30MB/s ± 1% |
Match/Hard1/1K | 3.36MB/s ±11% |
Match/Hard1/32K | 3.14MB/s ± 5% |
Match/Hard1/1M | 3.15MB/s ± 5% |
Match/Hard1/32M | 3.19MB/s ± 3% |
Match_onepass_regex/32 | 33.8MB/s ±12% |
Match_onepass_regex/1K | 41.7MB/s ± 5% |
Match_onepass_regex/32K | 42.8MB/s ± 2% |
Match_onepass_regex/1M | 42.0MB/s ± 1% |
Match_onepass_regex/32M | 41.9MB/s ± 1% |
CompileOnepass | |
[Geo mean] | 60.8MB/s |