Skip to content

test: add key get wrapper coverage#1730

Open
LegendPei wants to merge 1 commit intoapache:masterfrom
LegendPei:test/add-util-keyget-wrapper-tests
Open

test: add key get wrapper coverage#1730
LegendPei wants to merge 1 commit intoapache:masterfrom
LegendPei:test/add-util-keyget-wrapper-tests

Conversation

@LegendPei
Copy link
Copy Markdown

Add unit test coverage for the KeyGetFunc, KeyGet2Func, and KeyGet3Func wrapper functions in the util package

The new tests cover:

  • argument count validation
  • argument type validation
  • successful path variable extraction
  • missing path variable behavior

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

Benchmark Comparison

Comparing base branch (16b0c89)
vs PR branch (9d29e5b)

goos: linux
goarch: amd64
pkg: github.com/casbin/casbin/v3
cpu: AMD EPYC 7763 64-Core Processor                
                                                 │ base-bench.txt │             pr-bench.txt             │
                                                 │     sec/op     │    sec/op     vs base                      Diff          │
CachedRaw                                          16.15n ± ∞ ¹   16.17n ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.12% ➡️
CachedBasicModel                                   175.9n ± ∞ ¹   171.8n ± ∞ ¹       ~ (p=1.000 n=1) ²         -2.33% ➡️
CachedRBACModel                                    174.7n ± ∞ ¹   171.5n ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.83% ➡️
CachedRBACModelSmall                               183.0n ± ∞ ¹   178.6n ± ∞ ¹       ~ (p=1.000 n=1) ²         -2.40% ➡️
CachedRBACModelMedium                              195.0n ± ∞ ¹   180.9n ± ∞ ¹       ~ (p=1.000 n=1) ²         -7.23% ➡️
CachedRBACModelLarge                               159.7n ± ∞ ¹   157.5n ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.38% ➡️
CachedRBACModelWithResourceRoles                   177.5n ± ∞ ¹   177.5n ± ∞ ¹       ~ (p=1.000 n=1) ³         +0.00% ➡️
CachedRBACModelWithDomains                         186.7n ± ∞ ¹   181.4n ± ∞ ¹       ~ (p=1.000 n=1) ²         -2.84% ➡️
CachedABACModel                                    2.752µ ± ∞ ¹   2.715µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.34% ➡️
CachedKeyMatchModel                                195.3n ± ∞ ¹   188.1n ± ∞ ¹       ~ (p=1.000 n=1) ²         -3.69% ➡️
CachedRBACModelWithDeny                            175.5n ± ∞ ¹   170.8n ± ∞ ¹       ~ (p=1.000 n=1) ²         -2.68% ➡️
CachedPriorityModel                                175.7n ± ∞ ¹   172.6n ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.76% ➡️
CachedWithEnforceContext                           240.0n ± ∞ ¹   233.2n ± ∞ ¹       ~ (p=1.000 n=1) ²         -2.83% ➡️
CachedRBACModelMediumParallel                      167.9n ± ∞ ¹   170.8n ± ∞ ¹       ~ (p=1.000 n=1) ²         +1.73% ➡️
HasPolicySmall                                     432.1n ± ∞ ¹   425.5n ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.53% ➡️
HasPolicyMedium                                    460.0n ± ∞ ¹   459.9n ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.02% ➡️
HasPolicyLarge                                     481.5n ± ∞ ¹   468.9n ± ∞ ¹       ~ (p=1.000 n=1) ²         -2.62% ➡️
AddPolicySmall                                     538.0n ± ∞ ¹   531.4n ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.23% ➡️
AddPolicyMedium                                    666.9n ± ∞ ¹   670.2n ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.49% ➡️
AddPolicyLarge                                     1.130µ ± ∞ ¹   1.109µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.86% ➡️
RemovePolicySmall                                  520.6n ± ∞ ¹   512.5n ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.56% ➡️
RemovePolicyMedium                                 550.9n ± ∞ ¹   537.9n ± ∞ ¹       ~ (p=1.000 n=1) ²         -2.36% ➡️
RemovePolicyLarge                                  582.7n ± ∞ ¹   579.3n ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.58% ➡️
Raw                                                16.16n ± ∞ ¹   16.14n ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.12% ➡️
BasicModel                                         3.655µ ± ∞ ¹   3.638µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.47% ➡️
RBACModel                                          5.484µ ± ∞ ¹   5.472µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.22% ➡️
RBACModelSizes/small                               48.97µ ± ∞ ¹   49.33µ ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.74% ➡️
RBACModelSizes/medium                              481.8µ ± ∞ ¹   492.1µ ± ∞ ¹       ~ (p=1.000 n=1) ²         +2.14% ➡️
RBACModelSizes/large                               5.708m ± ∞ ¹   5.681m ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.47% ➡️
RBACModelSmall                                     58.53µ ± ∞ ¹   58.81µ ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.48% ➡️
RBACModelMedium                                    560.0µ ± ∞ ¹   569.2µ ± ∞ ¹       ~ (p=1.000 n=1) ²         +1.64% ➡️
RBACModelLarge                                     5.818m ± ∞ ¹   5.973m ± ∞ ¹       ~ (p=1.000 n=1) ²         +2.66% ➡️
RBACModelWithResourceRoles                         4.462µ ± ∞ ¹   4.445µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.38% ➡️
RBACModelWithDomains                               5.078µ ± ∞ ¹   5.121µ ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.85% ➡️
ABACModel                                          2.707µ ± ∞ ¹   2.701µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.22% ➡️
ABACRuleModel                                      3.992m ± ∞ ¹   3.965m ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.68% ➡️
KeyMatchModel                                      6.099µ ± ∞ ¹   6.048µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.84% ➡️
RBACModelWithDeny                                  7.060µ ± ∞ ¹   6.968µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.30% ➡️
PriorityModel                                      4.227µ ± ∞ ¹   4.242µ ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.35% ➡️
RBACModelWithDomainPatternLarge                    13.25µ ± ∞ ¹   13.48µ ± ∞ ¹       ~ (p=1.000 n=1) ²         +1.74% ➡️
RoleManagerSmall                                   44.92µ ± ∞ ¹   44.80µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.27% ➡️
RoleManagerMedium                                  509.6µ ± ∞ ¹   501.9µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.51% ➡️
RoleManagerLarge                                   7.649m ± ∞ ¹   8.345m ± ∞ ¹       ~ (p=1.000 n=1) ²         +9.10% ➡️
BuildRoleLinksWithPatternLarge                     294.0m ± ∞ ¹   288.4m ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.90% ➡️
BuildRoleLinksWithDomainPatternLarge               9.397m ± ∞ ¹   9.538m ± ∞ ¹       ~ (p=1.000 n=1) ²         +1.50% ➡️
BuildRoleLinksWithPatternAndDomainPatternLarge     304.4m ± ∞ ¹   296.0m ± ∞ ¹       ~ (p=1.000 n=1) ²         -2.76% ➡️
HasLinkWithPatternLarge                            947.6n ± ∞ ¹   928.6n ± ∞ ¹       ~ (p=1.000 n=1) ²         -2.01% ➡️
HasLinkWithDomainPatternLarge                      321.0n ± ∞ ¹   319.7n ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.40% ➡️
HasLinkWithPatternAndDomainPatternLarge            938.8n ± ∞ ¹   928.5n ± ∞ ¹       ~ (p=1.000 n=1) ²         -1.10% ➡️
ConcurrentHasLinkWithMatching                      1.116µ ± ∞ ¹   1.109µ ± ∞ ¹       ~ (p=1.000 n=1) ²         -0.63% ➡️
geomean                                              5.005µ         4.970µ                                     -0.70% ➡️
¹ need >= 6 samples for confidence interval at level 0.95
² need >= 4 samples to detect a difference at alpha level 0.05
³ all samples are equal

                                                 │ base-bench.txt │             pr-bench.txt              │
                                                 │      B/op      │     B/op       vs base                     Diff          │
