Created
March 28, 2017 03:56
-
-
Save haya14busa/584f0162ac016332852c7656df480a3f to your computer and use it in GitHub Desktop.
cap and append (old) vs len and assign by index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
benchmark old ns/op new ns/op delta | |
BenchmarkCompileOnepass/^(?:(?:(?:.(?:$))?))$-4 5782 5759 -0.40% | |
BenchmarkCompileOnepass/^abcd$-4 4831 4974 +2.96% | |
BenchmarkCompileOnepass/^(?:(?:a{0,})*?)$-4 5616 5636 +0.36% | |
BenchmarkCompileOnepass/^(?:(?:a+)*)$-4 5239 5201 -0.73% | |
BenchmarkCompileOnepass/^(?:(?:a|(?:aa)))$-4 6576 6967 +5.95% | |
BenchmarkCompileOnepass/^(?:[^\s\S])$-4 4090 4100 +0.24% | |
BenchmarkCompileOnepass/^(?:(?:(?:a*)+))$-4 5520 5652 +2.39% | |
BenchmarkCompileOnepass/^[a-c]+$-4 4207 4214 +0.17% | |
BenchmarkCompileOnepass/^[a-c]*$-4 4606 4625 +0.41% | |
BenchmarkCompileOnepass/^(?:a*)$-4 4712 4689 -0.49% | |
BenchmarkCompileOnepass/^(?:(?:aa)|a)$-4 6414 6530 +1.81% | |
BenchmarkCompileOnepass/^...$-4 4747 4736 -0.23% | |
BenchmarkCompileOnepass/^(?:a|(?:aa))$-4 6472 6470 -0.03% | |
BenchmarkCompileOnepass/^a((b))c$-4 7004 6920 -1.20% | |
BenchmarkCompileOnepass/^a.[l-nA-Cg-j]?e$-4 7226 7092 -1.85% | |
BenchmarkCompileOnepass/^a((b))$-4 6177 6205 +0.45% | |
BenchmarkCompileOnepass/^a(?:(b)|(c))c$-4 8708 8743 +0.40% | |
BenchmarkCompileOnepass/^a(?:b|c)$-4 4931 4968 +0.75% | |
BenchmarkCompileOnepass/^a(?:b?|c)$-4 7091 7080 -0.16% | |
BenchmarkCompileOnepass/^a(?:b?|c+)$-4 8038 8127 +1.11% | |
BenchmarkCompileOnepass/^a(?:bc)+$-4 5717 5529 -3.29% | |
BenchmarkCompileOnepass/^a(?:[bcd])+$-4 5166 5129 -0.72% | |
BenchmarkCompileOnepass/^a((?:[bcd])+)$-4 6491 6868 +5.81% | |
BenchmarkCompileOnepass/^a(:?b|c)*d$-4 11914 12075 +1.35% | |
BenchmarkCompileOnepass/^.bc(d|e)*$-4 8012 8152 +1.75% | |
benchmark old allocs new allocs delta | |
BenchmarkCompileOnepass/^(?:(?:(?:.(?:$))?))$-4 49 49 +0.00% | |
BenchmarkCompileOnepass/^abcd$-4 41 41 +0.00% | |
BenchmarkCompileOnepass/^(?:(?:a{0,})*?)$-4 49 49 +0.00% | |
BenchmarkCompileOnepass/^(?:(?:a+)*)$-4 44 44 +0.00% | |
BenchmarkCompileOnepass/^(?:(?:a|(?:aa)))$-4 54 54 +0.00% | |
BenchmarkCompileOnepass/^(?:[^\s\S])$-4 33 33 +0.00% | |
BenchmarkCompileOnepass/^(?:(?:(?:a*)+))$-4 46 46 +0.00% | |
BenchmarkCompileOnepass/^[a-c]+$-4 36 36 +0.00% | |
BenchmarkCompileOnepass/^[a-c]*$-4 41 41 +0.00% | |
BenchmarkCompileOnepass/^(?:a*)$-4 42 42 +0.00% | |
BenchmarkCompileOnepass/^(?:(?:aa)|a)$-4 53 53 +0.00% | |
BenchmarkCompileOnepass/^...$-4 43 43 +0.00% | |
BenchmarkCompileOnepass/^(?:a|(?:aa))$-4 53 53 +0.00% | |
BenchmarkCompileOnepass/^a((b))c$-4 53 53 +0.00% | |
BenchmarkCompileOnepass/^a.[l-nA-Cg-j]?e$-4 58 58 +0.00% | |
BenchmarkCompileOnepass/^a((b))$-4 47 47 +0.00% | |
BenchmarkCompileOnepass/^a(?:(b)|(c))c$-4 65 65 +0.00% | |
BenchmarkCompileOnepass/^a(?:b|c)$-4 40 40 +0.00% | |
BenchmarkCompileOnepass/^a(?:b?|c)$-4 57 57 +0.00% | |
BenchmarkCompileOnepass/^a(?:b?|c+)$-4 63 63 +0.00% | |
BenchmarkCompileOnepass/^a(?:bc)+$-4 46 46 +0.00% | |
BenchmarkCompileOnepass/^a(?:[bcd])+$-4 43 43 +0.00% | |
BenchmarkCompileOnepass/^a((?:[bcd])+)$-4 49 49 +0.00% | |
BenchmarkCompileOnepass/^a(:?b|c)*d$-4 105 105 +0.00% | |
BenchmarkCompileOnepass/^.bc(d|e)*$-4 62 62 +0.00% | |
benchmark old bytes new bytes delta | |
BenchmarkCompileOnepass/^(?:(?:(?:.(?:$))?))$-4 3408 3408 +0.00% | |
BenchmarkCompileOnepass/^abcd$-4 2752 2752 +0.00% | |
BenchmarkCompileOnepass/^(?:(?:a{0,})*?)$-4 3336 3336 +0.00% | |
BenchmarkCompileOnepass/^(?:(?:a+)*)$-4 2952 2952 +0.00% | |
BenchmarkCompileOnepass/^(?:(?:a|(?:aa)))$-4 3752 3752 +0.00% | |
BenchmarkCompileOnepass/^(?:[^\s\S])$-4 2464 2464 +0.00% | |
BenchmarkCompileOnepass/^(?:(?:(?:a*)+))$-4 3128 3128 +0.00% | |
BenchmarkCompileOnepass/^[a-c]+$-4 2480 2480 +0.00% | |
BenchmarkCompileOnepass/^[a-c]*$-4 2520 2520 +0.00% | |
BenchmarkCompileOnepass/^(?:a*)$-4 2632 2632 +0.00% | |
BenchmarkCompileOnepass/^(?:(?:aa)|a)$-4 3640 3640 +0.00% | |
BenchmarkCompileOnepass/^...$-4 2912 2912 +0.00% | |
BenchmarkCompileOnepass/^(?:a|(?:aa))$-4 3640 3640 +0.00% | |
BenchmarkCompileOnepass/^a((b))c$-4 4386 4386 +0.00% | |
BenchmarkCompileOnepass/^a.[l-nA-Cg-j]?e$-4 4320 4320 +0.00% | |
BenchmarkCompileOnepass/^a((b))$-4 4064 4064 +0.00% | |
BenchmarkCompileOnepass/^a(?:(b)|(c))c$-4 5312 5312 +0.00% | |
BenchmarkCompileOnepass/^a(?:b|c)$-4 2880 2880 +0.00% | |
BenchmarkCompileOnepass/^a(?:b?|c)$-4 4360 4360 +0.00% | |
BenchmarkCompileOnepass/^a(?:b?|c+)$-4 4592 4592 +0.00% | |
BenchmarkCompileOnepass/^a(?:bc)+$-4 3152 3152 +0.00% | |
BenchmarkCompileOnepass/^a(?:[bcd])+$-4 2944 2944 +0.00% | |
BenchmarkCompileOnepass/^a((?:[bcd])+)$-4 4088 4088 +0.00% | |
BenchmarkCompileOnepass/^a(:?b|c)*d$-4 6152 6152 +0.00% | |
BenchmarkCompileOnepass/^.bc(d|e)*$-4 4474 4474 +0.00% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment