{"id":17277776,"url":"https://github.com/sassman/ssd-benchmark-rs","last_synced_at":"2025-04-05T08:06:43.459Z","repository":{"id":43120114,"uuid":"262161377","full_name":"sassman/ssd-benchmark-rs","owner":"sassman","description":"Super Simple Disk Benchmark - benchmarks the writing performance of your disk","archived":false,"fork":false,"pushed_at":"2025-03-17T04:54:52.000Z","size":1569,"stargazers_count":50,"open_issues_count":6,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T07:06:26.357Z","etag":null,"topics":["command-line-tool","disk-benchmark","rust","utilit"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sassman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"sassman"}},"created_at":"2020-05-07T21:22:34.000Z","updated_at":"2025-03-05T15:58:32.000Z","dependencies_parsed_at":"2025-01-21T22:00:33.805Z","dependency_job_id":"fd033fd4-c309-49ea-a237-e88cc7eb6adc","html_url":"https://github.com/sassman/ssd-benchmark-rs","commit_stats":{"total_commits":59,"total_committers":7,"mean_commits":8.428571428571429,"dds":0.3389830508474576,"last_synced_commit":"f3409fb0d4fc72e3abace681607ca4fbc1348822"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fssd-benchmark-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fssd-benchmark-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fssd-benchmark-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fssd-benchmark-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sassman","download_url":"https://codeload.github.com/sassman/ssd-benchmark-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305934,"owners_count":20917208,"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":["command-line-tool","disk-benchmark","rust","utilit"],"created_at":"2024-10-15T09:09:56.002Z","updated_at":"2025-04-05T08:06:43.443Z","avatar_url":"https://github.com/sassman.png","language":"Rust","funding_links":["https://github.com/sponsors/sassman"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n \u003cimg src=\"https://github.com/sassman/ssd-benchmark-rs/blob/main/docs/demo.png?raw=true\" width=\"950\"\u003e\n \u003ch1\u003e\u003cstrong\u003eSSD Benchmark\u003c/strong\u003e\u003c/h1\u003e\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![Crates Version](https://img.shields.io/crates/v/ssd-benchmark.svg)](https://crates.io/crates/ssd-benchmark)\n[![Build Status](https://github.com/sassman/ssd-benchmark-rs/workflows/Build/badge.svg)](https://github.com/sassman/ssd-benchmark-rs/actions?query=branch%3Amain+workflow%3ABuild+)\n[![dependency status](https://deps.rs/repo/github/sassman/ssd-benchmark-rs/status.svg)](https://deps.rs/repo/github/sassman/ssd-benchmark-rs)\n\n\u003c/div\u003e\n\n\u003e A super simple disk benchmark tool\n\ninspired by [simple disk benchmark][1].\n\nThis tool has just one single purpose, it measures the writing performance of your hard disk on macOS and Linux. More precisely spoken of the disk under your `CWD`.\n\nIt used random data and writes first sequentially chunks of 8MB until a total 1GB is written. It measures writing time and throughput.\n\nAfter that, it writes these random data 8 times again on disk and measures the average writing times and throughput for this.\n\n## Demo\n\n![demo](./docs/demo.gif)\n\n## Quick Start\n\n### Using the docker image\n\n```sh\ndocker run --rm ghcr.io/sassman/ssd-benchmark-rs\n```\n\n### Install on linux\n\n[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/ssd-benchmark)\n\n```sh\nsudo snap install ssd-benchmark\n```\n\n### Install with cargo\n\nTo install the ssd-benchmark tool, you just need to run\n\n```bash\ncargo install --force ssd-benchmark\n```\n\n(--force just makes it update to the latest version if it's already installed)\n\nto verify if the installation went through, you can run `ssd-benchmark` that should output similar to\n\n```sh\n$HOME/.cargo/bin/ssd-benchmark\n```\n\n### Usage\n\n```sh\n$ ssd-benchmark\n____    ____    ____                ____                          _                                  _\n/ ___|  / ___|  |  _ \\              | __ )    ___   _ __     ___  | |__    _ __ ___     __ _   _ __  | | __\n\\___ \\  \\___ \\  | | | |    _____    |  _ \\   / _ \\ | '_ \\   / __| | '_ \\  | '_ ` _ \\   / _` | | '__| | |/ /\n___) |  ___) | | |_| |   |_____|   | |_) | |  __/ | | | | | (__  | | | | | | | | | | | (_| | | |    |   \u003c\n|____/  |____/  |____/              |____/   \\___| |_| |_|  \\___| |_| |_| |_| |_| |_|  \\__,_| |_|    |_|\\_\\\n\n\nVersion 1.2.0\n\n## Sequential Writes\n\nPerforming 128 sequential writes of 8 MB blocks\n................................................................\n\nTotal time                                  229 ms\nWrite Throughput                           4.37 GB/s\nWrite Performance                           558 IOPS\n\n## Cycled Sequential Writes\n\nPerforming 8 cycles of 128 sequential writes of 8 MB blocks\n[1/8] ................................................................\n[2/8] ................................................................\n[3/8] ................................................................\n[4/8] ................................................................\n[5/8] ................................................................\n[6/8] ................................................................\n[7/8] ................................................................\n[8/8] ................................................................\n\nTotal time                                 1894 ms\nMin write time                              205 ms\nMax write time                              401 ms\nRange write time                            195 ms\nMean write time Ø                           236 ms\nStandard deviation σ                         62 ms\n\nMin write throughput                       2.49 GB/s\nMax write throughput                       4.87 GB/s\nMax write performance                       623 IOPS\nMin write performance                       318 IOPS\nMean write performance                      565 IOPS\n\n## Notes\n\n1 MB = 1024 KB and 1 KB = 1024 B\nIOPS = Throughput [B/s] / Block Size [B]\n```\n\n## Options\n\n- `-d` or `--directory` to specify a directory to write to and meassure the performance\n- `--block-size` to specify the block size in, like `--block-size 4k` or `--block-size 8m` (default is 8m)\n\n## Missing something?\n\nIf you miss a feature file an issue on [github][2] and don't forget to star the repo.\n\n[1]: http://www.geschke-online.de/sdb/\n[2]: https://github.com/sassman/ssd-benchmark-rs/issues","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassman%2Fssd-benchmark-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsassman%2Fssd-benchmark-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassman%2Fssd-benchmark-rs/lists"}