label | common value | ||||
---|---|---|---|---|---|
by | junyer@google.com | ||||
goarch | amd64 | ||||
goos | linux | ||||
pkg | regexp | ||||
upload | 20181127.2 | ||||
upload-time | 2018-11-27T11:15:56Z | ||||
label | values | ||||
upload-file |
upload-part:20181127.2/0:
upload-part:20181127.2/1:
|
||||
upload-part |
upload-part:20181127.2/0:
upload-part:20181127.2/1:
|
upload-part:20181127.2/0 | upload-part:20181127.2/1 | |||
---|---|---|---|---|
time/op | delta | |||
Find | 347ns ± 2% | 323ns ± 5% | −6.80% | (p=0.016 n=5+5) |
FindAllNoMatches | 176ns ± 6% | 177ns ± 7% | ~ | (p=0.794 n=5+5) |
FindString | 337ns ±10% | 305ns ± 2% | ~ | (p=0.079 n=5+5) |
FindSubmatch | 410ns ± 3% | 444ns ±17% | ~ | (p=0.151 n=5+5) |
FindStringSubmatch | 425ns ± 6% | 444ns ±14% | ~ | (p=0.683 n=5+5) |
Literal | 118ns ±17% | 122ns ±11% | ~ | (p=1.000 n=5+5) |
NotLiteral | 1.96µs ± 8% | 2.04µs ±11% | ~ | (p=1.000 n=5+5) |
MatchClass | 2.79µs ±12% | 2.62µs ±21% | ~ | (p=0.151 n=5+5) |
MatchClass_InRange | 2.56µs ±13% | 2.62µs ±12% | ~ | (p=0.841 n=5+5) |
ReplaceAll | 1.81µs ± 8% | 1.81µs ± 8% | ~ | (p=0.421 n=5+5) |
AnchoredLiteralShortNonMatch | 103ns ± 8% | 98ns ± 2% | ~ | (p=0.310 n=5+5) |
AnchoredLiteralLongNonMatch | 113ns ± 7% | 109ns ± 5% | ~ | (p=0.230 n=5+5) |
AnchoredShortMatch | 159ns ± 7% | 167ns ±12% | ~ | (p=0.246 n=5+5) |
AnchoredLongMatch | 308ns ± 1% | 347ns ±10% | +12.62% | (p=0.016 n=4+5) |
OnePassShortA | 708ns ± 2% | 744ns ± 8% | ~ | (p=0.111 n=5+5) |
NotOnePassShortA | 686ns ±11% | 717ns ±14% | ~ | (p=0.421 n=5+5) |
OnePassShortB | 559ns ±12% | 549ns ± 9% | ~ | (p=0.952 n=5+5) |
NotOnePassShortB | 505ns ±10% | 474ns ± 3% | ~ | (p=0.151 n=5+5) |
OnePassLongPrefix | 129ns ±11% | 124ns ± 7% | ~ | (p=0.270 n=5+5) |
OnePassLongNotPrefix | 453ns ±12% | 456ns ±11% | ~ | (p=1.000 n=5+5) |
MatchParallelShared | 268ns ± 1% | 280ns ± 1% | +4.32% | (p=0.016 n=5+4) |
MatchParallelCopied | 282ns ±10% | 270ns ± 6% | ~ | (p=0.135 n=5+5) |
QuoteMetaAll | 116ns ± 1% | 116ns ± 8% | ~ | (p=0.651 n=5+5) |
QuoteMetaNone | 61.6ns ± 1% | 64.0ns ±11% | ~ | (p=0.238 n=5+5) |
Match/Easy0/32 | 81.1ns ± 1% | 88.2ns ±12% | ~ | (p=0.111 n=4+5) |
Match/Easy0/1K | 383ns ± 9% | 383ns ± 5% | ~ | (p=0.881 n=5+5) |
Match/Easy0/32K | 6.17µs ±13% | 5.80µs ±13% | ~ | (p=0.222 n=5+5) |
Match/Easy0/1M | 307µs ±12% | 305µs ± 2% | ~ | (p=0.222 n=5+5) |
Match/Easy0/32M | 10.2ms ± 4% | 10.1ms ± 1% | ~ | (p=1.000 n=5+4) |
Match/Easy0i/32 | 1.29µs ± 7% | 1.31µs ± 6% | ~ | (p=0.421 n=5+5) |
Match/Easy0i/1K | 40.0µs ± 9% | 38.0µs ± 7% | ~ | (p=0.421 n=5+5) |
Match/Easy0i/32K | 1.48ms ± 1% | 1.42ms ±12% | ~ | (p=0.151 n=5+5) |
Match/Easy0i/1M | 50.5ms ±15% | 42.6ms ± 1% | −15.72% | (p=0.008 n=5+5) |
Match/Easy0i/32M | 1.64s ±10% | 1.38s ± 8% | −16.02% | (p=0.008 n=5+5) |
Match/Easy1/32 | 78.0ns ± 7% | 77.3ns ± 6% | ~ | (p=0.968 n=5+5) |
Match/Easy1/1K | 1.05µs ±12% | 1.01µs ± 6% | ~ | (p=0.310 n=5+5) |
Match/Easy1/32K | 47.7µs ±13% | 41.2µs ± 1% | −13.74% | (p=0.008 n=5+5) |
Match/Easy1/1M | 1.45ms ± 3% | 1.67ms ±11% | +14.57% | (p=0.016 n=5+5) |
Match/Easy1/32M | 46.5ms ± 3% | 47.5ms ± 8% | ~ | (p=0.548 n=5+5) |
Match/Medium/32 | 1.17µs ± 2% | 1.17µs ± 1% | ~ | (p=0.730 n=5+4) |
Match/Medium/1K | 36.3µs ±10% | 36.2µs ± 9% | ~ | (p=0.841 n=5+5) |
Match/Medium/32K | 1.45ms ± 9% | 1.30ms ± 1% | −10.48% | (p=0.016 n=5+4) |
Match/Medium/1M | 45.1ms ± 1% | 42.2ms ±12% | ~ | (p=0.151 n=5+5) |
Match/Medium/32M | 1.46s ± 1% | 1.38s ± 5% | −5.40% | (p=0.016 n=5+5) |
Match/Hard/32 | 1.83µs ± 8% | 1.77µs ± 7% | ~ | (p=0.421 n=5+5) |
Match/Hard/1K | 58.3µs ±10% | 52.9µs ± 3% | ~ | (p=0.095 n=5+5) |
Match/Hard/32K | 2.24ms ±12% | 2.25ms ± 9% | ~ | (p=1.000 n=5+5) |
Match/Hard/1M | 71.6ms ± 7% | 65.8ms ± 0% | −8.06% | (p=0.016 n=5+4) |
Match/Hard/32M | 2.27s ± 7% | 2.19s ± 8% | ~ | (p=0.421 n=5+5) |
Match/Hard1/32 | 9.69µs ± 1% | 10.22µs ± 6% | ~ | (p=0.056 n=5+5) |
Match/Hard1/1K | 305µs ±12% | 318µs ± 6% | ~ | (p=0.151 n=5+5) |
Match/Hard1/32K | 10.4ms ± 5% | 8.5ms ±12% | −18.56% | (p=0.008 n=5+5) |
Match/Hard1/1M | 333ms ± 5% | 284ms ± 9% | −14.80% | (p=0.008 n=5+5) |
Match/Hard1/32M | 10.5s ± 3% | 9.0s ± 1% | −14.84% | (p=0.008 n=5+5) |
Match_onepass_regex/32 | 952ns ±13% | 950ns ±10% | ~ | (p=1.000 n=5+5) |
Match_onepass_regex/1K | 24.6µs ± 5% | 26.8µs ±14% | ~ | (p=0.151 n=5+5) |
Match_onepass_regex/32K | 765µs ± 2% | 806µs ± 6% | +5.33% | (p=0.032 n=5+5) |
Match_onepass_regex/1M | 24.9ms ± 1% | 25.8ms ± 8% | ~ | (p=0.548 n=5+5) |
Match_onepass_regex/32M | 801ms ± 1% | 856ms ±18% | ~ | (p=0.730 n=4+5) |
CompileOnepass | 6.62µs ± 8% | 6.50µs ± 2% | ~ | (p=1.000 n=5+5) |
[Geo mean] | 28.2µs | 27.7µs | −1.78% | |
alloc/op | delta | |||
Find | 0.00B | 0.00B | ~ | (all equal) |
FindAllNoMatches | 0.00B | 0.00B | ~ | (all equal) |
FindString | 0.00B | 0.00B | ~ | (all equal) |
FindSubmatch | 48.0B ± 0% | 48.0B ± 0% | ~ | (all equal) |
FindStringSubmatch | 32.0B ± 0% | 32.0B ± 0% | ~ | (all equal) |
Match_onepass_regex/32 | 0.00B | 0.00B | ~ | (all equal) |
Match_onepass_regex/1K | 0.00B | 0.00B | ~ | (all equal) |
Match_onepass_regex/32K | 0.00B | 0.00B | ~ | (all equal) |
Match_onepass_regex/1M | 4.00B ± 0% | 4.00B ± 0% | ~ | (all equal) |
Match_onepass_regex/32M | 116B ± 0% | 116B ± 0% | ~ | (all equal) |
CompileOnepass | 4.02kB ± 0% | 4.02kB ± 0% | ~ | (all equal) |
[Geo mean] | 77.9B | 77.9B | +0.00% | |
allocs/op | delta | |||
Find | 0.00 | 0.00 | ~ | (all equal) |
FindAllNoMatches | 0.00 | 0.00 | ~ | (all equal) |
FindString | 0.00 | 0.00 | ~ | (all equal) |
FindSubmatch | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
FindStringSubmatch | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
Match_onepass_regex/32 | 0.00 | 0.00 | ~ | (all equal) |
Match_onepass_regex/1K | 0.00 | 0.00 | ~ | (all equal) |
Match_onepass_regex/32K | 0.00 | 0.00 | ~ | (all equal) |
Match_onepass_regex/1M | 0.00 | 0.00 | ~ | (all equal) |
Match_onepass_regex/32M | 1.00 ± 0% | 1.00 ± 0% | ~ | (all equal) |
CompileOnepass | 52.0 ± 0% | 52.0 ± 0% | ~ | (all equal) |
[Geo mean] | 2.69 | 2.69 | +0.00% | |
speed | delta | |||
QuoteMetaAll | 120MB/s ± 2% | 121MB/s ± 8% | ~ | (p=0.690 n=5+5) |
QuoteMetaNone | 422MB/s ± 1% | 407MB/s ±10% | ~ | (p=0.310 n=5+5) |
Match/Easy0/32 | 395MB/s ± 1% | 365MB/s ±11% | ~ | (p=0.111 n=4+5) |
Match/Easy0/1K | 2.68GB/s ± 9% | 2.67GB/s ± 5% | ~ | (p=0.841 n=5+5) |
Match/Easy0/32K | 5.34GB/s ±12% | 5.67GB/s ±12% | ~ | (p=0.222 n=5+5) |
Match/Easy0/1M | 3.43GB/s ±11% | 3.44GB/s ± 2% | ~ | (p=0.222 n=5+5) |
Match/Easy0/32M | 3.30GB/s ± 4% | 3.33GB/s ± 1% | ~ | (p=1.000 n=5+4) |
Match/Easy0i/32 | 24.8MB/s ± 7% | 24.4MB/s ± 5% | ~ | (p=0.421 n=5+5) |
Match/Easy0i/1K | 25.7MB/s ± 9% | 27.0MB/s ± 7% | ~ | (p=0.421 n=5+5) |
Match/Easy0i/32K | 22.1MB/s ± 1% | 23.2MB/s ±11% | ~ | (p=0.151 n=5+5) |
Match/Easy0i/1M | 20.9MB/s ±14% | 24.6MB/s ± 1% | +17.95% | (p=0.008 n=5+5) |
Match/Easy0i/32M | 20.6MB/s ± 9% | 24.4MB/s ± 8% | +18.86% | (p=0.008 n=5+5) |
Match/Easy1/32 | 411MB/s ± 7% | 415MB/s ± 6% | ~ | (p=1.000 n=5+5) |
Match/Easy1/1K | 983MB/s ±11% | 1019MB/s ± 6% | ~ | (p=0.310 n=5+5) |
Match/Easy1/32K | 693MB/s ±12% | 796MB/s ± 1% | +14.95% | (p=0.008 n=5+5) |
Match/Easy1/1M | 722MB/s ± 3% | 632MB/s ±12% | −12.44% | (p=0.016 n=5+5) |
Match/Easy1/32M | 721MB/s ± 2% | 707MB/s ± 8% | ~ | (p=0.548 n=5+5) |
Match/Medium/32 | 27.4MB/s ± 2% | 27.2MB/s ± 1% | ~ | (p=0.730 n=5+4) |
Match/Medium/1K | 28.3MB/s ± 9% | 28.4MB/s ± 9% | ~ | (p=0.841 n=5+5) |
Match/Medium/32K | 22.6MB/s ± 9% | 24.8MB/s ± 7% | +9.49% | (p=0.048 n=5+5) |
Match/Medium/1M | 23.2MB/s ± 1% | 25.0MB/s ±11% | ~ | (p=0.151 n=5+5) |
Match/Medium/32M | 23.0MB/s ± 1% | 24.3MB/s ± 5% | +5.85% | (p=0.016 n=5+5) |
Match/Hard/32 | 17.5MB/s ± 8% | 18.1MB/s ± 7% | ~ | (p=0.421 n=5+5) |
Match/Hard/1K | 17.6MB/s ±11% | 19.4MB/s ± 3% | ~ | (p=0.095 n=5+5) |
Match/Hard/32K | 14.7MB/s ±11% | 14.6MB/s ± 8% | ~ | (p=1.000 n=5+5) |
Match/Hard/1M | 14.7MB/s ± 7% | 15.9MB/s ± 0% | +8.58% | (p=0.016 n=5+4) |
Match/Hard/32M | 14.8MB/s ± 7% | 15.4MB/s ± 8% | ~ | (p=0.421 n=5+5) |
Match/Hard1/32 | 3.30MB/s ± 1% | 3.13MB/s ± 6% | −5.09% | (p=0.040 n=5+5) |
Match/Hard1/1K | 3.36MB/s ±11% | 3.22MB/s ± 6% | ~ | (p=0.214 n=5+5) |
Match/Hard1/32K | 3.14MB/s ± 5% | 3.87MB/s ±11% | +23.11% | (p=0.008 n=5+5) |
Match/Hard1/1M | 3.15MB/s ± 5% | 3.71MB/s ± 9% | +17.76% | (p=0.008 n=5+5) |
Match/Hard1/32M | 3.19MB/s ± 3% | 3.75MB/s ± 1% | +17.43% | (p=0.008 n=5+5) |
Match_onepass_regex/32 | 33.8MB/s ±12% | 33.9MB/s ±10% | ~ | (p=1.000 n=5+5) |
Match_onepass_regex/1K | 41.7MB/s ± 5% | 38.5MB/s ±13% | ~ | (p=0.151 n=5+5) |
Match_onepass_regex/32K | 42.8MB/s ± 2% | 40.8MB/s ± 6% | −4.86% | (p=0.032 n=5+5) |
Match_onepass_regex/1M | 42.0MB/s ± 1% | 40.7MB/s ± 7% | ~ | (p=0.548 n=5+5) |
Match_onepass_regex/32M | 41.9MB/s ± 1% | 39.6MB/s ±16% | ~ | (p=0.730 n=4+5) |
[Geo mean] | 60.8MB/s | 62.6MB/s | +3.00% | |