-
-
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
fix(datasources): Properly support aws+sm with args #2291
Merged
Merged
Conversation
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
Signed-off-by: Dave Henderson <[email protected]>
hairyhenderson
force-pushed
the
fix-aws-sm-ds-access-with-args-2190
branch
from
December 17, 2024 01:37
1aed465
to
ee26404
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: ee26404 | Previous: 66fd58b | Ratio |
---|---|---|---|
BenchmarkFlatten/depth-1_[]int([1_2_3]) |
180.2 ns/op 168 B/op 5 allocs/op |
165.7 ns/op 168 B/op 5 allocs/op |
1.09 |
BenchmarkFlatten/depth-1_[]int([1_2_3]) - ns/op |
180.2 ns/op |
165.7 ns/op |
1.09 |
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.8 ns/op 144 B/op 2 allocs/op |
117.2 ns/op 144 B/op 2 allocs/op |
1.00 |
BenchmarkFlatten/depth-1_[3]int([1_2_3]) - ns/op |
116.8 ns/op |
117.2 ns/op |
1.00 |
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]) |
221.4 ns/op 208 B/op 5 allocs/op |
203.4 ns/op 208 B/op 5 allocs/op |
1.09 |
BenchmarkFlatten/depth-1_[]interface_{}([[]_[1_2]_3]) - ns/op |
221.4 ns/op |
203.4 ns/op |
1.09 |
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]) |
428.8 ns/op 344 B/op 11 allocs/op |
422.8 ns/op 344 B/op 11 allocs/op |
1.01 |
BenchmarkFlatten/depth-1_[]interface_{}([[one]_[[1_2]]_3]) - ns/op |
428.8 ns/op |
422.8 ns/op |
1.01 |
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]) |
807.9 ns/op 896 B/op 19 allocs/op |
791.2 ns/op 896 B/op 19 allocs/op |
1.02 |
BenchmarkFlatten/depth-1_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - ns/op |
807.9 ns/op |
791.2 ns/op |
1.02 |
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]) |
125.9 ns/op 72 B/op 4 allocs/op |
114.2 ns/op 72 B/op 4 allocs/op |
1.10 |
BenchmarkFlatten/depth0_[]int([1_2_3]) - ns/op |
125.9 ns/op |
114.2 ns/op |
1.10 |
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]) |
63.35 ns/op 48 B/op 1 allocs/op |
63.74 ns/op 48 B/op 1 allocs/op |
0.99 |
BenchmarkFlatten/depth0_[3]int([1_2_3]) - ns/op |
63.35 ns/op |
63.74 ns/op |
0.99 |
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.335 ns/op 0 B/op 0 allocs/op |
4.33 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkFlatten/depth0_[]interface_{}([[]_[1_2]_3]) - ns/op |
4.335 ns/op |
4.33 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.354 ns/op 0 B/op 0 allocs/op |
4.442 ns/op 0 B/op 0 allocs/op |
0.98 |
BenchmarkFlatten/depth0_[]interface_{}([[one]_[[1_2]]_3]) - ns/op |
4.354 ns/op |
4.442 ns/op |
0.98 |
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.349 ns/op 0 B/op 0 allocs/op |
4.301 ns/op 0 B/op 0 allocs/op |
1.01 |
BenchmarkFlatten/depth0_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - ns/op |
4.349 ns/op |
4.301 ns/op |
1.01 |
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]) |
173.1 ns/op 168 B/op 5 allocs/op |
166.1 ns/op 168 B/op 5 allocs/op |
1.04 |
BenchmarkFlatten/depth1_[]int([1_2_3]) - ns/op |
173.1 ns/op |
166.1 ns/op |
1.04 |
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.1 ns/op 144 B/op 2 allocs/op |
116.9 ns/op 144 B/op 2 allocs/op |
0.99 |
BenchmarkFlatten/depth1_[3]int([1_2_3]) - ns/op |
116.1 ns/op |
116.9 ns/op |
0.99 |
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]) |
161.6 ns/op 144 B/op 4 allocs/op |
157.9 ns/op 144 B/op 4 allocs/op |
1.02 |
BenchmarkFlatten/depth1_[]interface_{}([[]_[1_2]_3]) - ns/op |
161.6 ns/op |
157.9 ns/op |
1.02 |
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]) |
216.4 ns/op 168 B/op 5 allocs/op |
210.8 ns/op 168 B/op 5 allocs/op |
1.03 |
BenchmarkFlatten/depth1_[]interface_{}([[one]_[[1_2]]_3]) - ns/op |
216.4 ns/op |
210.8 ns/op |
1.03 |
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]) |
147.2 ns/op 128 B/op 3 allocs/op |
140.6 ns/op 128 B/op 3 allocs/op |
1.05 |
BenchmarkFlatten/depth1_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - ns/op |
147.2 ns/op |
140.6 ns/op |
1.05 |
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]) |
170.7 ns/op 168 B/op 5 allocs/op |
166.3 ns/op 168 B/op 5 allocs/op |
1.03 |
BenchmarkFlatten/depth2_[]int([1_2_3]) - ns/op |
170.7 ns/op |
166.3 ns/op |
1.03 |
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.7 ns/op 144 B/op 2 allocs/op |
116.9 ns/op 144 B/op 2 allocs/op |
1.00 |
BenchmarkFlatten/depth2_[3]int([1_2_3]) - ns/op |
116.7 ns/op |
116.9 ns/op |
1.00 |
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]) |
203.8 ns/op 208 B/op 5 allocs/op |
203.9 ns/op 208 B/op 5 allocs/op |
1.00 |
BenchmarkFlatten/depth2_[]interface_{}([[]_[1_2]_3]) - ns/op |
203.8 ns/op |
203.9 ns/op |
1.00 |
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]) |
371.6 ns/op 280 B/op 10 allocs/op |
368.6 ns/op 280 B/op 10 allocs/op |
1.01 |
BenchmarkFlatten/depth2_[]interface_{}([[one]_[[1_2]]_3]) - ns/op |
371.6 ns/op |
368.6 ns/op |
1.01 |
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]) |
325.6 ns/op 272 B/op 8 allocs/op |
324.6 ns/op 272 B/op 8 allocs/op |
1.00 |
BenchmarkFlatten/depth2_[]interface_{}([[one]_[[[1]_[2_[3]]]_[4_5]]_6]) - ns/op |
325.6 ns/op |
324.6 ns/op |
1.00 |
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]) |
117.5 ns/op 72 B/op 4 allocs/op |
112.6 ns/op 72 B/op 4 allocs/op |
1.04 |
BenchmarkInterfaceSlice/[]int([1_2_3]) - ns/op |
117.5 ns/op |
112.6 ns/op |
1.04 |
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]) |
63.23 ns/op 48 B/op 1 allocs/op |
60.15 ns/op 48 B/op 1 allocs/op |
1.05 |
BenchmarkInterfaceSlice/[3]int([1_2_3]) - ns/op |
63.23 ns/op |
60.15 ns/op |
1.05 |
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]) |
584 ns/op 384 B/op 13 allocs/op |
536.3 ns/op 384 B/op 13 allocs/op |
1.09 |
BenchmarkInterfaceSlice/[]string([foo_bar_baz_foo_bar_baz_foo_bar_baz_foo_bar_baz]) - ns/op |
584 ns/op |
536.3 ns/op |
1.09 |
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]) |
161.1 ns/op 192 B/op 1 allocs/op |
152.9 ns/op 192 B/op 1 allocs/op |
1.05 |
BenchmarkInterfaceSlice/[12]string([foo_bar_baz_foo_bar_baz_foo_bar_baz_foo_bar_baz]) - ns/op |
161.1 ns/op |
152.9 ns/op |
1.05 |
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.171 ns/op 0 B/op 0 allocs/op |
2.202 ns/op 0 B/op 0 allocs/op |
0.99 |
BenchmarkInterfaceSlice/[]interface_{}([[]_[1_2]_3]) - ns/op |
2.171 ns/op |
2.202 ns/op |
0.99 |
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]) |
66.53 ns/op 48 B/op 1 allocs/op |
63.17 ns/op 48 B/op 1 allocs/op |
1.05 |
BenchmarkInterfaceSlice/[3]interface_{}([[]_[1_2]_3]) - ns/op |
66.53 ns/op |
63.17 ns/op |
1.05 |
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 |
BenchmarkResolveURL/base=http://example.com/foo.json_rel=bar.json |
596.1 ns/op 456 B/op 5 allocs/op |
||
BenchmarkResolveURL/base=http://example.com/foo.json_rel=bar.json - ns/op |
596.1 ns/op |
||
BenchmarkResolveURL/base=http://example.com/foo.json_rel=bar.json - B/op |
456 B/op |
||
BenchmarkResolveURL/base=http://example.com/foo.json_rel=bar.json - allocs/op |
5 allocs/op |
||
BenchmarkResolveURL/base=git+file:///tmp/repo//foo.txt_rel= |
79.3 ns/op 144 B/op 1 allocs/op |
||
BenchmarkResolveURL/base=git+file:///tmp/repo//foo.txt_rel= - ns/op |
79.3 ns/op |
||
BenchmarkResolveURL/base=git+file:///tmp/repo//foo.txt_rel= - B/op |
144 B/op |
||
BenchmarkResolveURL/base=git+file:///tmp/repo//foo.txt_rel= - allocs/op |
1 allocs/op |
||
BenchmarkResolveURL/base=tmp/foo.json_rel= |
78.46 ns/op 144 B/op 1 allocs/op |
||
BenchmarkResolveURL/base=tmp/foo.json_rel= - ns/op |
78.46 ns/op |
||
BenchmarkResolveURL/base=tmp/foo.json_rel= - B/op |
144 B/op |
||
BenchmarkResolveURL/base=tmp/foo.json_rel= - allocs/op |
1 allocs/op |
||
BenchmarkResolveURL/base=/tmp/_rel=foo.json |
612.7 ns/op 456 B/op 5 allocs/op |
||
BenchmarkResolveURL/base=/tmp/_rel=foo.json - ns/op |
612.7 ns/op |
||
BenchmarkResolveURL/base=/tmp/_rel=foo.json - B/op |
456 B/op |
||
BenchmarkResolveURL/base=/tmp/_rel=foo.json - allocs/op |
5 allocs/op |
||
BenchmarkResolveURL/base=../../tmp/foo.json_rel= |
78.65 ns/op 144 B/op 1 allocs/op |
||
BenchmarkResolveURL/base=../../tmp/foo.json_rel= - ns/op |
78.65 ns/op |
||
BenchmarkResolveURL/base=../../tmp/foo.json_rel= - B/op |
144 B/op |
||
BenchmarkResolveURL/base=../../tmp/foo.json_rel= - allocs/op |
1 allocs/op |
||
BenchmarkResolveURL/base=../../tmp/_rel=sub/foo.json |
1278 ns/op 840 B/op 14 allocs/op |
||
BenchmarkResolveURL/base=../../tmp/_rel=sub/foo.json - ns/op |
1278 ns/op |
||
BenchmarkResolveURL/base=../../tmp/_rel=sub/foo.json - B/op |
840 B/op |
||
BenchmarkResolveURL/base=../../tmp/_rel=sub/foo.json - allocs/op |
14 allocs/op |
||
BenchmarkResolveURL/base=aws+sm:_rel=foo |
81.53 ns/op 144 B/op 1 allocs/op |
||
BenchmarkResolveURL/base=aws+sm:_rel=foo - ns/op |
81.53 ns/op |
||
BenchmarkResolveURL/base=aws+sm:_rel=foo - B/op |
144 B/op |
||
BenchmarkResolveURL/base=aws+sm:_rel=foo - allocs/op |
1 allocs/op |
||
BenchmarkResolveURL/base=aws+sm:_rel=/foo |
434.2 ns/op 440 B/op 4 allocs/op |
||
BenchmarkResolveURL/base=aws+sm:_rel=/foo - ns/op |
434.2 ns/op |
||
BenchmarkResolveURL/base=aws+sm:_rel=/foo - B/op |
440 B/op |
||
BenchmarkResolveURL/base=aws+sm:_rel=/foo - allocs/op |
4 allocs/op |
||
BenchmarkResolveURL/base=aws+sm:foo_rel=bar |
146.6 ns/op 160 B/op 3 allocs/op |
||
BenchmarkResolveURL/base=aws+sm:foo_rel=bar - ns/op |
146.6 ns/op |
||
BenchmarkResolveURL/base=aws+sm:foo_rel=bar - B/op |
160 B/op |
||
BenchmarkResolveURL/base=aws+sm:foo_rel=bar - allocs/op |
3 allocs/op |
||
BenchmarkResolveURL/base=aws+sm:///foo_rel=bar |
478.6 ns/op 440 B/op 4 allocs/op |
||
BenchmarkResolveURL/base=aws+sm:///foo_rel=bar - ns/op |
478.6 ns/op |
||
BenchmarkResolveURL/base=aws+sm:///foo_rel=bar - B/op |
440 B/op |
||
BenchmarkResolveURL/base=aws+sm:///foo_rel=bar - allocs/op |
4 allocs/op |
||
BenchmarkToBytes |
1089 ns/op 40 B/op 3 allocs/op |
1125 ns/op 40 B/op 3 allocs/op |
0.97 |
BenchmarkToBytes - ns/op |
1089 ns/op |
1125 ns/op |
0.97 |
BenchmarkToBytes - B/op |
40 B/op |
40 B/op |
1 |
BenchmarkToBytes - allocs/op |
3 allocs/op |
3 allocs/op |
1 |
BenchmarkIsFloat/int(0) |
3.095 ns/op 0 B/op 0 allocs/op |
3.178 ns/op 0 B/op 0 allocs/op |
0.97 |
BenchmarkIsFloat/int(0) - ns/op |
3.095 ns/op |
3.178 ns/op |
0.97 |
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.183 ns/op 0 B/op 0 allocs/op |
3.102 ns/op 0 B/op 0 allocs/op |
1.03 |
BenchmarkIsFloat/int(1) - ns/op |
3.183 ns/op |
3.102 ns/op |
1.03 |
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.097 ns/op 0 B/op 0 allocs/op |
3.135 ns/op 0 B/op 0 allocs/op |
0.99 |
BenchmarkIsFloat/int(-1) - ns/op |
3.097 ns/op |
3.135 ns/op |
0.99 |
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.1 ns/op 0 B/op 0 allocs/op |
3.097 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/uint(42) - ns/op |
3.1 ns/op |
3.097 ns/op |
1.00 |
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.097 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/uint8(255) - ns/op |
3.095 ns/op |
3.097 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.104 ns/op 0 B/op 0 allocs/op |
3.102 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/uint16(42) - ns/op |
3.104 ns/op |
3.102 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.095 ns/op 0 B/op 0 allocs/op |
3.096 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/uint32(42) - ns/op |
3.095 ns/op |
3.096 ns/op |
1.00 |
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.096 ns/op 0 B/op 0 allocs/op |
3.101 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/uint64(42) - ns/op |
3.096 ns/op |
3.101 ns/op |
1.00 |
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.101 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int(42) - ns/op |
3.099 ns/op |
3.101 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.096 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int8(127) - ns/op |
3.1 ns/op |
3.096 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.103 ns/op 0 B/op 0 allocs/op |
3.102 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int16(42) - ns/op |
3.103 ns/op |
3.102 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.098 ns/op 0 B/op 0 allocs/op |
3.094 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int32(42) - ns/op |
3.098 ns/op |
3.094 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.096 ns/op 0 B/op 0 allocs/op |
3.1 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/int64(42) - ns/op |
3.096 ns/op |
3.1 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.479 ns/op 0 B/op 0 allocs/op |
2.786 ns/op 0 B/op 0 allocs/op |
0.89 |
BenchmarkIsFloat/float32(18.3) - ns/op |
2.479 ns/op |
2.786 ns/op |
0.89 |
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.792 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/float64(18.3) - ns/op |
2.785 ns/op |
2.792 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.799 ns/op 0 B/op 0 allocs/op |
2.786 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/float64(1.5) - ns/op |
2.799 ns/op |
2.786 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.788 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.788 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.44 ns/op 0 B/op 0 allocs/op |
34.1 ns/op 0 B/op 0 allocs/op |
1.01 |
BenchmarkIsFloat/string(42) - ns/op |
34.44 ns/op |
34.1 ns/op |
1.01 |
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.41 ns/op 0 B/op 0 allocs/op |
38.08 ns/op 0 B/op 0 allocs/op |
1.01 |
BenchmarkIsFloat/string(052) - ns/op |
38.41 ns/op |
38.08 ns/op |
1.01 |
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) |
74.07 ns/op 52 B/op 2 allocs/op |
72.28 ns/op 52 B/op 2 allocs/op |
1.02 |
BenchmarkIsFloat/string(0xff) - ns/op |
74.07 ns/op |
72.28 ns/op |
1.02 |
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) |
36.61 ns/op 0 B/op 0 allocs/op |
35.95 ns/op 0 B/op 0 allocs/op |
1.02 |
BenchmarkIsFloat/string(-42) - ns/op |
36.61 ns/op |
35.95 ns/op |
1.02 |
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.3 ns/op 0 B/op 0 allocs/op |
32.63 ns/op 0 B/op 0 allocs/op |
0.99 |
BenchmarkIsFloat/string(-0) - ns/op |
32.3 ns/op |
32.63 ns/op |
0.99 |
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) |
110.2 ns/op 56 B/op 3 allocs/op |
105.3 ns/op 56 B/op 3 allocs/op |
1.05 |
BenchmarkIsFloat/string(3.14) - ns/op |
110.2 ns/op |
105.3 ns/op |
1.05 |
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) |
123.1 ns/op 64 B/op 3 allocs/op |
112.2 ns/op 64 B/op 3 allocs/op |
1.10 |
BenchmarkIsFloat/string(-3.14) - ns/op |
123.1 ns/op |
112.2 ns/op |
1.10 |
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) |
105 ns/op 56 B/op 3 allocs/op |
105.8 ns/op 56 B/op 3 allocs/op |
0.99 |
BenchmarkIsFloat/string(0.00) - ns/op |
105 ns/op |
105.8 ns/op |
0.99 |
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) |
97 ns/op 54 B/op 3 allocs/op |
93.86 ns/op 54 B/op 3 allocs/op |
1.03 |
BenchmarkIsFloat/string(NaN) - ns/op |
97 ns/op |
93.86 ns/op |
1.03 |
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) |
100.3 ns/op 56 B/op 3 allocs/op |
92.49 ns/op 56 B/op 3 allocs/op |
1.08 |
BenchmarkIsFloat/string(-Inf) - ns/op |
100.3 ns/op |
92.49 ns/op |
1.08 |
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) |
100.1 ns/op 56 B/op 3 allocs/op |
93.17 ns/op 56 B/op 3 allocs/op |
1.07 |
BenchmarkIsFloat/string(+Inf) - ns/op |
100.1 ns/op |
93.17 ns/op |
1.07 |
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() |
50.7 ns/op 48 B/op 1 allocs/op |
49.84 ns/op 48 B/op 1 allocs/op |
1.02 |
BenchmarkIsFloat/string() - ns/op |
50.7 ns/op |
49.84 ns/op |
1.02 |
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) |
71.76 ns/op 51 B/op 2 allocs/op |
69.53 ns/op 51 B/op 2 allocs/op |
1.03 |
BenchmarkIsFloat/string(foo) - ns/op |
71.76 ns/op |
69.53 ns/op |
1.03 |
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.096 ns/op 0 B/op 0 allocs/op |
3.097 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkIsFloat/bool(true) - ns/op |
3.096 ns/op |
3.097 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 |
49180 ns/op 1872 B/op 46 allocs/op |
50737 ns/op 1840 B/op 44 allocs/op |
0.97 |
BenchmarkLookupIPs - ns/op |
49180 ns/op |
50737 ns/op |
0.97 |
BenchmarkLookupIPs - B/op |
1872 B/op |
1840 B/op |
1.02 |
BenchmarkLookupIPs - allocs/op |
46 allocs/op |
44 allocs/op |
1.05 |
BenchmarkIndent |
1836 ns/op 2040 B/op 18 allocs/op |
1946 ns/op 2064 B/op 20 allocs/op |
0.94 |
BenchmarkIndent - ns/op |
1836 ns/op |
1946 ns/op |
0.94 |
BenchmarkIndent - B/op |
2040 B/op |
2064 B/op |
0.99 |
BenchmarkIndent - allocs/op |
18 allocs/op |
20 allocs/op |
0.90 |
This comment was automatically generated by workflow using github-action-benchmark.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #2190; the second part - see #2190 (comment)