casbin-cpp: [doc] Benchmark data about casbin-cpp in `casbin.org` maybe wrong.
Description
casbin-cpp
benchmark data in official website maybe wrong, RBAC
time comlexity maybe O(n)
rather than O(1)
, n is policy numbers in memory. So with data increase in RBAC small
, RBAC medium
and RBAC large
, consumed time will increase. We can ref to this action, and other languge benchmark.

- And when I run
Large benchmark
in my local machine, I can’t get the benchmark result, even I have run it at least one hour. I only get the some small data case benchmark result.

About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (16 by maintainers)
Even I expected it to be a lot faster. We need to look into what is causing the bottleneck. (as far as I can recall, it was related to duktape)
Alright, making a new issue for profiling.