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
The reason will be displayed to describe this comment to others. Learn more.
⚠️Performance Alert⚠️
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.10.
17becae
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.63
ns/op20.63
ns/op1
BenchmarkCachedRaw - B/op
0
B/op0
B/opNaN
BenchmarkCachedRaw - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkCachedBasicModel - ns/op
236.9
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
250.4
ns/op228.7
ns/op1.09
BenchmarkCachedRBACModel - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelSmall - ns/op
262.2
ns/op234.8
ns/op1.12
BenchmarkCachedRBACModelSmall - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelSmall - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelMedium - ns/op
263.8
ns/op254.7
ns/op1.04
BenchmarkCachedRBACModelMedium - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelMedium - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelLarge - ns/op
244.6
ns/op219.1
ns/op1.12
BenchmarkCachedRBACModelLarge - B/op
96
B/op96
B/op1
BenchmarkCachedRBACModelLarge - allocs/op
3
allocs/op3
allocs/op1
BenchmarkCachedRBACModelWithResourceRoles - ns/op
248
ns/op228.8
ns/op1.08
BenchmarkCachedRBACModelWithResourceRoles - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelWithResourceRoles - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelWithDomains - ns/op
284.5
ns/op245
ns/op1.16
BenchmarkCachedRBACModelWithDomains - B/op
120
B/op120
B/op1
BenchmarkCachedRBACModelWithDomains - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedABACModel - ns/op
3971
ns/op3578
ns/op1.11
BenchmarkCachedABACModel - B/op
1520
B/op1522
B/op1.00
BenchmarkCachedABACModel - allocs/op
18
allocs/op18
allocs/op1
BenchmarkCachedKeyMatchModel - ns/op
270.9
ns/op246
ns/op1.10
BenchmarkCachedKeyMatchModel - B/op
152
B/op152
B/op1
BenchmarkCachedKeyMatchModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelWithDeny - ns/op
249.5
ns/op227.7
ns/op1.10
BenchmarkCachedRBACModelWithDeny - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelWithDeny - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedPriorityModel - ns/op
259.1
ns/op240.7
ns/op1.08
BenchmarkCachedPriorityModel - B/op
104
B/op104
B/op1
BenchmarkCachedPriorityModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedWithEnforceContext - ns/op
472
ns/op432
ns/op1.09
BenchmarkCachedWithEnforceContext - B/op
240
B/op240
B/op1
BenchmarkCachedWithEnforceContext - allocs/op
5
allocs/op5
allocs/op1
BenchmarkCachedRBACModelMediumParallel - ns/op
219.5
ns/op235.2
ns/op0.93
BenchmarkCachedRBACModelMediumParallel - B/op
105
B/op105
B/op1
BenchmarkCachedRBACModelMediumParallel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkHasPolicySmall - ns/op
743.1
ns/op680.6
ns/op1.09
BenchmarkHasPolicySmall - B/op
150
B/op150
B/op1
BenchmarkHasPolicySmall - allocs/op
6
allocs/op6
allocs/op1
BenchmarkHasPolicyMedium - ns/op
759.1
ns/op747.2
ns/op1.02
BenchmarkHasPolicyMedium - B/op
157
B/op157
B/op1
BenchmarkHasPolicyMedium - allocs/op
6
allocs/op6
allocs/op1
BenchmarkHasPolicyLarge - ns/op
852.5
ns/op758.8
ns/op1.12
BenchmarkHasPolicyLarge - B/op
165
B/op165
B/op1
BenchmarkHasPolicyLarge - allocs/op
7
allocs/op7
allocs/op1
BenchmarkAddPolicySmall - ns/op
748.8
ns/op720.8
ns/op1.04
BenchmarkAddPolicySmall - B/op
152
B/op152
B/op1
BenchmarkAddPolicySmall - allocs/op
6
allocs/op6
allocs/op1
BenchmarkAddPolicyMedium - ns/op
1049
ns/op957.6
ns/op1.10
BenchmarkAddPolicyMedium - B/op
182
B/op180
B/op1.01
BenchmarkAddPolicyMedium - allocs/op
7
allocs/op7
allocs/op1
BenchmarkAddPolicyLarge - ns/op
1653
ns/op1700
ns/op0.97
BenchmarkAddPolicyLarge - B/op
423
B/op463
B/op0.91
BenchmarkAddPolicyLarge - allocs/op
9
allocs/op9
allocs/op1
BenchmarkRemovePolicySmall - ns/op
743.5
ns/op720.7
ns/op1.03
BenchmarkRemovePolicySmall - B/op
166
B/op166
B/op1
BenchmarkRemovePolicySmall - allocs/op
7
allocs/op7
allocs/op1
BenchmarkRemovePolicyMedium - ns/op
876
ns/op812
ns/op1.08
BenchmarkRemovePolicyMedium - B/op
178
B/op178
B/op1
BenchmarkRemovePolicyMedium - allocs/op
7
allocs/op7
allocs/op1
BenchmarkRemovePolicyLarge - ns/op
1976
ns/op1670
ns/op1.18
BenchmarkRemovePolicyLarge - B/op
291
B/op293
B/op0.99
BenchmarkRemovePolicyLarge - allocs/op
13
allocs/op13
allocs/op1
BenchmarkRaw - ns/op
20.59
ns/op20.59
ns/op1
BenchmarkRaw - B/op
0
B/op0
B/opNaN
BenchmarkRaw - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkBasicModel - ns/op
4872
ns/op4603
ns/op1.06
BenchmarkBasicModel - B/op
1489
B/op1488
B/op1.00
BenchmarkBasicModel - allocs/op
17
allocs/op17
allocs/op1
BenchmarkRBACModel - ns/op
7256
ns/op7097
ns/op1.02
BenchmarkRBACModel - B/op
2034
B/op2033
B/op1.00
BenchmarkRBACModel - allocs/op
35
allocs/op35
allocs/op1
BenchmarkRBACModelSizes/small - ns/op
68988
ns/op63713
ns/op1.08
BenchmarkRBACModelSizes/small - B/op
19976
B/op19961
B/op1.00
BenchmarkRBACModelSizes/small - allocs/op
480
allocs/op480
allocs/op1
BenchmarkRBACModelSizes/medium - ns/op
811189
ns/op723241
ns/op1.12
BenchmarkRBACModelSizes/medium - B/op
191283
B/op191292
B/op1.00
BenchmarkRBACModelSizes/medium - allocs/op
4828
allocs/op4829
allocs/op1.00
BenchmarkRBACModelSizes/large - ns/op
9028181
ns/op8190155
ns/op1.10
BenchmarkRBACModelSizes/large - B/op
1903188
B/op1899289
B/op1.00
BenchmarkRBACModelSizes/large - allocs/op
48274
allocs/op48168
allocs/op1.00
BenchmarkRBACModelSmall - ns/op
81659
ns/op78583
ns/op1.04
BenchmarkRBACModelSmall - B/op
20044
B/op20024
B/op1.00
BenchmarkRBACModelSmall - allocs/op
615
allocs/op615
allocs/op1
BenchmarkRBACModelMedium - ns/op
815797
ns/op759773
ns/op1.07
BenchmarkRBACModelMedium - B/op
194452
B/op194076
B/op1.00
BenchmarkRBACModelMedium - allocs/op
6023
allocs/op6022
allocs/op1.00
BenchmarkRBACModelLarge - ns/op
9981906
ns/op8955833
ns/op1.11
BenchmarkRBACModelLarge - B/op
1951923
B/op1948375
B/op1.00
BenchmarkRBACModelLarge - allocs/op
61076
allocs/op60935
allocs/op1.00
BenchmarkRBACModelWithResourceRoles - ns/op
6110
ns/op5745
ns/op1.06
BenchmarkRBACModelWithResourceRoles - B/op
1820
B/op1820
B/op1
BenchmarkRBACModelWithResourceRoles - allocs/op
27
allocs/op27
allocs/op1
BenchmarkRBACModelWithDomains - ns/op
6915
ns/op6503
ns/op1.06
BenchmarkRBACModelWithDomains - B/op
1805
B/op1803
B/op1.00
BenchmarkRBACModelWithDomains - allocs/op
25
allocs/op25
allocs/op1
BenchmarkABACModel - ns/op
3716
ns/op3587
ns/op1.04
BenchmarkABACModel - B/op
1512
B/op1511
B/op1.00
BenchmarkABACModel - allocs/op
17
allocs/op17
allocs/op1
BenchmarkABACRuleModel - ns/op
5064636
ns/op4886698
ns/op1.04
BenchmarkABACRuleModel - B/op
1303104
B/op1302457
B/op1.00
BenchmarkABACRuleModel - allocs/op
40088
allocs/op40088
allocs/op1
BenchmarkKeyMatchModel - ns/op
8119
ns/op7729
ns/op1.05
BenchmarkKeyMatchModel - B/op
3021
B/op3018
B/op1.00
BenchmarkKeyMatchModel - allocs/op
37
allocs/op37
allocs/op1
BenchmarkRBACModelWithDeny - ns/op
9458
ns/op9174
ns/op1.03
BenchmarkRBACModelWithDeny - B/op
2444
B/op2443
B/op1.00
BenchmarkRBACModelWithDeny - allocs/op
49
allocs/op49
allocs/op1
BenchmarkPriorityModel - ns/op
5611
ns/op5294
ns/op1.06
BenchmarkPriorityModel - B/op
1738
B/op1737
B/op1.00
BenchmarkPriorityModel - allocs/op
22
allocs/op22
allocs/op1
BenchmarkRBACModelWithDomainPatternLarge - ns/op
32155
ns/op29392
ns/op1.09
BenchmarkRBACModelWithDomainPatternLarge - B/op
16607
B/op16600
B/op1.00
BenchmarkRBACModelWithDomainPatternLarge - allocs/op
164
allocs/op164
allocs/op1
BenchmarkRoleManagerSmall - ns/op
103921
ns/op99155
ns/op1.05
BenchmarkRoleManagerSmall - B/op
11953
B/op11952
B/op1.00
BenchmarkRoleManagerSmall - allocs/op
797
allocs/op797
allocs/op1
BenchmarkRoleManagerMedium - ns/op
1078905
ns/op1036586
ns/op1.04
BenchmarkRoleManagerMedium - B/op
125908
B/op125908
B/op1
BenchmarkRoleManagerMedium - allocs/op
8741
allocs/op8741
allocs/op1
BenchmarkRoleManagerLarge - ns/op
14234567
ns/op12397943
ns/op1.15
BenchmarkRoleManagerLarge - B/op
1349916
B/op1349918
B/op1.00
BenchmarkRoleManagerLarge - allocs/op
89741
allocs/op89741
allocs/op1
BenchmarkBuildRoleLinksWithPatternLarge - ns/op
8272593298
ns/op7785706663
ns/op1.06
BenchmarkBuildRoleLinksWithPatternLarge - B/op
5286619240
B/op5285519344
B/op1.00
BenchmarkBuildRoleLinksWithPatternLarge - allocs/op
60936912
allocs/op60936186
allocs/op1.00
BenchmarkBuildRoleLinksWithDomainPatternLarge - ns/op
228995351
ns/op212630286
ns/op1.08
BenchmarkBuildRoleLinksWithDomainPatternLarge - B/op
139829358
B/op139762052
B/op1.00
BenchmarkBuildRoleLinksWithDomainPatternLarge - allocs/op
1676195
allocs/op1676177
allocs/op1.00
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - ns/op
9100464673
ns/op7953300670
ns/op1.14
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - B/op
5423310544
B/op5422141896
B/op1.00
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - allocs/op
62547182
allocs/op62546523
allocs/op1.00
BenchmarkHasLinkWithPatternLarge - ns/op
14292
ns/op13547
ns/op1.05
BenchmarkHasLinkWithPatternLarge - B/op
7538
B/op7537
B/op1.00
BenchmarkHasLinkWithPatternLarge - allocs/op
111
allocs/op111
allocs/op1
BenchmarkHasLinkWithDomainPatternLarge - ns/op
744.5
ns/op720.9
ns/op1.03
BenchmarkHasLinkWithDomainPatternLarge - B/op
80
B/op80
B/op1
BenchmarkHasLinkWithDomainPatternLarge - allocs/op
5
allocs/op5
allocs/op1
BenchmarkHasLinkWithPatternAndDomainPatternLarge - ns/op
14261
ns/op13273
ns/op1.07
BenchmarkHasLinkWithPatternAndDomainPatternLarge - B/op
7536
B/op7537
B/op1.00
BenchmarkHasLinkWithPatternAndDomainPatternLarge - allocs/op
111
allocs/op111
allocs/op1
This comment was automatically generated by workflow using github-action-benchmark.
17becae
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.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.10
.BenchmarkCachedRBACModelSmall - ns/op
262.2
ns/op234.8
ns/op1.12
BenchmarkCachedRBACModelLarge - ns/op
244.6
ns/op219.1
ns/op1.12
BenchmarkCachedRBACModelWithDomains - ns/op
284.5
ns/op245
ns/op1.16
BenchmarkCachedABACModel - ns/op
3971
ns/op3578
ns/op1.11
BenchmarkCachedKeyMatchModel - ns/op
270.9
ns/op246
ns/op1.10
BenchmarkHasPolicyLarge - ns/op
852.5
ns/op758.8
ns/op1.12
BenchmarkRemovePolicyLarge - ns/op
1976
ns/op1670
ns/op1.18
BenchmarkRBACModelSizes/medium - ns/op
811189
ns/op723241
ns/op1.12
BenchmarkRBACModelSizes/large - ns/op
9028181
ns/op8190155
ns/op1.10
BenchmarkRBACModelLarge - ns/op
9981906
ns/op8955833
ns/op1.11
BenchmarkRoleManagerLarge - ns/op
14234567
ns/op12397943
ns/op1.15
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - ns/op
9100464673
ns/op7953300670
ns/op1.14
This comment was automatically generated by workflow using github-action-benchmark.