casbin / casbin-rs

An authorization library that supports access control models like ACL, RBAC, ABAC in Rust.
https://casbin.org
Apache License 2.0
828 stars 67 forks source link

How is performance of the Rhai engine in Casbin? #314

Closed schungx closed 1 year ago

schungx commented 1 year ago

I'm wondering whether the performance of Casbin improves when Rhai is updated to the latest version... anybody has any benchmarks comparing this with earlier versions?

hsluoyz commented 1 year ago

@schungx you can run the benchmark to test it: https://github.com/casbin/casbin-rs/blob/master/benches/benchmark.rs