CachedRaw                                           0.000 ± ∞ ¹     0.000 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedBasicModel                                    104.0 ± ∞ ¹     104.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedRBACModel                                     104.0 ± ∞ ¹     104.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedRBACModelSmall                                104.0 ± ∞ ¹     104.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedRBACModelMedium                               104.0 ± ∞ ¹     104.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedRBACModelLarge                                96.00 ± ∞ ¹     96.00 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedRBACModelWithResourceRoles                    104.0 ± ∞ ¹     104.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedRBACModelWithDomains                          120.0 ± ∞ ¹     120.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedABACModel                                   1.505Ki ± ∞ ¹   1.499Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.40% ➡️
CachedKeyMatchModel                                 152.0 ± ∞ ¹     152.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedRBACModelWithDeny                             104.0 ± ∞ ¹     104.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedPriorityModel                                 104.0 ± ∞ ¹     104.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedWithEnforceContext                            176.0 ± ∞ ¹     176.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
CachedRBACModelMediumParallel                       104.0 ± ∞ ¹     104.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
HasPolicySmall                                      102.0 ± ∞ ¹     102.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
HasPolicyMedium                                     109.0 ± ∞ ¹     109.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
HasPolicyLarge                                      117.0 ± ∞ ¹     117.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
AddPolicySmall                                      152.0 ± ∞ ¹     152.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
AddPolicyMedium                                     167.0 ± ∞ ¹     167.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
AddPolicyLarge                                      406.0 ± ∞ ¹     406.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
RemovePolicySmall                                   166.0 ± ∞ ¹     166.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
RemovePolicyMedium                                  173.0 ± ∞ ¹     173.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
RemovePolicyLarge                                   181.0 ± ∞ ¹     181.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
Raw                                                 0.000 ± ∞ ¹     0.000 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
BasicModel                                        1.481Ki ± ∞ ¹   1.475Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.41% ➡️
RBACModel                                         2.039Ki ± ∞ ¹   2.029Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.49% ➡️
RBACModelSizes/small                              19.75Ki ± ∞ ¹   19.66Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.46% ➡️
RBACModelSizes/medium                             187.3Ki ± ∞ ¹   187.0Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.16% ➡️
RBACModelSizes/large                              1.815Mi ± ∞ ¹   1.813Mi ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.11% ➡️
RBACModelSmall                                    19.81Ki ± ∞ ¹   19.72Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.45% ➡️
RBACModelMedium                                   189.9Ki ± ∞ ¹   189.6Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.16% ➡️
RBACModelLarge                                    1.840Mi ± ∞ ¹   1.840Mi ± ∞ ¹       ~ (p=1.000 n=1) ³        +0.00% ➡️
RBACModelWithResourceRoles                        1.829Ki ± ∞ ¹   1.823Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.33% ➡️
RBACModelWithDomains                              1.805Ki ± ∞ ¹   1.799Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.33% ➡️
ABACModel                                         1.499Ki ± ∞ ¹   1.493Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.40% ➡️
ABACRuleModel                                     1.180Mi ± ∞ ¹   1.176Mi ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.34% ➡️
KeyMatchModel                                     2.999Ki ± ∞ ¹   2.986Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.43% ➡️
RBACModelWithDeny                                 2.443Ki ± ∞ ¹   2.435Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.33% ➡️
PriorityModel                                     1.742Ki ± ∞ ¹   1.736Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.34% ➡️
RBACModelWithDomainPatternLarge                   8.694Ki ± ∞ ¹   8.680Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.16% ➡️
RoleManagerSmall                                    800.0 ± ∞ ¹     800.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
RoleManagerMedium                                 13.63Ki ± ∞ ¹   13.63Ki ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
RoleManagerLarge                                  224.6Ki ± ∞ ¹   224.6Ki ± ∞ ¹       ~ (p=1.000 n=1) ³        +0.00% ➡️
BuildRoleLinksWithPatternLarge                    60.78Mi ± ∞ ¹   60.65Mi ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.21% ➡️
BuildRoleLinksWithDomainPatternLarge              3.942Mi ± ∞ ¹   3.939Mi ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.08% ➡️
BuildRoleLinksWithPatternAndDomainPatternLarge    62.38Mi ± ∞ ¹   62.36Mi ± ∞ ¹       ~ (p=1.000 n=1) ³        -0.03% ➡️
HasLinkWithPatternLarge                             112.0 ± ∞ ¹     112.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
HasLinkWithDomainPatternLarge                       16.00 ± ∞ ¹     16.00 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
HasLinkWithPatternAndDomainPatternLarge             112.0 ± ∞ ¹     112.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
ConcurrentHasLinkWithMatching                       736.0 ± ∞ ¹     736.0 ± ∞ ¹       ~ (p=1.000 n=1) ²        +0.00% ➡️
geomean                                                         ⁴                                              -0.11% ➡️               ⁴
¹ need >= 6 samples for confidence interval at level 0.95
² all samples are equal
³ need >= 4 samples to detect a difference at alpha level 0.05
⁴ summaries must be >0 to compute geomean

                                                 │ base-bench.txt │             pr-bench.txt             │
                                                 │   allocs/op    │  allocs/op    vs base                      Diff          │
