-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update release CI to fix error (#1421)
- Loading branch information
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
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
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
c52a9b5
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
17.68
ns/op 0 B/op 0 allocs/op17.63
ns/op 0 B/op 0 allocs/op1.00
BenchmarkCachedRaw - ns/op
17.68
ns/op17.63
ns/op1.00
BenchmarkCachedRaw - B/op
0
B/op0
B/op1
BenchmarkCachedRaw - allocs/op
0
allocs/op0
allocs/op1
BenchmarkCachedBasicModel
187.9
ns/op 104 B/op 4 allocs/op186.1
ns/op 104 B/op 4 allocs/op1.01
BenchmarkCachedBasicModel - ns/op
187.9
ns/op186.1
ns/op1.01
BenchmarkCachedBasicModel - B/op
104
B/op104
B/op1
BenchmarkCachedBasicModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModel
184.6
ns/op 104 B/op 4 allocs/op181.7
ns/op 104 B/op 4 allocs/op1.02
BenchmarkCachedRBACModel - ns/op
184.6
ns/op181.7
ns/op1.02
BenchmarkCachedRBACModel - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelSmall
196
ns/op 104 B/op 4 allocs/op195.8
ns/op 104 B/op 4 allocs/op1.00
BenchmarkCachedRBACModelSmall - ns/op
196
ns/op195.8
ns/op1.00
BenchmarkCachedRBACModelSmall - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelSmall - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelMedium
211.6
ns/op 104 B/op 4 allocs/op204.8
ns/op 104 B/op 4 allocs/op1.03
BenchmarkCachedRBACModelMedium - ns/op
211.6
ns/op204.8
ns/op1.03
BenchmarkCachedRBACModelMedium - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelMedium - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelLarge
172.7
ns/op 96 B/op 3 allocs/op171.3
ns/op 96 B/op 3 allocs/op1.01
BenchmarkCachedRBACModelLarge - ns/op
172.7
ns/op171.3
ns/op1.01
BenchmarkCachedRBACModelLarge - B/op
96
B/op96
B/op1
BenchmarkCachedRBACModelLarge - allocs/op
3
allocs/op3
allocs/op1
BenchmarkCachedRBACModelWithResourceRoles
192.8
ns/op 104 B/op 4 allocs/op190.6
ns/op 104 B/op 4 allocs/op1.01
BenchmarkCachedRBACModelWithResourceRoles - ns/op
192.8
ns/op190.6
ns/op1.01
BenchmarkCachedRBACModelWithResourceRoles - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelWithResourceRoles - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelWithDomains
201.8
ns/op 120 B/op 4 allocs/op198.3
ns/op 120 B/op 4 allocs/op1.02
BenchmarkCachedRBACModelWithDomains - ns/op
201.8
ns/op198.3
ns/op1.02
BenchmarkCachedRBACModelWithDomains - B/op
120
B/op120
B/op1
BenchmarkCachedRBACModelWithDomains - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedABACModel
2899
ns/op 1544 B/op 18 allocs/op2806
ns/op 1543 B/op 18 allocs/op1.03
BenchmarkCachedABACModel - ns/op
2899
ns/op2806
ns/op1.03
BenchmarkCachedABACModel - B/op
1544
B/op1543
B/op1.00
BenchmarkCachedABACModel - allocs/op
18
allocs/op18
allocs/op1
BenchmarkCachedKeyMatchModel
202.4
ns/op 152 B/op 4 allocs/op199.9
ns/op 152 B/op 4 allocs/op1.01
BenchmarkCachedKeyMatchModel - ns/op
202.4
ns/op199.9
ns/op1.01
BenchmarkCachedKeyMatchModel - B/op
152
B/op152
B/op1
BenchmarkCachedKeyMatchModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedRBACModelWithDeny
185
ns/op 104 B/op 4 allocs/op183.5
ns/op 104 B/op 4 allocs/op1.01
BenchmarkCachedRBACModelWithDeny - ns/op
185
ns/op183.5
ns/op1.01
BenchmarkCachedRBACModelWithDeny - B/op
104
B/op104
B/op1
BenchmarkCachedRBACModelWithDeny - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedPriorityModel
185.4
ns/op 104 B/op 4 allocs/op185
ns/op 104 B/op 4 allocs/op1.00
BenchmarkCachedPriorityModel - ns/op
185.4
ns/op185
ns/op1.00
BenchmarkCachedPriorityModel - B/op
104
B/op104
B/op1
BenchmarkCachedPriorityModel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkCachedWithEnforceContext
304.9
ns/op 240 B/op 5 allocs/op301.7
ns/op 240 B/op 5 allocs/op1.01
BenchmarkCachedWithEnforceContext - ns/op
304.9
ns/op301.7
ns/op1.01
BenchmarkCachedWithEnforceContext - B/op
240
B/op240
B/op1
BenchmarkCachedWithEnforceContext - allocs/op
5
allocs/op5
allocs/op1
BenchmarkCachedRBACModelMediumParallel
171.1
ns/op 105 B/op 4 allocs/op171.2
ns/op 105 B/op 4 allocs/op1.00
BenchmarkCachedRBACModelMediumParallel - ns/op
171.1
ns/op171.2
ns/op1.00
BenchmarkCachedRBACModelMediumParallel - B/op
105
B/op105
B/op1
BenchmarkCachedRBACModelMediumParallel - allocs/op
4
allocs/op4
allocs/op1
BenchmarkHasPolicySmall
519.2
ns/op 150 B/op 6 allocs/op535.4
ns/op 150 B/op 6 allocs/op0.97
BenchmarkHasPolicySmall - ns/op
519.2
ns/op535.4
ns/op0.97
BenchmarkHasPolicySmall - B/op
150
B/op150
B/op1
BenchmarkHasPolicySmall - allocs/op
6
allocs/op6
allocs/op1
BenchmarkHasPolicyMedium
601
ns/op 157 B/op 6 allocs/op563.8
ns/op 157 B/op 6 allocs/op1.07
BenchmarkHasPolicyMedium - ns/op
601
ns/op563.8
ns/op1.07
BenchmarkHasPolicyMedium - B/op
157
B/op157
B/op1
BenchmarkHasPolicyMedium - allocs/op
6
allocs/op6
allocs/op1
BenchmarkHasPolicyLarge
617.2
ns/op 165 B/op 7 allocs/op601.9
ns/op 165 B/op 7 allocs/op1.03
BenchmarkHasPolicyLarge - ns/op
617.2
ns/op601.9
ns/op1.03
BenchmarkHasPolicyLarge - B/op
165
B/op165
B/op1
BenchmarkHasPolicyLarge - allocs/op
7
allocs/op7
allocs/op1
BenchmarkAddPolicySmall
533.8
ns/op 152 B/op 6 allocs/op567.6
ns/op 152 B/op 6 allocs/op0.94
BenchmarkAddPolicySmall - ns/op
533.8
ns/op567.6
ns/op0.94
BenchmarkAddPolicySmall - B/op
152
B/op152
B/op1
BenchmarkAddPolicySmall - allocs/op
6
allocs/op6
allocs/op1
BenchmarkAddPolicyMedium
601.1
ns/op 169 B/op 7 allocs/op604.2
ns/op 168 B/op 7 allocs/op0.99
BenchmarkAddPolicyMedium - ns/op
601.1
ns/op604.2
ns/op0.99
BenchmarkAddPolicyMedium - B/op
169
B/op168
B/op1.01
BenchmarkAddPolicyMedium - allocs/op
7
allocs/op7
allocs/op1
BenchmarkAddPolicyLarge
1296
ns/op 466 B/op 9 allocs/op1274
ns/op 466 B/op 9 allocs/op1.02
BenchmarkAddPolicyLarge - ns/op
1296
ns/op1274
ns/op1.02
BenchmarkAddPolicyLarge - B/op
466
B/op466
B/op1
BenchmarkAddPolicyLarge - allocs/op
9
allocs/op9
allocs/op1
BenchmarkRemovePolicySmall
547.8
ns/op 166 B/op 7 allocs/op511.6
ns/op 166 B/op 7 allocs/op1.07
BenchmarkRemovePolicySmall - ns/op
547.8
ns/op511.6
ns/op1.07
BenchmarkRemovePolicySmall - B/op
166
B/op166
B/op1
BenchmarkRemovePolicySmall - allocs/op
7
allocs/op7
allocs/op1
BenchmarkRemovePolicyMedium
587.8
ns/op 175 B/op 7 allocs/op590
ns/op 175 B/op 7 allocs/op1.00
BenchmarkRemovePolicyMedium - ns/op
587.8
ns/op590
ns/op1.00
BenchmarkRemovePolicyMedium - B/op
175
B/op175
B/op1
BenchmarkRemovePolicyMedium - allocs/op
7
allocs/op7
allocs/op1
BenchmarkRemovePolicyLarge
1197
ns/op 279 B/op 12 allocs/op1281
ns/op 280 B/op 12 allocs/op0.93
BenchmarkRemovePolicyLarge - ns/op
1197
ns/op1281
ns/op0.93
BenchmarkRemovePolicyLarge - B/op
279
B/op280
B/op1.00
BenchmarkRemovePolicyLarge - allocs/op
12
allocs/op12
allocs/op1
BenchmarkRaw
17.74
ns/op 0 B/op 0 allocs/op17.65
ns/op 0 B/op 0 allocs/op1.01
BenchmarkRaw - ns/op
17.74
ns/op17.65
ns/op1.01
BenchmarkRaw - B/op
0
B/op0
B/op1
BenchmarkRaw - allocs/op
0
allocs/op0
allocs/op1
BenchmarkBasicModel
3630
ns/op 1510 B/op 17 allocs/op3555
ns/op 1509 B/op 17 allocs/op1.02
BenchmarkBasicModel - ns/op
3630
ns/op3555
ns/op1.02
BenchmarkBasicModel - B/op
1510
B/op1509
B/op1.00
BenchmarkBasicModel - allocs/op
17
allocs/op17
allocs/op1
BenchmarkRBACModel
5480
ns/op 2068 B/op 35 allocs/op5398
ns/op 2064 B/op 35 allocs/op1.02
BenchmarkRBACModel - ns/op
5480
ns/op5398
ns/op1.02
BenchmarkRBACModel - B/op
2068
B/op2064
B/op1.00
BenchmarkRBACModel - allocs/op
35
allocs/op35
allocs/op1
BenchmarkRBACModelSizes/small
49370
ns/op 20266 B/op 480 allocs/op50228
ns/op 20307 B/op 480 allocs/op0.98
BenchmarkRBACModelSizes/small - ns/op
49370
ns/op50228
ns/op0.98
BenchmarkRBACModelSizes/small - B/op
20266
B/op20307
B/op1.00
BenchmarkRBACModelSizes/small - allocs/op
480
allocs/op480
allocs/op1
BenchmarkRBACModelSizes/medium
504856
ns/op 191750 B/op 4829 allocs/op516515
ns/op 191740 B/op 4828 allocs/op0.98
BenchmarkRBACModelSizes/medium - ns/op
504856
ns/op516515
ns/op0.98
BenchmarkRBACModelSizes/medium - B/op
191750
B/op191740
B/op1.00
BenchmarkRBACModelSizes/medium - allocs/op
4829
allocs/op4828
allocs/op1.00
BenchmarkRBACModelSizes/large
5464596
ns/op 1898876 B/op 48145 allocs/op5356627
ns/op 1900823 B/op 48199 allocs/op1.02
BenchmarkRBACModelSizes/large - ns/op
5464596
ns/op5356627
ns/op1.02
BenchmarkRBACModelSizes/large - B/op
1898876
B/op1900823
B/op1.00
BenchmarkRBACModelSizes/large - allocs/op
48145
allocs/op48199
allocs/op1.00
BenchmarkRBACModelSmall
59589
ns/op 20372 B/op 615 allocs/op60670
ns/op 20371 B/op 615 allocs/op0.98
BenchmarkRBACModelSmall - ns/op
59589
ns/op60670
ns/op0.98
BenchmarkRBACModelSmall - B/op
20372
B/op20371
B/op1.00
BenchmarkRBACModelSmall - allocs/op
615
allocs/op615
allocs/op1
BenchmarkRBACModelMedium
573694
ns/op 194695 B/op 6018 allocs/op603331
ns/op 194745 B/op 6018 allocs/op0.95
BenchmarkRBACModelMedium - ns/op
573694
ns/op603331
ns/op0.95
BenchmarkRBACModelMedium - B/op
194695
B/op194745
B/op1.00
BenchmarkRBACModelMedium - allocs/op
6018
allocs/op6018
allocs/op1
BenchmarkRBACModelLarge
5877119
ns/op 1933085 B/op 60305 allocs/op5897559
ns/op 1933337 B/op 60297 allocs/op1.00
BenchmarkRBACModelLarge - ns/op
5877119
ns/op5897559
ns/op1.00
BenchmarkRBACModelLarge - B/op
1933085
B/op1933337
B/op1.00
BenchmarkRBACModelLarge - allocs/op
60305
allocs/op60297
allocs/op1.00
BenchmarkRBACModelWithResourceRoles
5249
ns/op 2738 B/op 28 allocs/op5233
ns/op 2731 B/op 28 allocs/op1.00
BenchmarkRBACModelWithResourceRoles - ns/op
5249
ns/op5233
ns/op1.00
BenchmarkRBACModelWithResourceRoles - B/op
2738
B/op2731
B/op1.00
BenchmarkRBACModelWithResourceRoles - allocs/op
28
allocs/op28
allocs/op1
BenchmarkRBACModelWithDomains
5084
ns/op 1829 B/op 25 allocs/op5064
ns/op 1825 B/op 25 allocs/op1.00
BenchmarkRBACModelWithDomains - ns/op
5084
ns/op5064
ns/op1.00
BenchmarkRBACModelWithDomains - B/op
1829
B/op1825
B/op1.00
BenchmarkRBACModelWithDomains - allocs/op
25
allocs/op25
allocs/op1
BenchmarkABACModel
2810
ns/op 1536 B/op 17 allocs/op2764
ns/op 1535 B/op 17 allocs/op1.02
BenchmarkABACModel - ns/op
2810
ns/op2764
ns/op1.02
BenchmarkABACModel - B/op
1536
B/op1535
B/op1.00
BenchmarkABACModel - allocs/op
17
allocs/op17
allocs/op1
BenchmarkABACRuleModel
4008919
ns/op 1328231 B/op 40092 allocs/op3992478
ns/op 1329507 B/op 40092 allocs/op1.00
BenchmarkABACRuleModel - ns/op
4008919
ns/op3992478
ns/op1.00
BenchmarkABACRuleModel - B/op
1328231
B/op1329507
B/op1.00
BenchmarkABACRuleModel - allocs/op
40092
allocs/op40092
allocs/op1
BenchmarkKeyMatchModel
6100
ns/op 3068 B/op 37 allocs/op6065
ns/op 3067 B/op 37 allocs/op1.01
BenchmarkKeyMatchModel - ns/op
6100
ns/op6065
ns/op1.01
BenchmarkKeyMatchModel - B/op
3068
B/op3067
B/op1.00
BenchmarkKeyMatchModel - allocs/op
37
allocs/op37
allocs/op1
BenchmarkRBACModelWithDeny
6979
ns/op 2483 B/op 49 allocs/op6976
ns/op 2479 B/op 49 allocs/op1.00
BenchmarkRBACModelWithDeny - ns/op
6979
ns/op6976
ns/op1.00
BenchmarkRBACModelWithDeny - B/op
2483
B/op2479
B/op1.00
BenchmarkRBACModelWithDeny - allocs/op
49
allocs/op49
allocs/op1
BenchmarkPriorityModel
4216
ns/op 1765 B/op 22 allocs/op4130
ns/op 1762 B/op 22 allocs/op1.02
BenchmarkPriorityModel - ns/op
4216
ns/op4130
ns/op1.02
BenchmarkPriorityModel - B/op
1765
B/op1762
B/op1.00
BenchmarkPriorityModel - allocs/op
22
allocs/op22
allocs/op1
BenchmarkRBACModelWithDomainPatternLarge
22822
ns/op 16719 B/op 164 allocs/op22550
ns/op 16720 B/op 164 allocs/op1.01
BenchmarkRBACModelWithDomainPatternLarge - ns/op
22822
ns/op22550
ns/op1.01
BenchmarkRBACModelWithDomainPatternLarge - B/op
16719
B/op16720
B/op1.00
BenchmarkRBACModelWithDomainPatternLarge - allocs/op
164
allocs/op164
allocs/op1
BenchmarkRoleManagerSmall
69965
ns/op 11955 B/op 797 allocs/op70426
ns/op 11955 B/op 797 allocs/op0.99
BenchmarkRoleManagerSmall - ns/op
69965
ns/op70426
ns/op0.99
BenchmarkRoleManagerSmall - B/op
11955
B/op11955
B/op1
BenchmarkRoleManagerSmall - allocs/op
797
allocs/op797
allocs/op1
BenchmarkRoleManagerMedium
733074
ns/op 125914 B/op 8741 allocs/op737197
ns/op 125914 B/op 8741 allocs/op0.99
BenchmarkRoleManagerMedium - ns/op
733074
ns/op737197
ns/op0.99
BenchmarkRoleManagerMedium - B/op
125914
B/op125914
B/op1
BenchmarkRoleManagerMedium - allocs/op
8741
allocs/op8741
allocs/op1
BenchmarkRoleManagerLarge
8216659
ns/op 1349922 B/op 89741 allocs/op7871387
ns/op 1349920 B/op 89741 allocs/op1.04
BenchmarkRoleManagerLarge - ns/op
8216659
ns/op7871387
ns/op1.04
BenchmarkRoleManagerLarge - B/op
1349922
B/op1349920
B/op1.00
BenchmarkRoleManagerLarge - allocs/op
89741
allocs/op89741
allocs/op1
BenchmarkBuildRoleLinksWithPatternLarge
5959605086
ns/op 5341426352 B/op 60948374 allocs/op5925034102
ns/op 5343541856 B/op 60948848 allocs/op1.01
BenchmarkBuildRoleLinksWithPatternLarge - ns/op
5959605086
ns/op5925034102
ns/op1.01
BenchmarkBuildRoleLinksWithPatternLarge - B/op
5341426352
B/op5343541856
B/op1.00
BenchmarkBuildRoleLinksWithPatternLarge - allocs/op
60948374
allocs/op60948848
allocs/op1.00
BenchmarkBuildRoleLinksWithDomainPatternLarge
162129082
ns/op 141548710 B/op 1676482 allocs/op162332939
ns/op 141537744 B/op 1676490 allocs/op1.00
BenchmarkBuildRoleLinksWithDomainPatternLarge - ns/op
162129082
ns/op162332939
ns/op1.00
BenchmarkBuildRoleLinksWithDomainPatternLarge - B/op
141548710
B/op141537744
B/op1.00
BenchmarkBuildRoleLinksWithDomainPatternLarge - allocs/op
1676482
allocs/op1676490
allocs/op1.00
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge
6152176805
ns/op 5479983464 B/op 62559118 allocs/op6139471888
ns/op 5482952368 B/op 62559900 allocs/op1.00
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - ns/op
6152176805
ns/op6139471888
ns/op1.00
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - B/op
5479983464
B/op5482952368
B/op1.00
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - allocs/op
62559118
allocs/op62559900
allocs/op1.00
BenchmarkHasLinkWithPatternLarge
10203
ns/op 7608 B/op 111 allocs/op10275
ns/op 7604 B/op 111 allocs/op0.99
BenchmarkHasLinkWithPatternLarge - ns/op
10203
ns/op10275
ns/op0.99
BenchmarkHasLinkWithPatternLarge - B/op
7608
B/op7604
B/op1.00
BenchmarkHasLinkWithPatternLarge - allocs/op
111
allocs/op111
allocs/op1
BenchmarkHasLinkWithDomainPatternLarge
484.7
ns/op 80 B/op 5 allocs/op504.5
ns/op 80 B/op 5 allocs/op0.96
BenchmarkHasLinkWithDomainPatternLarge - ns/op
484.7
ns/op504.5
ns/op0.96
BenchmarkHasLinkWithDomainPatternLarge - B/op
80
B/op80
B/op1
BenchmarkHasLinkWithDomainPatternLarge - allocs/op
5
allocs/op5
allocs/op1
BenchmarkHasLinkWithPatternAndDomainPatternLarge
10303
ns/op 7604 B/op 111 allocs/op10449
ns/op 7604 B/op 111 allocs/op0.99
BenchmarkHasLinkWithPatternAndDomainPatternLarge - ns/op
10303
ns/op10449
ns/op0.99
BenchmarkHasLinkWithPatternAndDomainPatternLarge - B/op
7604
B/op7604
B/op1
BenchmarkHasLinkWithPatternAndDomainPatternLarge - allocs/op
111
allocs/op111
allocs/op1
This comment was automatically generated by workflow using github-action-benchmark.