Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fix cargo-tarpaulin run failed issue in CI #357

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

liulifox233
Copy link
Contributor

switch to run cargo-tarpaulin by cargo

Copy link

github-actions bot commented Jan 3, 2025

Benchmark for c5a05d3

Click to view benchmark
Test PR Benchmark Master Benchmark %
b_benchmark_rbac_model_large 10.0±0.10ms 9.8±0.07ms +2.04%
benchmark priority model 4.1±0.06µs 4.1±0.03µs 0.00%
benchmark_abac_model 2.4±0.03µs 2.3±0.04µs +4.35%
benchmark_basic_model 3.6±0.11µs 3.7±0.04µs -2.70%
benchmark_key_match 6.7±0.09µs 6.8±0.16µs -1.47%
benchmark_raw 0.0±0.00ns 0.0±0.00ns NaN%
benchmark_rbac_model 6.0±0.09µs 6.1±0.06µs -1.64%
benchmark_rbac_model_medium 839.5±11.55µs 873.4±8.05µs -3.88%
benchmark_rbac_model_with_domains 5.8±0.05µs 5.9±0.18µs -1.69%
benchmark_rbac_with_deny 8.3±0.12µs 8.4±0.08µs -1.19%
benchmark_rbac_with_resource_roles 4.2±0.07µs 4.3±0.07µs -2.33%
benchmark_role_manager_large 4.6±0.03ms 4.8±0.07ms -4.17%
benchmark_role_manager_medium 299.6±4.75µs 298.9±3.30µs +0.23%
benchmark_role_manager_small 90.4±1.11µs 89.0±1.28µs +1.57%

Copy link

github-actions bot commented Jan 3, 2025

Benchmark for c5a05d3

Click to view benchmark
Test PR Benchmark Master Benchmark %
b_benchmark_rbac_model_large 9.8±0.14ms 10.0±0.07ms -2.00%
benchmark priority model 4.2±0.06µs 4.1±0.05µs +2.44%
benchmark_abac_model 2.5±0.04µs 2.5±0.04µs 0.00%
benchmark_basic_model 3.7±0.06µs 3.6±0.05µs +2.78%
benchmark_key_match 6.8±0.08µs 6.9±0.10µs -1.45%
benchmark_raw 0.0±0.00ns 0.0±0.00ns NaN%
benchmark_rbac_model 6.1±0.06µs 6.1±0.06µs 0.00%
benchmark_rbac_model_medium 824.8±6.39µs 879.6±20.95µs -6.23%
benchmark_rbac_model_with_domains 5.9±0.06µs 5.9±0.05µs 0.00%
benchmark_rbac_with_deny 8.3±0.08µs 8.4±0.11µs -1.19%
benchmark_rbac_with_resource_roles 4.3±0.06µs 4.3±0.05µs 0.00%
benchmark_role_manager_large 4.6±0.03ms 4.7±0.04ms -2.13%
benchmark_role_manager_medium 303.5±3.59µs 299.3±3.71µs +1.40%
benchmark_role_manager_small 90.5±0.95µs 89.6±1.66µs +1.00%

@hsluoyz hsluoyz closed this Jan 3, 2025
@hsluoyz hsluoyz reopened this Jan 3, 2025
Copy link

github-actions bot commented Jan 3, 2025

Benchmark for d7c93e8

Click to view benchmark
Test PR Benchmark Master Benchmark %
b_benchmark_rbac_model_large 10.5±0.15ms 10.4±0.12ms +0.96%
benchmark priority model 4.2±0.06µs 4.1±0.06µs +2.44%
benchmark_abac_model 2.5±0.08µs 2.5±0.03µs 0.00%
benchmark_basic_model 3.7±0.09µs 3.7±0.03µs 0.00%
benchmark_key_match 6.9±0.09µs 6.7±0.09µs +2.99%
benchmark_raw 0.0±0.00ns 0.0±0.00ns NaN%
benchmark_rbac_model 6.3±0.08µs 6.2±0.11µs +1.61%
benchmark_rbac_model_medium 877.4±6.78µs 856.0±16.37µs +2.50%
benchmark_rbac_model_with_domains 5.9±0.12µs 5.8±0.09µs +1.72%
benchmark_rbac_with_deny 8.6±0.33µs 8.4±0.12µs +2.38%
benchmark_rbac_with_resource_roles 4.4±0.07µs 4.3±0.06µs +2.33%
benchmark_role_manager_large 4.7±0.02ms 4.6±0.03ms +2.17%
benchmark_role_manager_medium 303.2±3.31µs 296.7±4.34µs +2.19%
benchmark_role_manager_small 91.2±1.01µs 92.4±1.67µs -1.30%

@hsluoyz hsluoyz changed the title fix: cargo-tarpaulin run failed feat: fix cargo-tarpaulin run failed issue in CI Jan 3, 2025
@hsluoyz hsluoyz merged commit 9858402 into casbin:master Jan 3, 2025
12 of 18 checks passed
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.

2 participants