CachedRaw                                           0.000 ± ∞ ¹    0.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedBasicModel                                    4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedRBACModel                                     4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedRBACModelSmall                                4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedRBACModelMedium                               4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedRBACModelLarge                                3.000 ± ∞ ¹    3.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedRBACModelWithResourceRoles                    4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedRBACModelWithDomains                          4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedABACModel                                     18.00 ± ∞ ¹    18.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedKeyMatchModel                                 4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedRBACModelWithDeny                             4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedPriorityModel                                 4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedWithEnforceContext                            4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
CachedRBACModelMediumParallel                       4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
HasPolicySmall                                      4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
HasPolicyMedium                                     4.000 ± ∞ ¹    4.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
HasPolicyLarge                                      5.000 ± ∞ ¹    5.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
AddPolicySmall                                      6.000 ± ∞ ¹    6.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
AddPolicyMedium                                     7.000 ± ∞ ¹    7.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
AddPolicyLarge                                      9.000 ± ∞ ¹    9.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RemovePolicySmall                                   7.000 ± ∞ ¹    7.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RemovePolicyMedium                                  7.000 ± ∞ ¹    7.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RemovePolicyLarge                                   8.000 ± ∞ ¹    8.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
Raw                                                 0.000 ± ∞ ¹    0.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
BasicModel                                          18.00 ± ∞ ¹    18.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RBACModel                                           36.00 ± ∞ ¹    36.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RBACModelSizes/small                                481.0 ± ∞ ¹    481.0 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RBACModelSizes/medium                              4.830k ± ∞ ¹   4.829k ± ∞ ¹       ~ (p=1.000 n=1) ³         -0.02% ➡️
RBACModelSizes/large                               48.27k ± ∞ ¹   48.20k ± ∞ ¹       ~ (p=1.000 n=1) ³         -0.15% ➡️
RBACModelSmall                                      616.0 ± ∞ ¹    616.0 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RBACModelMedium                                    6.016k ± ∞ ¹   6.016k ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RBACModelLarge                                     60.08k ± ∞ ¹   60.08k ± ∞ ¹       ~ (p=1.000 n=1) ³         +0.00% ➡️
RBACModelWithResourceRoles                          28.00 ± ∞ ¹    28.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RBACModelWithDomains                                26.00 ± ∞ ¹    26.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
ABACModel                                           17.00 ± ∞ ¹    17.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
ABACRuleModel                                      34.08k ± ∞ ¹   34.08k ± ∞ ¹       ~ (p=1.000 n=1) ³         +0.00% ➡️
KeyMatchModel                                       38.00 ± ∞ ¹    38.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RBACModelWithDeny                                   50.00 ± ∞ ¹    50.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
PriorityModel                                       23.00 ± ∞ ¹    23.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RBACModelWithDomainPatternLarge                     73.00 ± ∞ ¹    73.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RoleManagerSmall                                    100.0 ± ∞ ¹    100.0 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RoleManagerMedium                                  1.744k ± ∞ ¹   1.744k ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
RoleManagerLarge                                   19.74k ± ∞ ¹   19.74k ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
BuildRoleLinksWithPatternLarge                     3.560M ± ∞ ¹   3.560M ± ∞ ¹       ~ (p=1.000 n=1) ³         +0.00% ➡️
BuildRoleLinksWithDomainPatternLarge               120.2k ± ∞ ¹   120.2k ± ∞ ¹       ~ (p=1.000 n=1) ³         +0.00% ➡️
BuildRoleLinksWithPatternAndDomainPatternLarge     3.637M ± ∞ ¹   3.637M ± ∞ ¹       ~ (p=1.000 n=1) ³         +0.00% ➡️
HasLinkWithPatternLarge                             9.000 ± ∞ ¹    9.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
HasLinkWithDomainPatternLarge                       1.000 ± ∞ ¹    1.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
HasLinkWithPatternAndDomainPatternLarge             9.000 ± ∞ ¹    9.000 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
ConcurrentHasLinkWithMatching                       11.00 ± ∞ ¹    11.00 ± ∞ ¹       ~ (p=1.000 n=1) ²         +0.00% ➡️
geomean                                                         ⁴                                              -0.00% ➡️               ⁴
¹ need >= 6 samples for confidence interval at level 0.95
² all samples are equal
³ need >= 4 samples to detect a difference at alpha level 0.05
⁴ summaries must be >0 to compute geomean

🤖 This comment will be automatically updated with the latest benchmark results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant