{"id":16485113,"url":"https://github.com/single9/rust-acitx-db-benchmarks","last_synced_at":"2026-06-07T18:32:59.910Z","repository":{"id":68154121,"uuid":"567015430","full_name":"single9/rust-acitx-db-benchmarks","owner":"single9","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-14T06:04:10.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T14:44:57.967Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":false,"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/single9.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":"2022-11-16T22:21:23.000Z","updated_at":"2023-01-03T02:31:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"683a1847-56d0-4c56-b6b4-7d9ca2044df5","html_url":"https://github.com/single9/rust-acitx-db-benchmarks","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/single9%2Frust-acitx-db-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/single9%2Frust-acitx-db-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/single9%2Frust-acitx-db-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/single9%2Frust-acitx-db-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/single9","download_url":"https://codeload.github.com/single9/rust-acitx-db-benchmarks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241261363,"owners_count":19936013,"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-11T13:24:13.848Z","updated_at":"2026-06-07T18:32:59.847Z","avatar_url":"https://github.com/single9.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Pratice 1\n\n## Installation\n\n### Ubuntu\n\n    sudo apt-get install libpq-dev\n\n### Build\n\n    cargo build --release\n\n## Setup\n\n### Database\n\n1. Copy `.env.sample` to `.env`.\n2. Run the command below to initialize the database\n\n    sqlx database create\n    sqlx migrate run\n\n### Run API Server\n\n    # Actix-web + sqlx\n    cargo run --release --bin api\n\n    # Actix-web + diesel\n    cargo run --release --bin api_diesel\n\n## Benchmark\n\nUsing [k6](https://github.com/grafana/k6).\n\n    k6 run --vus 100 --iterations 10000 benchmark/create_todo.js\n    k6 run --vus 100 --iterations 10000 benchmark/get_todo_list.js\n    k6 run --vus 100 --iterations 10000 benchmark/get_todo.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingle9%2Frust-acitx-db-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsingle9%2Frust-acitx-db-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingle9%2Frust-acitx-db-benchmarks/lists"}