rhai: bench regression 13.0 vs 14.1
before -> 13.0 after -> 14.1
name before ns/iter after ns/iter diff ns/iter diff % speedup
b_benchmark_abac_model 6,408 9,470 3,062 47.78% x 0.68
b_benchmark_basic_model 7,201 9,421 2,220 30.83% x 0.76
b_benchmark_key_match 25,328 31,897 6,569 25.94% x 0.79
b_benchmark_priority_model 7,776 12,074 4,298 55.27% x 0.64
b_benchmark_raw 7 8 1 14.29% x 0.88
b_benchmark_rbac_model 18,992 29,028 10,036 52.84% x 0.65
b_benchmark_rbac_model_large 56,901,480 83,206,148 26,304,668 46.23% x 0.68
b_benchmark_rbac_model_medium 5,514,162 8,043,472 2,529,310 45.87% x 0.69
b_benchmark_rbac_model_small 562,147 816,090 253,943 45.17% x 0.69
b_benchmark_rbac_model_with_domains 11,124 20,845 9,721 87.39% x 0.53
b_benchmark_rbac_with_deny 33,161 47,960 14,799 44.63% x 0.69
b_benchmark_rbac_with_resource_roles 8,789 12,374 3,585 40.79% x 0.71
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 23 (13 by maintainers)
@schungx Yes I think more benchmarks need to be added because it clearly shows that the current bench cannot cover real scenarios like the case in
casbin-rs.Here the latest bench diff if you would like to have a look:
https://github.com/casbin/casbin-rs/commit/51af3dc113d1edd13dcda3fd3808f9f9aac7bcd2#commitcomment-39287182
Great thanks on your quick support!