label | common value | ||||
---|---|---|---|---|---|
by | junyer@google.com | ||||
goarch | amd64 | ||||
goos | linux | ||||
pkg | regexp | ||||
upload | 20181127.3 | ||||
upload-time | 2018-11-27T12:01:17Z | ||||
label | values | ||||
upload-file |
upload-part:20181127.3/0:
upload-part:20181127.3/1:
|
||||
upload-part |
upload-part:20181127.3/0:
upload-part:20181127.3/1:
|
upload-part:20181127.3/0 | upload-part:20181127.3/1 | |||
---|---|---|---|---|
time/op | delta | |||
Find | 347ns ± 2% | 320ns ±15% | ~ | (p=0.151 n=5+5) |
FindAllNoMatches | 176ns ± 6% | 169ns ± 7% | ~ | (p=0.143 n=5+5) |
FindString | 337ns ±10% | 316ns ± 6% | ~ | (p=0.222 n=5+5) |
FindSubmatch | 410ns ± 3% | 416ns ±10% | ~ | (p=1.000 n=5+5) |
FindStringSubmatch | 425ns ± 6% | 405ns ± 1% | ~ | (p=0.190 n=5+4) |
Literal | 118ns ±17% | 115ns ± 5% | ~ | (p=0.865 n=5+5) |
NotLiteral | 1.96µs ± 8% | 1.96µs ±16% | ~ | (p=0.222 n=5+5) |
MatchClass | 2.79µs ±12% | 2.60µs ± 5% | ~ | (p=0.222 n=5+5) |
MatchClass_InRange | 2.56µs ±13% | 2.55µs ± 7% | ~ | (p=0.841 n=5+5) |
ReplaceAll | 1.81µs ± 8% | 1.74µs ± 2% | ~ | (p=0.056 n=5+5) |
AnchoredLiteralShortNonMatch | 103ns ± 8% | 96ns ± 5% | ~ | (p=0.056 n=5+5) |
AnchoredLiteralLongNonMatch | 113ns ± 7% | 113ns ± 4% | ~ | (p=0.937 n=5+5) |
AnchoredShortMatch | 159ns ± 7% | 155ns ± 1% | ~ | (p=1.000 n=5+5) |
AnchoredLongMatch | 308ns ± 1% | 317ns ± 1% | +2.94% | (p=0.016 n=4+5) |
OnePassShortA | 708ns ± 2% | 723ns ± 9% | ~ | (p=0.730 n=5+5) |
NotOnePassShortA | 686ns ±11% | 640ns ± 1% | −6.71% | (p=0.032 n=5+5) |
OnePassShortB | 559ns ±12% | 558ns ±11% | ~ | (p=0.635 n=5+5) |
NotOnePassShortB | 505ns ±10% | 468ns ± 1% | ~ | (p=0.190 n=5+4) |
OnePassLongPrefix | 129ns ±11% | 124ns ± 9% | ~ | (p=0.183 n=5+5) |
OnePassLongNotPrefix | 453ns ±12% | 431ns ±10% | ~ | (p=0.175 n=5+5) |
MatchParallelShared | 268ns ± 1% | 283ns ± 8% | +5.51% | (p=0.016 n=5+5) |
MatchParallelCopied | 282ns ±10% | 286ns ±13% | ~ | (p=0.889 n=5+5) |
QuoteMetaAll | 116ns ± 1% | 117ns ± 5% | ~ | (p=1.000 n=5+5) |
QuoteMetaNone | 61.6ns ± 1% | 62.4ns ± 2% | ~ | (p=0.214 n=5+5) |
Match/Easy0/32 | 81.1ns ± 1% | 81.9ns ± 3% | ~ | (p=0.603 n=4+5) |
Match/Easy0/1K | 383ns ± 9% | 383ns ± 6% | ~ | (p=0.802 n=5+5) |
Match/Easy0/32K | 6.17µs ±13% | 5.86µs ± 6% | ~ | (p=0.548 n=5+5) |
Match/Easy0/1M | 307µs ±12% | 320µs ±15% | ~ | (p=0.548 n=5+5) |
Match/Easy0/32M | 10.2ms ± 4% | 11.3ms ±11% | ~ | (p=0.095 n=5+5) |
Match/Easy0i/32 | 1.29µs ± 7% | 1.29µs ± 3% | ~ | (p=0.841 n=5+5) |
Match/Easy0i/1K | 40.0µs ± 9% | 40.0µs ±14% | ~ | (p=1.000 n=5+5) |
Match/Easy0i/32K | 1.48ms ± 1% | 1.30ms ± 4% | −11.90% | (p=0.008 n=5+5) |
Match/Easy0i/1M | 50.5ms ±15% | 45.6ms ± 8% | ~ | (p=0.222 n=5+5) |
Match/Easy0i/32M | 1.64s ±10% | 1.43s ±11% | ~ | (p=0.056 n=5+5) |
Match/Easy1/32 | 78.0ns ± 7% | 77.7ns ±14% | ~ | (p=0.278 n=5+5) |
Match/Easy1/1K | 1.05µs ±12% | 0.98µs ± 3% | ~ | (p=0.095 n=5+5) |
Match/Easy1/32K | 47.7µs ±13% | 39.7µs ± 1% | −16.72% | (p=0.008 n=5+5) |
Match/Easy1/1M | 1.45ms ± 3% | 1.43ms ±10% | ~ | (p=0.151 n=5+5) |
Match/Easy1/32M | 46.5ms ± 3% | 45.5ms ±11% | ~ | (p=0.151 n=5+5) |
Match/Medium/32 | 1.17µs ± 2% | 1.22µs ± 8% | ~ | (p=0.095 n=5+5) |
Match/Medium/1K | 36.3µs ±10% | 34.7µs ± 4% | ~ | (p=0.421 n=5+5) |
Match/Medium/32K | 1.45ms ± 9% | 1.27ms ± 1% | −12.69% | (p=0.008 n=5+5) |
Match/Medium/1M | 45.1ms ± 1% | 41.1ms ± 9% | −8.86% | (p=0.008 n=5+5) |
Match/Medium/32M | 1.46s ± 1% | 1.39s ± 8% | ~ | (p=0.690 n=5+5) |
Match/Hard/32 | 1.83µs ± 8% | 1.74µs ± 3% | ~ | (p=0.151 n=5+5) |
Match/Hard/1K | 58.3µs ±10% | 52.9µs ± 1% | ~ | (p=0.095 n=5+5) |
Match/Hard/32K | 2.24ms ±12% | 2.02ms ±10% | −9.67% | (p=0.032 n=5+5) |
Match/Hard/1M | 71.6ms ± 7% | 65.3ms ± 6% | −8.81% | (p=0.016 n=5+5) |
Match/Hard/32M | 2.27s ± 7% | 2.08s ± 6% | −8.44% | (p=0.032 n=5+5) |
Match/Hard1/32 | 9.69µs ± 1% | 10.07µs ± 9% | ~ | (p=0.421 n=5+5) |
Match/Hard1/1K | 305µs ±12% | 323µs ±10% | ~ | (p=0.421 n=5+5) |
Match/Hard1/32K | 10.4ms ± 5% | 8.3ms ± 7% | −20.35% | (p=0.008 n=5+5) |
Match/Hard1/1M | 333ms ± 5% | 278ms ±14% | −16.49% | (p=0.008 n=5+5) |
Match/Hard1/32M | 10.5s ± 3% | 8.5s ± 3% | −19.12% | (p=0.008 n=5+5) |
Match_onepass_regex/32 | 952ns ±13% | 927ns ±11% | ~ | (p=0.548 n=5+5) |
Match_onepass_regex/1K | 24.6µs ± 5% | 25.2µs ±13% | ~ | (p=0.841 n=5+5) |
Match_onepass_regex/32K | 765µs ± 2% | 798µs ± 7% | ~ | (p=0.222 n=5+5) |
Match_onepass_regex/1M | 24.9ms ± 1% | 26.5ms ± 8% | +6.10% | (p=0.016 n=5+5) |
Match_onepass_regex/32M | 801ms ± 1% | 821ms ± 8% | ~ | (p=0.413 n=4+5) |
CompileOnepass | 6.62µs ± 8% | 6.46µs ± 2% | ~ | (p=0.690 n=5+5) |
[Geo mean] | 28.2µs | 27.2µs | −3.70% | |
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% | 119MB/s ± 5% | ~ | (p=1.000 n=5+5) |
QuoteMetaNone | 422MB/s ± 1% | 417MB/s ± 2% | ~ | (p=0.151 n=5+5) |
Match/Easy0/32 | 395MB/s ± 1% | 391MB/s ± 3% | ~ | (p=0.730 n=4+5) |
Match/Easy0/1K | 2.68GB/s ± 9% | 2.67GB/s ± 6% | ~ | (p=0.841 n=5+5) |
Match/Easy0/32K | 5.34GB/s ±12% | 5.60GB/s ± 6% | ~ | (p=0.548 n=5+5) |
Match/Easy0/1M | 3.43GB/s ±11% | 3.30GB/s ±13% | ~ | (p=0.548 n=5+5) |
Match/Easy0/32M | 3.30GB/s ± 4% | 2.99GB/s ±12% | ~ | (p=0.095 n=5+5) |
Match/Easy0i/32 | 24.8MB/s ± 7% | 24.9MB/s ± 3% | ~ | (p=0.802 n=5+5) |
Match/Easy0i/1K | 25.7MB/s ± 9% | 25.7MB/s ±13% | ~ | (p=1.000 n=5+5) |
Match/Easy0i/32K | 22.1MB/s ± 1% | 25.2MB/s ± 4% | +13.55% | (p=0.008 n=5+5) |
Match/Easy0i/1M | 20.9MB/s ±14% | 23.1MB/s ± 8% | ~ | (p=0.222 n=5+5) |
Match/Easy0i/32M | 20.6MB/s ± 9% | 23.5MB/s ±10% | ~ | (p=0.056 n=5+5) |
Match/Easy1/32 | 411MB/s ± 7% | 414MB/s ±13% | ~ | (p=0.310 n=5+5) |
Match/Easy1/1K | 983MB/s ±11% | 1044MB/s ± 3% | ~ | (p=0.095 n=5+5) |
Match/Easy1/32K | 693MB/s ±12% | 825MB/s ± 1% | +19.07% | (p=0.008 n=5+5) |
Match/Easy1/1M | 722MB/s ± 3% | 734MB/s ± 9% | ~ | (p=0.151 n=5+5) |
Match/Easy1/32M | 721MB/s ± 2% | 740MB/s ±10% | ~ | (p=0.151 n=5+5) |
Match/Medium/32 | 27.4MB/s ± 2% | 26.3MB/s ± 8% | ~ | (p=0.095 n=5+5) |
Match/Medium/1K | 28.3MB/s ± 9% | 29.5MB/s ± 4% | ~ | (p=0.421 n=5+5) |
Match/Medium/32K | 22.6MB/s ± 9% | 25.9MB/s ± 1% | +14.31% | (p=0.008 n=5+5) |
Match/Medium/1M | 23.2MB/s ± 1% | 25.5MB/s ± 8% | +9.95% | (p=0.008 n=5+5) |
Match/Medium/32M | 23.0MB/s ± 1% | 24.2MB/s ± 8% | ~ | (p=0.690 n=5+5) |
Match/Hard/32 | 17.5MB/s ± 8% | 18.4MB/s ± 3% | ~ | (p=0.151 n=5+5) |
Match/Hard/1K | 17.6MB/s ±11% | 19.4MB/s ± 1% | ~ | (p=0.095 n=5+5) |
Match/Hard/32K | 14.7MB/s ±11% | 16.2MB/s ±10% | +10.38% | (p=0.032 n=5+5) |
Match/Hard/1M | 14.7MB/s ± 7% | 16.1MB/s ± 6% | +9.60% | (p=0.016 n=5+5) |
Match/Hard/32M | 14.8MB/s ± 7% | 16.2MB/s ± 6% | +9.03% | (p=0.032 n=5+5) |
Match/Hard1/32 | 3.30MB/s ± 1% | 3.19MB/s ± 9% | ~ | (p=0.381 n=5+5) |
Match/Hard1/1K | 3.36MB/s ±11% | 3.19MB/s ±10% | ~ | (p=0.397 n=5+5) |
Match/Hard1/32K | 3.14MB/s ± 5% | 3.94MB/s ± 6% | +25.53% | (p=0.008 n=5+5) |
Match/Hard1/1M | 3.15MB/s ± 5% | 3.79MB/s ±13% | +20.16% | (p=0.008 n=5+5) |
Match/Hard1/32M | 3.19MB/s ± 3% | 3.94MB/s ± 3% | +23.64% | (p=0.008 n=5+5) |
Match_onepass_regex/32 | 33.8MB/s ±12% | 34.7MB/s ±10% | ~ | (p=0.548 n=5+5) |
Match_onepass_regex/1K | 41.7MB/s ± 5% | 40.8MB/s ±12% | ~ | (p=0.841 n=5+5) |
Match_onepass_regex/32K | 42.8MB/s ± 2% | 41.1MB/s ± 7% | ~ | (p=0.222 n=5+5) |
Match_onepass_regex/1M | 42.0MB/s ± 1% | 39.7MB/s ± 8% | −5.53% | (p=0.016 n=5+5) |
Match_onepass_regex/32M | 41.9MB/s ± 1% | 40.9MB/s ± 7% | ~ | (p=0.413 n=4+5) |
[Geo mean] | 60.8MB/s | 63.5MB/s | +4.57% | |