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

test: Benchmarks for CachedEnforcer #116

Merged
merged 1 commit into from
Jul 11, 2021
Merged

Conversation

EmperorYP7
Copy link
Member

Fixes #42

Signed-off-by: Yash Pandey (YP) yash.btech.cs19@iiitranchi.ac.in


Description

This code:

  • Adds benchmarks for analyzing the performance of the project at various scales of usage. This includes:
    • BenchmarkCachedRBACModelSmall
    • BenchmarkCachedRBACModelMedium
    • BenchmarkCachedRBACModelLarge - not executed due to AddPolicies() resulting in segmentation fault
    • BenchmarkCachedRBACModelWithResourceRoles
    • BenchmarkCachedRBACModelWithDomains
    • BenchmarkCachedKeyMatchModel
    • BenchmarkCachedRBACModelWithDeny
    • BenchmarkCachedPriorityModel -
    • BenchmarkCachedRBACModelMediumParallel - undefined hiatus while running this benchmark

Signed-off-by: Yash Pandey (YP) <yash.btech.cs19@iiitranchi.ac.in>
@EmperorYP7
Copy link
Member Author

@hsluoyz @xcaptain May we merge this?

@hsluoyz hsluoyz merged commit f00c5d5 into casbin:master Jul 11, 2021
@github-actions
Copy link

🎉 This PR is included in version 1.26.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@EmperorYP7 EmperorYP7 deleted the benchmark branch July 26, 2021 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup benchmarks
2 participants