{"id":18554842,"url":"https://github.com/kadukeitor/db-benchmarking","last_synced_at":"2025-04-09T23:31:54.343Z","repository":{"id":68364834,"uuid":"78031121","full_name":"kadukeitor/db-benchmarking","owner":"kadukeitor","description":"Simple database benchmarking tool","archived":false,"fork":false,"pushed_at":"2017-01-05T14:50:07.000Z","size":199,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T13:43:51.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/kadukeitor.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":"2017-01-04T16:08:37.000Z","updated_at":"2019-03-30T04:53:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"53927164-a7e9-428c-910a-8457946d7143","html_url":"https://github.com/kadukeitor/db-benchmarking","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/kadukeitor%2Fdb-benchmarking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kadukeitor%2Fdb-benchmarking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kadukeitor%2Fdb-benchmarking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kadukeitor%2Fdb-benchmarking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kadukeitor","download_url":"https://codeload.github.com/kadukeitor/db-benchmarking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248129877,"owners_count":21052652,"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-11-06T21:24:07.766Z","updated_at":"2025-04-09T23:31:54.325Z","avatar_url":"https://github.com/kadukeitor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DB Benchmarking\n\nSimple database benchmarking tool.\n\n![Write](./.github/write.gif?raw=true \"Write\")\n\n## Install\n\n- `git clone https://github.com/kadukeitor/db-benchmarking.git`\n- `cd db-benchmarking`\n- `npm install`s\n\n## Configuration\n\nCopy the file `config/\u003csource\u003e.json.dist` to `config/\u003csource\u003e.json` and set your params.\n\n## How to Use\n\n`\n./cli.js \u003coperation\u003e \u003csource\u003e -w \u003cworkers\u003e -d \u003cdocuments\u003e\n`\n\n### Operations\n\n- schema\n- write\n- read\n- count\n- remove\n- drop\n\n### Sources\n\n- mongodb\n- cassandra\n- sqlite\n- mysql\n- redis\n\n### Options\n\n- `-w` workers (optional)\n- `-d` documents (optional)\n\n### Examples\n\nWe use the source mongodb as example in all the operations\n\n#### Write\n\nWrite -d documents by each -w worker on the table/collection\n\n`\n./cli.js write mongodb -w 5 -d 1000\n`\n\n#### Read\n\nRead -d documents by each -w worker on the table/collection\n\n`\n./cli.js read mongodb -d 1000\n`\n\n#### Count\n\nCount the number of documents/rows on the table/collection\n\n`\n./cli.js count mongodb\n`\n\n#### Remove\n\nRemove all documents/rows on the table/collection\n\n`\n./cli.js remove mongodb\n`\n\n#### Schema\n\nCreate the table/collection schema\n\n`\n./cli.js schema mongodb\n`\n\n#### Remove\n\nDrop the table/collection\n\n`\n./cli.js drop mongodb\n`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkadukeitor%2Fdb-benchmarking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkadukeitor%2Fdb-benchmarking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkadukeitor%2Fdb-benchmarking/lists"}