{"id":16117317,"url":"https://github.com/ddtkey/actix-web-authz-benchmark","last_synced_at":"2025-04-06T09:21:14.428Z","repository":{"id":109421977,"uuid":"364367600","full_name":"DDtKey/actix-web-authz-benchmark","owner":"DDtKey","description":"Minimal examples of using casbin-rs and actix-web-grants and performance comparisons","archived":false,"fork":false,"pushed_at":"2022-01-08T16:55:44.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-12T14:55:37.042Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DDtKey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-04T19:42:21.000Z","updated_at":"2024-02-15T02:43:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"f11e2c1a-26b4-451a-9ef1-695415282bbc","html_url":"https://github.com/DDtKey/actix-web-authz-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DDtKey%2Factix-web-authz-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DDtKey%2Factix-web-authz-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DDtKey%2Factix-web-authz-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DDtKey%2Factix-web-authz-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DDtKey","download_url":"https://codeload.github.com/DDtKey/actix-web-authz-benchmark/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247458794,"owners_count":20942088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T20:44:00.248Z","updated_at":"2025-04-06T09:21:14.403Z","avatar_url":"https://github.com/DDtKey.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Minimal examples of using [`casbin-rs`] and [`actix-web-grants`] and performance comparisons\n\nThe [`wrk`] tool was used for benchmarks (all commands used can be found in `bench.sh`)\n\n##### How to run benchmarks\n1. To run you need [`cargo`] and [`wrk`] installed\n2. Clone the `actix-web-authz-benchmark` repository\n3. Run the shell script `bench.sh` in the root of project directory\n```shell\nsh bench.sh\n```\n\n#### Table of benchmark results\n\n\u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd rowspan=\"2\"\u003eBenchmark\u003c/td\u003e\n      \u003ctd colspan=\"2\"\u003e\u003cb\u003eactix-web-grants\u003c/b\u003e\u003c/td\u003e\n      \u003ctd colspan=\"2\"\u003e\u003cb\u003ecasbin-rs\u003c/b\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eLatency\u003c/td\u003e\n      \u003ctd\u003eReq/Sec\u003c/td\u003e\n      \u003ctd\u003eLatency\u003c/td\u003e\n      \u003ctd\u003eReq/Sec\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eAllowed Endpoint\u003c/td\u003e\n      \u003ctd\u003e4.41 ms \u003c/td\u003e\n      \u003ctd\u003e22.69k \u003c/td\u003e\n      \u003ctd\u003e6.18 ms \u003c/td\u003e\n      \u003ctd\u003e16.27k\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eDenied Endpoint\u003c/td\u003e\n      \u003ctd\u003e4.94 ms\u003c/td\u003e\n      \u003ctd\u003e20.23k\u003c/td\u003e\n      \u003ctd\u003e6.70 ms\u003c/td\u003e\n      \u003ctd\u003e14.98k\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003e rustc: v1.52.0 (stable); CPU: 2,6 GHz 6-Core Intel Core i7; RAM: 16 GB\n\n[`actix-web-grants`]: https://github.com/DDtKey/actix-web-grants\n[`casbin-rs`]: https://github.com/casbin-rs/actix-casbin-auth\n[`wrk`]: https://github.com/wg/wrk\n[`cargo`]: https://doc.rust-lang.org/stable/cargo/getting-started/installation.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddtkey%2Factix-web-authz-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddtkey%2Factix-web-authz-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddtkey%2Factix-web-authz-benchmark/lists"}