Skip to content

Commit

Permalink
Remove PerformancePR.yml for security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Oct 30, 2023
1 parent c907b90 commit 17becae
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/PerformancePR.yml

This file was deleted.

2 comments on commit 17becae

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 17becae Previous: c907b90 Ratio
BenchmarkCachedRaw - ns/op 20.63 ns/op 20.63 ns/op 1
BenchmarkCachedRaw - B/op 0 B/op 0 B/op NaN
BenchmarkCachedRaw - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkCachedBasicModel - ns/op 236.9 ns/op 227.4 ns/op 1.04
BenchmarkCachedBasicModel - B/op 104 B/op 104 B/op 1
BenchmarkCachedBasicModel - allocs/op 4 allocs/op 4 allocs/op 1
BenchmarkCachedRBACModel - ns/op 250.4 ns/op 228.7 ns/op 1.09
BenchmarkCachedRBACModel - B/op 104 B/op 104 B/op 1
BenchmarkCachedRBACModel - allocs/op 4 allocs/op 4 allocs/op 1
BenchmarkCachedRBACModelSmall - ns/op 262.2 ns/op 234.8 ns/op 1.12
BenchmarkCachedRBACModelSmall - B/op 104 B/op 104 B/op 1
BenchmarkCachedRBACModelSmall - allocs/op 4 allocs/op 4 allocs/op 1
BenchmarkCachedRBACModelMedium - ns/op 263.8 ns/op 254.7 ns/op 1.04
BenchmarkCachedRBACModelMedium - B/op 104 B/op 104 B/op 1
BenchmarkCachedRBACModelMedium - allocs/op 4 allocs/op 4 allocs/op 1
BenchmarkCachedRBACModelLarge - ns/op 244.6 ns/op 219.1 ns/op 1.12
BenchmarkCachedRBACModelLarge - B/op 96 B/op 96 B/op 1
BenchmarkCachedRBACModelLarge - allocs/op 3 allocs/op 3 allocs/op 1
BenchmarkCachedRBACModelWithResourceRoles - ns/op 248 ns/op 228.8 ns/op 1.08
BenchmarkCachedRBACModelWithResourceRoles - B/op 104 B/op 104 B/op 1
BenchmarkCachedRBACModelWithResourceRoles - allocs/op 4 allocs/op 4 allocs/op 1
BenchmarkCachedRBACModelWithDomains - ns/op 284.5 ns/op 245 ns/op 1.16
BenchmarkCachedRBACModelWithDomains - B/op 120 B/op 120 B/op 1
BenchmarkCachedRBACModelWithDomains - allocs/op 4 allocs/op 4 allocs/op 1
BenchmarkCachedABACModel - ns/op 3971 ns/op 3578 ns/op 1.11
BenchmarkCachedABACModel - B/op 1520 B/op 1522 B/op 1.00
BenchmarkCachedABACModel - allocs/op 18 allocs/op 18 allocs/op 1
BenchmarkCachedKeyMatchModel - ns/op 270.9 ns/op 246 ns/op 1.10
BenchmarkCachedKeyMatchModel - B/op 152 B/op 152 B/op 1
BenchmarkCachedKeyMatchModel - allocs/op 4 allocs/op 4 allocs/op 1
BenchmarkCachedRBACModelWithDeny - ns/op 249.5 ns/op 227.7 ns/op 1.10
BenchmarkCachedRBACModelWithDeny - B/op 104 B/op 104 B/op 1
BenchmarkCachedRBACModelWithDeny - allocs/op 4 allocs/op 4 allocs/op 1
BenchmarkCachedPriorityModel - ns/op 259.1 ns/op 240.7 ns/op 1.08
BenchmarkCachedPriorityModel - B/op 104 B/op 104 B/op 1
BenchmarkCachedPriorityModel - allocs/op 4 allocs/op 4 allocs/op 1
BenchmarkCachedWithEnforceContext - ns/op 472 ns/op 432 ns/op 1.09
BenchmarkCachedWithEnforceContext - B/op 240 B/op 240 B/op 1
BenchmarkCachedWithEnforceContext - allocs/op 5 allocs/op 5 allocs/op 1
BenchmarkCachedRBACModelMediumParallel - ns/op 219.5 ns/op 235.2 ns/op 0.93
BenchmarkCachedRBACModelMediumParallel - B/op 105 B/op 105 B/op 1
BenchmarkCachedRBACModelMediumParallel - allocs/op 4 allocs/op 4 allocs/op 1
BenchmarkHasPolicySmall - ns/op 743.1 ns/op 680.6 ns/op 1.09
BenchmarkHasPolicySmall - B/op 150 B/op 150 B/op 1
BenchmarkHasPolicySmall - allocs/op 6 allocs/op 6 allocs/op 1
BenchmarkHasPolicyMedium - ns/op 759.1 ns/op 747.2 ns/op 1.02
BenchmarkHasPolicyMedium - B/op 157 B/op 157 B/op 1
BenchmarkHasPolicyMedium - allocs/op 6 allocs/op 6 allocs/op 1
BenchmarkHasPolicyLarge - ns/op 852.5 ns/op 758.8 ns/op 1.12
BenchmarkHasPolicyLarge - B/op 165 B/op 165 B/op 1
BenchmarkHasPolicyLarge - allocs/op 7 allocs/op 7 allocs/op 1
BenchmarkAddPolicySmall - ns/op 748.8 ns/op 720.8 ns/op 1.04
BenchmarkAddPolicySmall - B/op 152 B/op 152 B/op 1
BenchmarkAddPolicySmall - allocs/op 6 allocs/op 6 allocs/op 1
BenchmarkAddPolicyMedium - ns/op 1049 ns/op 957.6 ns/op 1.10
BenchmarkAddPolicyMedium - B/op 182 B/op 180 B/op 1.01
BenchmarkAddPolicyMedium - allocs/op 7 allocs/op 7 allocs/op 1
BenchmarkAddPolicyLarge - ns/op 1653 ns/op 1700 ns/op 0.97
BenchmarkAddPolicyLarge - B/op 423 B/op 463 B/op 0.91
BenchmarkAddPolicyLarge - allocs/op 9 allocs/op 9 allocs/op 1
BenchmarkRemovePolicySmall - ns/op 743.5 ns/op 720.7 ns/op 1.03
BenchmarkRemovePolicySmall - B/op 166 B/op 166 B/op 1
BenchmarkRemovePolicySmall - allocs/op 7 allocs/op 7 allocs/op 1
BenchmarkRemovePolicyMedium - ns/op 876 ns/op 812 ns/op 1.08
BenchmarkRemovePolicyMedium - B/op 178 B/op 178 B/op 1
BenchmarkRemovePolicyMedium - allocs/op 7 allocs/op 7 allocs/op 1
BenchmarkRemovePolicyLarge - ns/op 1976 ns/op 1670 ns/op 1.18
BenchmarkRemovePolicyLarge - B/op 291 B/op 293 B/op 0.99
BenchmarkRemovePolicyLarge - allocs/op 13 allocs/op 13 allocs/op 1
BenchmarkRaw - ns/op 20.59 ns/op 20.59 ns/op 1
BenchmarkRaw - B/op 0 B/op 0 B/op NaN
BenchmarkRaw - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkBasicModel - ns/op 4872 ns/op 4603 ns/op 1.06
BenchmarkBasicModel - B/op 1489 B/op 1488 B/op 1.00
BenchmarkBasicModel - allocs/op 17 allocs/op 17 allocs/op 1
BenchmarkRBACModel - ns/op 7256 ns/op 7097 ns/op 1.02
BenchmarkRBACModel - B/op 2034 B/op 2033 B/op 1.00
BenchmarkRBACModel - allocs/op 35 allocs/op 35 allocs/op 1
BenchmarkRBACModelSizes/small - ns/op 68988 ns/op 63713 ns/op 1.08
BenchmarkRBACModelSizes/small - B/op 19976 B/op 19961 B/op 1.00
BenchmarkRBACModelSizes/small - allocs/op 480 allocs/op 480 allocs/op 1
BenchmarkRBACModelSizes/medium - ns/op 811189 ns/op 723241 ns/op 1.12
BenchmarkRBACModelSizes/medium - B/op 191283 B/op 191292 B/op 1.00
BenchmarkRBACModelSizes/medium - allocs/op 4828 allocs/op 4829 allocs/op 1.00
BenchmarkRBACModelSizes/large - ns/op 9028181 ns/op 8190155 ns/op 1.10
BenchmarkRBACModelSizes/large - B/op 1903188 B/op 1899289 B/op 1.00
BenchmarkRBACModelSizes/large - allocs/op 48274 allocs/op 48168 allocs/op 1.00
BenchmarkRBACModelSmall - ns/op 81659 ns/op 78583 ns/op 1.04
BenchmarkRBACModelSmall - B/op 20044 B/op 20024 B/op 1.00
BenchmarkRBACModelSmall - allocs/op 615 allocs/op 615 allocs/op 1
BenchmarkRBACModelMedium - ns/op 815797 ns/op 759773 ns/op 1.07
BenchmarkRBACModelMedium - B/op 194452 B/op 194076 B/op 1.00
BenchmarkRBACModelMedium - allocs/op 6023 allocs/op 6022 allocs/op 1.00
BenchmarkRBACModelLarge - ns/op 9981906 ns/op 8955833 ns/op 1.11
BenchmarkRBACModelLarge - B/op 1951923 B/op 1948375 B/op 1.00
BenchmarkRBACModelLarge - allocs/op 61076 allocs/op 60935 allocs/op 1.00
BenchmarkRBACModelWithResourceRoles - ns/op 6110 ns/op 5745 ns/op 1.06
BenchmarkRBACModelWithResourceRoles - B/op 1820 B/op 1820 B/op 1
BenchmarkRBACModelWithResourceRoles - allocs/op 27 allocs/op 27 allocs/op 1
BenchmarkRBACModelWithDomains - ns/op 6915 ns/op 6503 ns/op 1.06
BenchmarkRBACModelWithDomains - B/op 1805 B/op 1803 B/op 1.00
BenchmarkRBACModelWithDomains - allocs/op 25 allocs/op 25 allocs/op 1
BenchmarkABACModel - ns/op 3716 ns/op 3587 ns/op 1.04
BenchmarkABACModel - B/op 1512 B/op 1511 B/op 1.00
BenchmarkABACModel - allocs/op 17 allocs/op 17 allocs/op 1
BenchmarkABACRuleModel - ns/op 5064636 ns/op 4886698 ns/op 1.04
BenchmarkABACRuleModel - B/op 1303104 B/op 1302457 B/op 1.00
BenchmarkABACRuleModel - allocs/op 40088 allocs/op 40088 allocs/op 1
BenchmarkKeyMatchModel - ns/op 8119 ns/op 7729 ns/op 1.05
BenchmarkKeyMatchModel - B/op 3021 B/op 3018 B/op 1.00
BenchmarkKeyMatchModel - allocs/op 37 allocs/op 37 allocs/op 1
BenchmarkRBACModelWithDeny - ns/op 9458 ns/op 9174 ns/op 1.03
BenchmarkRBACModelWithDeny - B/op 2444 B/op 2443 B/op 1.00
BenchmarkRBACModelWithDeny - allocs/op 49 allocs/op 49 allocs/op 1
BenchmarkPriorityModel - ns/op 5611 ns/op 5294 ns/op 1.06
BenchmarkPriorityModel - B/op 1738 B/op 1737 B/op 1.00
BenchmarkPriorityModel - allocs/op 22 allocs/op 22 allocs/op 1
BenchmarkRBACModelWithDomainPatternLarge - ns/op 32155 ns/op 29392 ns/op 1.09
BenchmarkRBACModelWithDomainPatternLarge - B/op 16607 B/op 16600 B/op 1.00
BenchmarkRBACModelWithDomainPatternLarge - allocs/op 164 allocs/op 164 allocs/op 1
BenchmarkRoleManagerSmall - ns/op 103921 ns/op 99155 ns/op 1.05
BenchmarkRoleManagerSmall - B/op 11953 B/op 11952 B/op 1.00
BenchmarkRoleManagerSmall - allocs/op 797 allocs/op 797 allocs/op 1
BenchmarkRoleManagerMedium - ns/op 1078905 ns/op 1036586 ns/op 1.04
BenchmarkRoleManagerMedium - B/op 125908 B/op 125908 B/op 1
BenchmarkRoleManagerMedium - allocs/op 8741 allocs/op 8741 allocs/op 1
BenchmarkRoleManagerLarge - ns/op 14234567 ns/op 12397943 ns/op 1.15
BenchmarkRoleManagerLarge - B/op 1349916 B/op 1349918 B/op 1.00
BenchmarkRoleManagerLarge - allocs/op 89741 allocs/op 89741 allocs/op 1
BenchmarkBuildRoleLinksWithPatternLarge - ns/op 8272593298 ns/op 7785706663 ns/op 1.06
BenchmarkBuildRoleLinksWithPatternLarge - B/op 5286619240 B/op 5285519344 B/op 1.00
BenchmarkBuildRoleLinksWithPatternLarge - allocs/op 60936912 allocs/op 60936186 allocs/op 1.00
BenchmarkBuildRoleLinksWithDomainPatternLarge - ns/op 228995351 ns/op 212630286 ns/op 1.08
BenchmarkBuildRoleLinksWithDomainPatternLarge - B/op 139829358 B/op 139762052 B/op 1.00
BenchmarkBuildRoleLinksWithDomainPatternLarge - allocs/op 1676195 allocs/op 1676177 allocs/op 1.00
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - ns/op 9100464673 ns/op 7953300670 ns/op 1.14
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - B/op 5423310544 B/op 5422141896 B/op 1.00
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - allocs/op 62547182 allocs/op 62546523 allocs/op 1.00
BenchmarkHasLinkWithPatternLarge - ns/op 14292 ns/op 13547 ns/op 1.05
BenchmarkHasLinkWithPatternLarge - B/op 7538 B/op 7537 B/op 1.00
BenchmarkHasLinkWithPatternLarge - allocs/op 111 allocs/op 111 allocs/op 1
BenchmarkHasLinkWithDomainPatternLarge - ns/op 744.5 ns/op 720.9 ns/op 1.03
BenchmarkHasLinkWithDomainPatternLarge - B/op 80 B/op 80 B/op 1
BenchmarkHasLinkWithDomainPatternLarge - allocs/op 5 allocs/op 5 allocs/op 1
BenchmarkHasLinkWithPatternAndDomainPatternLarge - ns/op 14261 ns/op 13273 ns/op 1.07
BenchmarkHasLinkWithPatternAndDomainPatternLarge - B/op 7536 B/op 7537 B/op 1.00
BenchmarkHasLinkWithPatternAndDomainPatternLarge - allocs/op 111 allocs/op 111 allocs/op 1

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

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.

