-
-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(bench): Add benchmark-action #2283
Conversation
Signed-off-by: Dave Henderson <[email protected]>
1a7f9c7
to
4021252
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
Benchmark suite | Current: 1a7f9c7 | Previous: 4021252 | Ratio |
---|---|---|---|
BenchmarkFlatten/depth-1_[]int([1_2_3]) |
165.8 ns/op 168 B/op 5 allocs/op |
167.7 ns/op 168 B/op 5 allocs/op |
0.99 |
BenchmarkFlatten/depth-1_[]int([1_2_3]) - ns/op |
165.8 ns/op |
167.7 ns/op |
0.99 |
BenchmarkFlatten/depth-1_[]int([1_2_3]) - B/op |
168 B/op |
168 B/op |
1 |
BenchmarkFlatten/depth-1_[]int([1_2_3]) - allocs/op |
5 allocs/op |
5 allocs/op |
1 |
BenchmarkFlatten/depth-1_[3]int([1_2_3]) |
116.4 ns/op 144 B/op 2 allocs/op |
118.1 ns/op 144 B/op 2 allocs/op |
0.99 |
BenchmarkFlatten/depth-1_[3]int([1_2_3]) - ns/op |
116.4 ns/op |
118.1 ns/op |
0.99 |
BenchmarkFlatten/depth-1_[3]int([1_2_3]) - B/op |
144 B/op |
144 B/op |
1 |
BenchmarkFlatten/depth-1_[3]int([1_2_3]) - allocs/op |
2 allocs/op |
2 allocs/op |
1 |
BenchmarkFlatten/depth-1_[]interface_{}([[]_[1_2]_3]) |
202.2 ns/op 208 B/op 5 allocs/op |
204.5 ns/op 208 B/op 5 allocs/op |
0.99 |
BenchmarkFlatten/depth-1_[]interface_{}([[]_[1_2]_3]) - ns/op |
202.2 ns/op |
204.5 ns/op |
0.99 |
BenchmarkFlatten/depth-1_[]interface_{}([[]_[1_2]_3]) - B/op |
208 B/op |
208 B/op |
1 |
BenchmarkFlatten/depth-1_[]interface_{}([[]_[1_2]_3]) - allocs/op |
5 allocs/op |
5 allocs/op |
1 |
BenchmarkFlatten/depth-1_[]interface_{}([[one]_[[1_2]]_3]) |
409.3 ns/op 344 B/op 11 allocs/op |
413.8 ns/op 344 B/op 11 allocs/op |
0.99 |
BenchmarkFlatten/depth-1_[]interface_{}([[one]_[[1_2]]_3]) - ns/op |
409.3 ns/op |
413.8 ns/op |
0.99 |
BenchmarkFlatten/depth-1_[]interface_{}([[one]_[[1_2]]_3]) - B/op |
344 B/op |
344 B/op |
1 |
BenchmarkFlatten/depth-1_[]interface_{}([[one]_[[1_2]]_3]) - allocs/op |
11 allocs/op |
11 allocs/op |
1 |
BenchmarkFlatten/depth-1_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) |
792.9 ns/op 896 B/op 19 allocs/op |
802.3 ns/op 896 B/op 19 allocs/op |
0.99 |
BenchmarkFlatten/depth-1_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - ns/op |
792.9 ns/op |
802.3 ns/op |
0.99 |
BenchmarkFlatten/depth-1_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - B/op |
896 B/op |
896 B/op |
1 |
BenchmarkFlatten/depth-1_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - allocs/op |
19 allocs/op |
19 allocs/op |
1 |
BenchmarkFlatten/depth0_[]int([1_2_3]) |
117.3 ns/op 72 B/op 4 allocs/op |
114.9 ns/op 72 B/op 4 allocs/op |
1.02 |
BenchmarkFlatten/depth0_[]int([1_2_3]) - ns/op |
117.3 ns/op |
114.9 ns/op |
1.02 |
BenchmarkFlatten/depth0_[]int([1_2_3]) - B/op |
72 B/op |
72 B/op |
1 |
BenchmarkFlatten/depth0_[]int([1_2_3]) - allocs/op |
4 allocs/op |
4 allocs/op |
1 |
BenchmarkFlatten/depth0_[3]int([1_2_3]) |
64.31 ns/op 48 B/op 1 allocs/op |
64.52 ns/op 48 B/op 1 allocs/op |
1.00 |
BenchmarkFlatten/depth0_[3]int([1_2_3]) - ns/op |
64.31 ns/op |
64.52 ns/op |
1.00 |
BenchmarkFlatten/depth0_[3]int([1_2_3]) - B/op |
48 B/op |
48 B/op |
1 |
BenchmarkFlatten/depth0_[3]int([1_2_3]) - allocs/op |
1 allocs/op |
1 allocs/op |
1 |
BenchmarkFlatten/depth0_[]interface_{}([[]_[1_2]_3]) |
4.33 ns/op 0 B/op 0 allocs/op |
4.337 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkFlatten/depth0_[]interface_{}([[]_[1_2]_3]) - ns/op |
4.33 ns/op |
4.337 ns/op |
1.00 |
BenchmarkFlatten/depth0_[]interface_{}([[]_[1_2]_3]) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkFlatten/depth0_[]interface_{}([[]_[1_2]_3]) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkFlatten/depth0_[]interface_{}([[one]_[[1_2]]_3]) |
4.432 ns/op 0 B/op 0 allocs/op |
4.343 ns/op 0 B/op 0 allocs/op |
1.02 |
BenchmarkFlatten/depth0_[]interface_{}([[one]_[[1_2]]_3]) - ns/op |
4.432 ns/op |
4.343 ns/op |
1.02 |
BenchmarkFlatten/depth0_[]interface_{}([[one]_[[1_2]]_3]) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkFlatten/depth0_[]interface_{}([[one]_[[1_2]]_3]) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkFlatten/depth0_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) |
4.327 ns/op 0 B/op 0 allocs/op |
4.337 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkFlatten/depth0_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - ns/op |
4.327 ns/op |
4.337 ns/op |
1.00 |
BenchmarkFlatten/depth0_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkFlatten/depth0_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkFlatten/depth1_[]int([1_2_3]) |
166.4 ns/op 168 B/op 5 allocs/op |
168.3 ns/op 168 B/op 5 allocs/op |
0.99 |
BenchmarkFlatten/depth1_[]int([1_2_3]) - ns/op |
166.4 ns/op |
168.3 ns/op |
0.99 |
BenchmarkFlatten/depth1_[]int([1_2_3]) - B/op |
168 B/op |
168 B/op |
1 |
BenchmarkFlatten/depth1_[]int([1_2_3]) - allocs/op |
5 allocs/op |
5 allocs/op |
1 |
BenchmarkFlatten/depth1_[3]int([1_2_3]) |
116.7 ns/op 144 B/op 2 allocs/op |
118.6 ns/op 144 B/op 2 allocs/op |
0.98 |
BenchmarkFlatten/depth1_[3]int([1_2_3]) - ns/op |
116.7 ns/op |
118.6 ns/op |
0.98 |
BenchmarkFlatten/depth1_[3]int([1_2_3]) - B/op |
144 B/op |
144 B/op |
1 |
BenchmarkFlatten/depth1_[3]int([1_2_3]) - allocs/op |
2 allocs/op |
2 allocs/op |
1 |
BenchmarkFlatten/depth1_[]interface_{}([[]_[1_2]_3]) |
158.5 ns/op 144 B/op 4 allocs/op |
159.5 ns/op 144 B/op 4 allocs/op |
0.99 |
BenchmarkFlatten/depth1_[]interface_{}([[]_[1_2]_3]) - ns/op |
158.5 ns/op |
159.5 ns/op |
0.99 |
BenchmarkFlatten/depth1_[]interface_{}([[]_[1_2]_3]) - B/op |
144 B/op |
144 B/op |
1 |
BenchmarkFlatten/depth1_[]interface_{}([[]_[1_2]_3]) - allocs/op |
4 allocs/op |
4 allocs/op |
1 |
BenchmarkFlatten/depth1_[]interface_{}([[one]_[[1_2]]_3]) |
210.7 ns/op 168 B/op 5 allocs/op |
213.9 ns/op 168 B/op 5 allocs/op |
0.99 |
BenchmarkFlatten/depth1_[]interface_{}([[one]_[[1_2]]_3]) - ns/op |
210.7 ns/op |
213.9 ns/op |
0.99 |
BenchmarkFlatten/depth1_[]interface_{}([[one]_[[1_2]]_3]) - B/op |
168 B/op |
168 B/op |
1 |
BenchmarkFlatten/depth1_[]interface_{}([[one]_[[1_2]]_3]) - allocs/op |
5 allocs/op |
5 allocs/op |
1 |
BenchmarkFlatten/depth1_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) |
141.2 ns/op 128 B/op 3 allocs/op |
143 ns/op 128 B/op 3 allocs/op |
0.99 |
BenchmarkFlatten/depth1_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - ns/op |
141.2 ns/op |
143 ns/op |
0.99 |
BenchmarkFlatten/depth1_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - B/op |
128 B/op |
128 B/op |
1 |
BenchmarkFlatten/depth1_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - allocs/op |
3 allocs/op |
3 allocs/op |
1 |
BenchmarkFlatten/depth2_[]int([1_2_3]) |
168.6 ns/op 168 B/op 5 allocs/op |
168.4 ns/op 168 B/op 5 allocs/op |
1.00 |
BenchmarkFlatten/depth2_[]int([1_2_3]) - ns/op |
168.6 ns/op |
168.4 ns/op |
1.00 |
BenchmarkFlatten/depth2_[]int([1_2_3]) - B/op |
168 B/op |
168 B/op |
1 |
BenchmarkFlatten/depth2_[]int([1_2_3]) - allocs/op |
5 allocs/op |
5 allocs/op |
1 |
BenchmarkFlatten/depth2_[3]int([1_2_3]) |
116.9 ns/op 144 B/op 2 allocs/op |
118.6 ns/op 144 B/op 2 allocs/op |
0.99 |
BenchmarkFlatten/depth2_[3]int([1_2_3]) - ns/op |
116.9 ns/op |
118.6 ns/op |
0.99 |
BenchmarkFlatten/depth2_[3]int([1_2_3]) - B/op |
144 B/op |
144 B/op |
1 |
BenchmarkFlatten/depth2_[3]int([1_2_3]) - allocs/op |
2 allocs/op |
2 allocs/op |
1 |
BenchmarkFlatten/depth2_[]interface_{}([[]_[1_2]_3]) |
201.7 ns/op 208 B/op 5 allocs/op |
207.4 ns/op 208 B/op 5 allocs/op |
0.97 |
BenchmarkFlatten/depth2_[]interface_{}([[]_[1_2]_3]) - ns/op |
201.7 ns/op |
207.4 ns/op |
0.97 |
BenchmarkFlatten/depth2_[]interface_{}([[]_[1_2]_3]) - B/op |
208 B/op |
208 B/op |
1 |
BenchmarkFlatten/depth2_[]interface_{}([[]_[1_2]_3]) - allocs/op |
5 allocs/op |
5 allocs/op |
1 |
BenchmarkFlatten/depth2_[]interface_{}([[one]_[[1_2]]_3]) |
369.2 ns/op 280 B/op 10 allocs/op |
373.9 ns/op 280 B/op 10 allocs/op |
0.99 |
BenchmarkFlatten/depth2_[]interface_{}([[one]_[[1_2]]_3]) - ns/op |
369.2 ns/op |
373.9 ns/op |
0.99 |
BenchmarkFlatten/depth2_[]interface_{}([[one]_[[1_2]]_3]) - B/op |
280 B/op |
280 B/op |
1 |
BenchmarkFlatten/depth2_[]interface_{}([[one]_[[1_2]]_3]) - allocs/op |
10 allocs/op |
10 allocs/op |
1 |
BenchmarkFlatten/depth2_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) |
318.4 ns/op 272 B/op 8 allocs/op |
325.5 ns/op 272 B/op 8 allocs/op |
0.98 |
BenchmarkFlatten/depth2_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - ns/op |
318.4 ns/op |
325.5 ns/op |
0.98 |
BenchmarkFlatten/depth2_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - B/op |
272 B/op |
272 B/op |
1 |
BenchmarkFlatten/depth2_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - allocs/op |
8 allocs/op |
8 allocs/op |
1 |
BenchmarkInterfaceSlice/[]int([1_2_3]) |
113.5 ns/op 72 B/op 4 allocs/op |
115 ns/op 72 B/op 4 allocs/op |
0.99 |
BenchmarkInterfaceSlice/[]int([1_2_3]) - ns/op |
113.5 ns/op |
115 ns/op |
0.99 |
BenchmarkInterfaceSlice/[]int([1_2_3]) - B/op |
72 B/op |
72 B/op |
1 |
BenchmarkInterfaceSlice/[]int([1_2_3]) - allocs/op |
4 allocs/op |
4 allocs/op |
1 |
BenchmarkInterfaceSlice/[3]int([1_2_3]) |
61.82 ns/op 48 B/op 1 allocs/op |
60.98 ns/op 48 B/op 1 allocs/op |
1.01 |
BenchmarkInterfaceSlice/[3]int([1_2_3]) - ns/op |
61.82 ns/op |
60.98 ns/op |
1.01 |
BenchmarkInterfaceSlice/[3]int([1_2_3]) - B/op |
48 B/op |
48 B/op |
1 |
BenchmarkInterfaceSlice/[3]int([1_2_3]) - allocs/op |
1 allocs/op |
1 allocs/op |
1 |
BenchmarkInterfaceSlice/[]string([foo_bar_baz_foo_bar_baz_foo_bar_baz_foo_bar_baz]) |
542.3 ns/op 384 B/op 13 allocs/op |
548.3 ns/op 384 B/op 13 allocs/op |
0.99 |
BenchmarkInterfaceSlice/[]string([foo_bar_baz_foo_bar_baz_foo_bar_baz_foo_bar_baz]) - ns/op |
542.3 ns/op |
548.3 ns/op |
0.99 |
BenchmarkInterfaceSlice/[]string([foo_bar_baz_foo_bar_baz_foo_bar_baz_foo_bar_baz]) - B/op |
384 B/op |
384 B/op |
1 |
BenchmarkInterfaceSlice/[]string([foo_bar_baz_foo_bar_baz_foo_bar_baz_foo_bar_baz]) - allocs/op |
13 allocs/op |
13 allocs/op |
1 |
BenchmarkInterfaceSlice/[12]string([foo_bar_baz_foo_bar_baz_foo_bar_baz_foo_bar_baz]) |
152.9 ns/op 192 B/op 1 allocs/op |
154.6 ns/op 192 B/op 1 allocs/op |
0.99 |
BenchmarkInterfaceSlice/[12]string([foo_bar_baz_foo_bar_baz_foo_bar_baz_foo_bar_baz]) - ns/op |
152.9 ns/op |
154.6 ns/op |
0.99 |
BenchmarkInterfaceSlice/[12]string([foo_bar_baz_foo_bar_baz_foo_bar_baz_foo_bar_baz]) - B/op |
192 B/op |
192 B/op |
1 |
BenchmarkInterfaceSlice/[12]string([foo_bar_baz_foo_bar_baz_foo_bar_baz_foo_bar_baz]) - allocs/op |
1 allocs/op |
1 allocs/op |
1 |
BenchmarkInterfaceSlice/[]interface_{}([[]_[1_2]_3]) |
2.167 ns/op 0 B/op 0 allocs/op |
2.167 ns/op 0 B/op 0 allocs/op |
1 |
BenchmarkInterfaceSlice/[]interface_{}([[]_[1_2]_3]) - ns/op |
2.167 ns/op |
2.167 ns/op |
1 |
BenchmarkInterfaceSlice/[]interface_{}([[]_[1_2]_3]) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkInterfaceSlice/[]interface_{}([[]_[1_2]_3]) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkInterfaceSlice/[3]interface_{}([[]_[1_2]_3]) |
63.39 ns/op 48 B/op 1 allocs/op |
65.69 ns/op 48 B/op 1 allocs/op |
0.96 |
BenchmarkInterfaceSlice/[3]interface_{}([[]_[1_2]_3]) - ns/op |
63.39 ns/op |
65.69 ns/op |
0.96 |
BenchmarkInterfaceSlice/[3]interface_{}([[]_[1_2]_3]) - B/op |
48 B/op |
48 B/op |
1 |
BenchmarkInterfaceSlice/[3]interface_{}([[]_[1_2]_3]) - allocs/op |
1 allocs/op |
1 allocs/op |
1 |
BenchmarkToBytes |
971.4 ns/op 40 B/op 3 allocs/op |
1024 ns/op 40 B/op 3 allocs/op |
0.95 |
BenchmarkToBytes - ns/op |
971.4 ns/op |
1024 ns/op |
0.95 |
BenchmarkToBytes - B/op |
40 B/op |
40 B/op |
1 |
BenchmarkToBytes - allocs/op |
3 allocs/op |
3 allocs/op |
1 |
BenchmarkIsFloat/int(0) |
3.163 ns/op 0 B/op 0 allocs/op |
3.096 ns/op 0 B/op 0 allocs/op |
1.02 |
BenchmarkIsFloat/int(0) - ns/op |
3.163 ns/op |
3.096 ns/op |
1.02 |
BenchmarkIsFloat/int(0) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/int(0) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/int(1) |
3.101 ns/op 0 B/op 0 allocs/op |
3.098 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int(1) - ns/op |
3.101 ns/op |
3.098 ns/op |
1.00 |
BenchmarkIsFloat/int(1) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/int(1) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/int(-1) |
3.098 ns/op 0 B/op 0 allocs/op |
3.102 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int(-1) - ns/op |
3.098 ns/op |
3.102 ns/op |
1.00 |
BenchmarkIsFloat/int(-1) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/int(-1) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/uint(42) |
3.13 ns/op 0 B/op 0 allocs/op |
3.099 ns/op 0 B/op 0 allocs/op |
1.01 |
BenchmarkIsFloat/uint(42) - ns/op |
3.13 ns/op |
3.099 ns/op |
1.01 |
BenchmarkIsFloat/uint(42) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/uint(42) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/uint8(255) |
3.095 ns/op 0 B/op 0 allocs/op |
3.1 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/uint8(255) - ns/op |
3.095 ns/op |
3.1 ns/op |
1.00 |
BenchmarkIsFloat/uint8(255) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/uint8(255) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/uint16(42) |
3.103 ns/op 0 B/op 0 allocs/op |
3.099 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/uint16(42) - ns/op |
3.103 ns/op |
3.099 ns/op |
1.00 |
BenchmarkIsFloat/uint16(42) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/uint16(42) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/uint32(42) |
3.097 ns/op 0 B/op 0 allocs/op |
3.115 ns/op 0 B/op 0 allocs/op |
0.99 |
BenchmarkIsFloat/uint32(42) - ns/op |
3.097 ns/op |
3.115 ns/op |
0.99 |
BenchmarkIsFloat/uint32(42) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/uint32(42) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/uint64(42) |
3.126 ns/op 0 B/op 0 allocs/op |
3.095 ns/op 0 B/op 0 allocs/op |
1.01 |
BenchmarkIsFloat/uint64(42) - ns/op |
3.126 ns/op |
3.095 ns/op |
1.01 |
BenchmarkIsFloat/uint64(42) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/uint64(42) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/int(42) |
3.099 ns/op 0 B/op 0 allocs/op |
3.098 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int(42) - ns/op |
3.099 ns/op |
3.098 ns/op |
1.00 |
BenchmarkIsFloat/int(42) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/int(42) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/int8(127) |
3.1 ns/op 0 B/op 0 allocs/op |
3.095 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int8(127) - ns/op |
3.1 ns/op |
3.095 ns/op |
1.00 |
BenchmarkIsFloat/int8(127) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/int8(127) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/int16(42) |
3.097 ns/op 0 B/op 0 allocs/op |
3.1 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int16(42) - ns/op |
3.097 ns/op |
3.1 ns/op |
1.00 |
BenchmarkIsFloat/int16(42) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/int16(42) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/int32(42) |
3.1 ns/op 0 B/op 0 allocs/op |
3.095 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int32(42) - ns/op |
3.1 ns/op |
3.095 ns/op |
1.00 |
BenchmarkIsFloat/int32(42) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/int32(42) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/int64(42) |
3.103 ns/op 0 B/op 0 allocs/op |
3.095 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int64(42) - ns/op |
3.103 ns/op |
3.095 ns/op |
1.00 |
BenchmarkIsFloat/int64(42) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/int64(42) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/float32(18.3) |
2.802 ns/op 0 B/op 0 allocs/op |
2.785 ns/op 0 B/op 0 allocs/op |
1.01 |
BenchmarkIsFloat/float32(18.3) - ns/op |
2.802 ns/op |
2.785 ns/op |
1.01 |
BenchmarkIsFloat/float32(18.3) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/float32(18.3) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/float64(18.3) |
2.785 ns/op 0 B/op 0 allocs/op |
2.788 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/float64(18.3) - ns/op |
2.785 ns/op |
2.788 ns/op |
1.00 |
BenchmarkIsFloat/float64(18.3) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/float64(18.3) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/float64(1.5) |
2.788 ns/op 0 B/op 0 allocs/op |
2.789 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/float64(1.5) - ns/op |
2.788 ns/op |
2.789 ns/op |
1.00 |
BenchmarkIsFloat/float64(1.5) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/float64(1.5) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/float64(-18.6) |
2.784 ns/op 0 B/op 0 allocs/op |
2.789 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/float64(-18.6) - ns/op |
2.784 ns/op |
2.789 ns/op |
1.00 |
BenchmarkIsFloat/float64(-18.6) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/float64(-18.6) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/string(42) |
34.13 ns/op 0 B/op 0 allocs/op |
34.12 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/string(42) - ns/op |
34.13 ns/op |
34.12 ns/op |
1.00 |
BenchmarkIsFloat/string(42) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/string(42) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/string(052) |
38.15 ns/op 0 B/op 0 allocs/op |
38.15 ns/op 0 B/op 0 allocs/op |
1 |
BenchmarkIsFloat/string(052) - ns/op |
38.15 ns/op |
38.15 ns/op |
1 |
BenchmarkIsFloat/string(052) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/string(052) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/string(0xff) |
72.18 ns/op 52 B/op 2 allocs/op |
73.02 ns/op 52 B/op 2 allocs/op |
0.99 |
BenchmarkIsFloat/string(0xff) - ns/op |
72.18 ns/op |
73.02 ns/op |
0.99 |
BenchmarkIsFloat/string(0xff) - B/op |
52 B/op |
52 B/op |
1 |
BenchmarkIsFloat/string(0xff) - allocs/op |
2 allocs/op |
2 allocs/op |
1 |
BenchmarkIsFloat/string(-42) |
35.98 ns/op 0 B/op 0 allocs/op |
36.02 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/string(-42) - ns/op |
35.98 ns/op |
36.02 ns/op |
1.00 |
BenchmarkIsFloat/string(-42) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/string(-42) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/string(-0) |
32.57 ns/op 0 B/op 0 allocs/op |
32.54 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/string(-0) - ns/op |
32.57 ns/op |
32.54 ns/op |
1.00 |
BenchmarkIsFloat/string(-0) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/string(-0) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkIsFloat/string(3.14) |
104.8 ns/op 56 B/op 3 allocs/op |
107.4 ns/op 56 B/op 3 allocs/op |
0.98 |
BenchmarkIsFloat/string(3.14) - ns/op |
104.8 ns/op |
107.4 ns/op |
0.98 |
BenchmarkIsFloat/string(3.14) - B/op |
56 B/op |
56 B/op |
1 |
BenchmarkIsFloat/string(3.14) - allocs/op |
3 allocs/op |
3 allocs/op |
1 |
BenchmarkIsFloat/string(-3.14) |
112.3 ns/op 64 B/op 3 allocs/op |
114 ns/op 64 B/op 3 allocs/op |
0.99 |
BenchmarkIsFloat/string(-3.14) - ns/op |
112.3 ns/op |
114 ns/op |
0.99 |
BenchmarkIsFloat/string(-3.14) - B/op |
64 B/op |
64 B/op |
1 |
BenchmarkIsFloat/string(-3.14) - allocs/op |
3 allocs/op |
3 allocs/op |
1 |
BenchmarkIsFloat/string(0.00) |
106.6 ns/op 56 B/op 3 allocs/op |
108.3 ns/op 56 B/op 3 allocs/op |
0.98 |
BenchmarkIsFloat/string(0.00) - ns/op |
106.6 ns/op |
108.3 ns/op |
0.98 |
BenchmarkIsFloat/string(0.00) - B/op |
56 B/op |
56 B/op |
1 |
BenchmarkIsFloat/string(0.00) - allocs/op |
3 allocs/op |
3 allocs/op |
1 |
BenchmarkIsFloat/string(NaN) |
93.72 ns/op 54 B/op 3 allocs/op |
95.75 ns/op 54 B/op 3 allocs/op |
0.98 |
BenchmarkIsFloat/string(NaN) - ns/op |
93.72 ns/op |
95.75 ns/op |
0.98 |
BenchmarkIsFloat/string(NaN) - B/op |
54 B/op |
54 B/op |
1 |
BenchmarkIsFloat/string(NaN) - allocs/op |
3 allocs/op |
3 allocs/op |
1 |
BenchmarkIsFloat/string(-Inf) |
92.84 ns/op 56 B/op 3 allocs/op |
96.33 ns/op 56 B/op 3 allocs/op |
0.96 |
BenchmarkIsFloat/string(-Inf) - ns/op |
92.84 ns/op |
96.33 ns/op |
0.96 |
BenchmarkIsFloat/string(-Inf) - B/op |
56 B/op |
56 B/op |
1 |
BenchmarkIsFloat/string(-Inf) - allocs/op |
3 allocs/op |
3 allocs/op |
1 |
BenchmarkIsFloat/string(+Inf) |
92.89 ns/op 56 B/op 3 allocs/op |
96.03 ns/op 56 B/op 3 allocs/op |
0.97 |
BenchmarkIsFloat/string(+Inf) - ns/op |
92.89 ns/op |
96.03 ns/op |
0.97 |
BenchmarkIsFloat/string(+Inf) - B/op |
56 B/op |
56 B/op |
1 |
BenchmarkIsFloat/string(+Inf) - allocs/op |
3 allocs/op |
3 allocs/op |
1 |
BenchmarkIsFloat/string() |
49.84 ns/op 48 B/op 1 allocs/op |
51.05 ns/op 48 B/op 1 allocs/op |
0.98 |
BenchmarkIsFloat/string() - ns/op |
49.84 ns/op |
51.05 ns/op |
0.98 |
BenchmarkIsFloat/string() - B/op |
48 B/op |
48 B/op |
1 |
BenchmarkIsFloat/string() - allocs/op |
1 allocs/op |
1 allocs/op |
1 |
BenchmarkIsFloat/string(foo) |
69.6 ns/op 51 B/op 2 allocs/op |
71.77 ns/op 51 B/op 2 allocs/op |
0.97 |
BenchmarkIsFloat/string(foo) - ns/op |
69.6 ns/op |
71.77 ns/op |
0.97 |
BenchmarkIsFloat/string(foo) - B/op |
51 B/op |
51 B/op |
1 |
BenchmarkIsFloat/string(foo) - allocs/op |
2 allocs/op |
2 allocs/op |
1 |
BenchmarkIsFloat/bool(true) |
3.099 ns/op 0 B/op 0 allocs/op |
3.096 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/bool(true) - ns/op |
3.099 ns/op |
3.096 ns/op |
1.00 |
BenchmarkIsFloat/bool(true) - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkIsFloat/bool(true) - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkLookupIPs |
49792 ns/op 1840 B/op 44 allocs/op |
51929 ns/op 1840 B/op 44 allocs/op |
0.96 |
BenchmarkLookupIPs - ns/op |
49792 ns/op |
51929 ns/op |
0.96 |
BenchmarkLookupIPs - B/op |
1840 B/op |
1840 B/op |
1 |
BenchmarkLookupIPs - allocs/op |
44 allocs/op |
44 allocs/op |
1 |
BenchmarkIndent |
2058 ns/op 2064 B/op 20 allocs/op |
2062 ns/op 2064 B/op 20 allocs/op |
1.00 |
BenchmarkIndent - ns/op |
2058 ns/op |
2062 ns/op |
1.00 |
BenchmarkIndent - B/op |
2064 B/op |
2064 B/op |
1 |
BenchmarkIndent - allocs/op |
20 allocs/op |
20 allocs/op |
1 |
This comment was automatically generated by workflow using github-action-benchmark.
- name: Store benchmark result | ||
uses: benchmark-action/github-action-benchmark@v1 | ||
with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL about this action. Sounds interesting!
(sorry for the random comment, I'm still subscribed to this repo, just a bit of a fly on the wall here ❤️)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋😁
I've been toying around with it a bit in a few repos... It can generate some graphs (like https://hairyhenderson.github.io/go-codeowners/dev/bench), but I don't like how they look. I've been thinking of pushing the data into a public Grafana dashboard; maybe a Christmas vacation side-project 😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same(ish); we've been discussing for a while that we would really love to have metrics of CI over time; (performance) regressions always tend to sneak in really granularly, and honestly, GitHub actions does not provide any good tooling on itself to keep eyes on those.
The BuildKit team started some work on a "bench" repository for BuildKit to compare things between versions;
- https://github.com/moby/buildkit-bench
- website with results; https://moby.github.io/buildkit-bench/
(for sure "borrow" anything from that if its of use! we may be doing so as well for the engine 😄)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(We also have some internal tools that collect data, which I think is also a combination of grafana and other bits and bops, but not yet in a good shape for this exact purpose)
No description provided.