You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
f5263f1
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
BenchmarkCachedRaw - ns/op
20.61
ns/op20.63
ns/op1.00
BenchmarkCachedRaw - B/op
0
B/op0
B/opNaN
BenchmarkCachedRaw - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkCachedBasicModel - ns/op
236
ns/op227.4
ns/op1.04
BenchmarkCachedBasicModel - B/op
104
B/op104
B/op1
BenchmarkCachedBasicModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModel - ns/op
230
ns/op228.7
ns/op1.01
BenchmarkCachedRBACModel - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelSmall - ns/op
236.3
ns/op234.8
ns/op1.01
BenchmarkCachedRBACModelSmall - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelSmall - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelMedium - ns/op
243.7
ns/op254.7
ns/op0.96
BenchmarkCachedRBACModelMedium - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelMedium - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelLarge - ns/op
228.6
ns/op219.1
ns/op1.04
BenchmarkCachedRBACModelLarge - B/op
96
B/op96
B/op1
BenchmarkCachedRBACModelLarge - allocs/op
3
allocs/op3
allocs/op1
BenchmarkCachedRBACModelWithResourceRoles - ns/op
237.3
ns/op228.8
ns/op1.04
BenchmarkCachedRBACModelWithResourceRoles - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelWithResourceRoles - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelWithDomains - ns/op
249.8
ns/op245
ns/op1.02
BenchmarkCachedRBACModelWithDomains - B/op
120
B/op120
B/op1
BenchmarkCachedRBACModelWithDomains - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedABACModel - ns/op
3699
ns/op3578
ns/op1.03
BenchmarkCachedABACModel - B/op
1524
B/op1522
B/op1.00
BenchmarkCachedABACModel - allocs/op
18
allocs/op18
allocs/op1
BenchmarkCachedKeyMatchModel - ns/op
256.4
ns/op246
ns/op1.04
BenchmarkCachedKeyMatchModel - B/op
152
B/op152
B/op1
BenchmarkCachedKeyMatchModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelWithDeny - ns/op
234.1
ns/op227.7
ns/op1.03
BenchmarkCachedRBACModelWithDeny - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelWithDeny - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedPriorityModel - ns/op
233.8
ns/op240.7
ns/op0.97
BenchmarkCachedPriorityModel - B/op
104
B/op104
B/op1
BenchmarkCachedPriorityModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedWithEnforceContext - ns/op
441.3
ns/op432
ns/op1.02
BenchmarkCachedWithEnforceContext - B/op
240
B/op240
B/op1
BenchmarkCachedWithEnforceContext - allocs/op
5
allocs/op5
allocs/op1
BenchmarkCachedRBACModelMediumParallel - ns/op
228.7
ns/op235.2
ns/op0.97
BenchmarkCachedRBACModelMediumParallel - B/op
105
B/op105
B/op1
BenchmarkCachedRBACModelMediumParallel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkHasPolicySmall - ns/op
692.7
ns/op680.6
ns/op1.02
BenchmarkHasPolicySmall - B/op
150
B/op150
B/op1
BenchmarkHasPolicySmall - allocs/op
6
allocs/op6
allocs/op1
BenchmarkHasPolicyMedium - ns/op
741.3
ns/op747.2
ns/op0.99
BenchmarkHasPolicyMedium - B/op
157
B/op157
B/op1
BenchmarkHasPolicyMedium - allocs/op
6
allocs/op6
allocs/op1
BenchmarkHasPolicyLarge - ns/op
786.1
ns/op758.8
ns/op1.04
BenchmarkHasPolicyLarge - B/op
165
B/op165
B/op1
BenchmarkHasPolicyLarge - allocs/op
7
allocs/op7
allocs/op1
BenchmarkAddPolicySmall - ns/op
725.6
ns/op720.8
ns/op1.01
BenchmarkAddPolicySmall - B/op
152
B/op152
B/op1
BenchmarkAddPolicySmall - allocs/op
6
allocs/op6
allocs/op1
BenchmarkAddPolicyMedium - ns/op
1022
ns/op957.6
ns/op1.07
BenchmarkAddPolicyMedium - B/op
182
B/op180
B/op1.01
BenchmarkAddPolicyMedium - allocs/op
7
allocs/op7
allocs/op1
BenchmarkAddPolicyLarge - ns/op
1619
ns/op1700
ns/op0.95
BenchmarkAddPolicyLarge - B/op
413
B/op463
B/op0.89
BenchmarkAddPolicyLarge - allocs/op
9
allocs/op9
allocs/op1
BenchmarkRemovePolicySmall - ns/op
729
ns/op720.7
ns/op1.01
BenchmarkRemovePolicySmall - B/op
166
B/op166
B/op1
BenchmarkRemovePolicySmall - allocs/op
7
allocs/op7
allocs/op1
BenchmarkRemovePolicyMedium - ns/op
823.7
ns/op812
ns/op1.01
BenchmarkRemovePolicyMedium - B/op
178
B/op178
B/op1
BenchmarkRemovePolicyMedium - allocs/op
7
allocs/op7
allocs/op1
BenchmarkRemovePolicyLarge - ns/op
1733
ns/op1670
ns/op1.04
BenchmarkRemovePolicyLarge - B/op
293
B/op293
B/op1
BenchmarkRemovePolicyLarge - allocs/op
13
allocs/op13
allocs/op1
BenchmarkRaw - ns/op
20.65
ns/op20.59
ns/op1.00
BenchmarkRaw - B/op
0
B/op0
B/opNaN
BenchmarkRaw - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkBasicModel - ns/op
4691
ns/op4603
ns/op1.02
BenchmarkBasicModel - B/op
1492
B/op1488
B/op1.00
BenchmarkBasicModel - allocs/op
17
allocs/op17
allocs/op1
BenchmarkRBACModel - ns/op
7142
ns/op7097
ns/op1.01
BenchmarkRBACModel - B/op
2039
B/op2033
B/op1.00
BenchmarkRBACModel - allocs/op
35
allocs/op35
allocs/op1
BenchmarkRBACModelSizes/small - ns/op
65963
ns/op63713
ns/op1.04
BenchmarkRBACModelSizes/small - B/op
20008
B/op19961
B/op1.00
BenchmarkRBACModelSizes/small - allocs/op
480
allocs/op480
allocs/op1
BenchmarkRBACModelSizes/medium - ns/op
761965
ns/op723241
ns/op1.05
BenchmarkRBACModelSizes/medium - B/op
191280
B/op191292
B/op1.00
BenchmarkRBACModelSizes/medium - allocs/op
4827
allocs/op4829
allocs/op1.00
BenchmarkRBACModelSizes/large - ns/op
8783663
ns/op8190155
ns/op1.07
BenchmarkRBACModelSizes/large - B/op
1895352
B/op1899289
B/op1.00
BenchmarkRBACModelSizes/large - allocs/op
48057
allocs/op48168
allocs/op1.00
BenchmarkRBACModelSmall - ns/op
78067
ns/op78583
ns/op0.99
BenchmarkRBACModelSmall - B/op
20074
B/op20024
B/op1.00
BenchmarkRBACModelSmall - allocs/op
615
allocs/op615
allocs/op1
BenchmarkRBACModelMedium - ns/op
754597
ns/op759773
ns/op0.99
BenchmarkRBACModelMedium - B/op
194370
B/op194076
B/op1.00
BenchmarkRBACModelMedium - allocs/op
6022
allocs/op6022
allocs/op1
BenchmarkRBACModelLarge - ns/op
9468711
ns/op8955833
ns/op1.06
BenchmarkRBACModelLarge - B/op
1947855
B/op1948375
B/op1.00
BenchmarkRBACModelLarge - allocs/op
60927
allocs/op60935
allocs/op1.00
BenchmarkRBACModelWithResourceRoles - ns/op
5865
ns/op5745
ns/op1.02
BenchmarkRBACModelWithResourceRoles - B/op
1824
B/op1820
B/op1.00
BenchmarkRBACModelWithResourceRoles - allocs/op
27
allocs/op27
allocs/op1
BenchmarkRBACModelWithDomains - ns/op
6466
ns/op6503
ns/op0.99
BenchmarkRBACModelWithDomains - B/op
1806
B/op1803
B/op1.00
BenchmarkRBACModelWithDomains - allocs/op
25
allocs/op25
allocs/op1
BenchmarkABACModel - ns/op
3610
ns/op3587
ns/op1.01
BenchmarkABACModel - B/op
1516
B/op1511
B/op1.00
BenchmarkABACModel - allocs/op
17
allocs/op17
allocs/op1
BenchmarkABACRuleModel - ns/op
4984415
ns/op4886698
ns/op1.02
BenchmarkABACRuleModel - B/op
1307380
B/op1302457
B/op1.00
BenchmarkABACRuleModel - allocs/op
40089
allocs/op40088
allocs/op1.00
BenchmarkKeyMatchModel - ns/op
7788
ns/op7729
ns/op1.01
BenchmarkKeyMatchModel - B/op
3028
B/op3018
B/op1.00
BenchmarkKeyMatchModel - allocs/op
37
allocs/op37
allocs/op1
BenchmarkRBACModelWithDeny - ns/op
9205
ns/op9174
ns/op1.00
BenchmarkRBACModelWithDeny - B/op
2450
B/op2443
B/op1.00
BenchmarkRBACModelWithDeny - allocs/op
49
allocs/op49
allocs/op1
BenchmarkPriorityModel - ns/op
5375
ns/op5294
ns/op1.02
BenchmarkPriorityModel - B/op
1742
B/op1737
B/op1.00
BenchmarkPriorityModel - allocs/op
22
allocs/op22
allocs/op1
BenchmarkRBACModelWithDomainPatternLarge - ns/op
29868
ns/op29392
ns/op1.02
BenchmarkRBACModelWithDomainPatternLarge - B/op
16605
B/op16600
B/op1.00
BenchmarkRBACModelWithDomainPatternLarge - allocs/op
164
allocs/op164
allocs/op1
BenchmarkRoleManagerSmall - ns/op
101606
ns/op99155
ns/op1.02
BenchmarkRoleManagerSmall - B/op
11953
B/op11952
B/op1.00
BenchmarkRoleManagerSmall - allocs/op
797
allocs/op797
allocs/op1
BenchmarkRoleManagerMedium - ns/op
1050129
ns/op1036586
ns/op1.01
BenchmarkRoleManagerMedium - B/op
125908
B/op125908
B/op1
BenchmarkRoleManagerMedium - allocs/op
8741
allocs/op8741
allocs/op1
BenchmarkRoleManagerLarge - ns/op
13132005
ns/op12397943
ns/op1.06
BenchmarkRoleManagerLarge - B/op
1349916
B/op1349918
B/op1.00
BenchmarkRoleManagerLarge - allocs/op
89741
allocs/op89741
allocs/op1
BenchmarkBuildRoleLinksWithPatternLarge - ns/op
8210023263
ns/op7785706663
ns/op1.05
BenchmarkBuildRoleLinksWithPatternLarge - B/op
5296181320
B/op5285519344
B/op1.00
BenchmarkBuildRoleLinksWithPatternLarge - allocs/op
60938666
allocs/op60936186
allocs/op1.00
BenchmarkBuildRoleLinksWithDomainPatternLarge - ns/op
221493021
ns/op212630286
ns/op1.04
BenchmarkBuildRoleLinksWithDomainPatternLarge - B/op
140051603
B/op139762052
B/op1.00
BenchmarkBuildRoleLinksWithDomainPatternLarge - allocs/op
1676234
allocs/op1676177
allocs/op1.00
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - ns/op
8237158501
ns/op7953300670
ns/op1.04
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - B/op
5433490448
B/op5422141896
B/op1.00
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - allocs/op
62549225
allocs/op62546523
allocs/op1.00
BenchmarkHasLinkWithPatternLarge - ns/op
13464
ns/op13547
ns/op0.99
BenchmarkHasLinkWithPatternLarge - B/op
7551
B/op7537
B/op1.00
BenchmarkHasLinkWithPatternLarge - allocs/op
111
allocs/op111
allocs/op1
BenchmarkHasLinkWithDomainPatternLarge - ns/op
726
ns/op720.9
ns/op1.01
BenchmarkHasLinkWithDomainPatternLarge - B/op
80
B/op80
B/op1
BenchmarkHasLinkWithDomainPatternLarge - allocs/op
5
allocs/op5
allocs/op1
BenchmarkHasLinkWithPatternAndDomainPatternLarge - ns/op
14570
ns/op13273
ns/op1.10
BenchmarkHasLinkWithPatternAndDomainPatternLarge - B/op
7552
B/op7537
B/op1.00
BenchmarkHasLinkWithPatternAndDomainPatternLarge - allocs/op
111
allocs/op111
allocs/op1
This comment was automatically generated by workflow using github-action-benchmark.