Benchmark suite Current: 17becae Previous: c907b90 Ratio
BenchmarkCachedRBACModelSmall - ns/op 262.2 ns/op 234.8 ns/op 1.12
BenchmarkCachedRBACModelLarge - ns/op 244.6 ns/op 219.1 ns/op 1.12
BenchmarkCachedRBACModelWithDomains - ns/op 284.5 ns/op 245 ns/op 1.16
BenchmarkCachedABACModel - ns/op 3971 ns/op 3578 ns/op 1.11
BenchmarkCachedKeyMatchModel - ns/op 270.9 ns/op 246 ns/op 1.10
BenchmarkHasPolicyLarge - ns/op 852.5 ns/op 758.8 ns/op 1.12
BenchmarkRemovePolicyLarge - ns/op 1976 ns/op 1670 ns/op 1.18
BenchmarkRBACModelSizes/medium - ns/op 811189 ns/op 723241 ns/op 1.12
BenchmarkRBACModelSizes/large - ns/op 9028181 ns/op 8190155 ns/op 1.10
BenchmarkRBACModelLarge - ns/op 9981906 ns/op 8955833 ns/op 1.11
BenchmarkRoleManagerLarge - ns/op 14234567 ns/op 12397943 ns/op 1.15
BenchmarkBuildRoleLinksWithPatternAndDomainPatternLarge - ns/op 9100464673 ns/op 7953300670 ns/op 1.14

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.