{"id":20210777,"url":"https://github.com/bluekeyes/rndout","last_synced_at":"2026-05-12T19:42:05.398Z","repository":{"id":146499329,"uuid":"502192613","full_name":"bluekeyes/rndout","owner":"bluekeyes","description":"Generate random output for testing throughput","archived":false,"fork":false,"pushed_at":"2024-09-20T22:06:59.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T21:33:03.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bluekeyes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2022-06-10T22:07:13.000Z","updated_at":"2024-09-20T22:07:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"f98c1705-8630-42b8-b955-fa0a173fa3cf","html_url":"https://github.com/bluekeyes/rndout","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluekeyes%2Frndout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluekeyes%2Frndout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluekeyes%2Frndout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluekeyes%2Frndout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bluekeyes","download_url":"https://codeload.github.com/bluekeyes/rndout/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241652921,"owners_count":19997574,"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-14T05:49:26.995Z","updated_at":"2026-05-12T19:42:05.334Z","avatar_url":"https://github.com/bluekeyes.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rndout\n\nGenerate random output for testing. Originally written to simulate output from\nbuilds while testing a CI system. May be useful for other things that just need\nthroughput and not a specific data format.\n\n## Usage\n\n```\n$ rndout -help\n\n  -block-size int\n        maximum number of characters printed in one line/operation (default 4096)\n  -duration duration\n        duration (default 1m0s)\n  -mode string\n        the operation mode, one of 'logistic' or 'ramp' (default \"logistic\")\n  -ramp-duration duration\n        time taken to reach the peak rate; only used with -mode=ramp (default 10s)\n  -rate string\n        peak character rate in chars/s (default \"128\")\n  -scale int\n        scale factor for the output distribution; only used with -mode=logistic (default 25)\n  -skip-probability float\n        probability that a given slice will contain skips\n  -skips int\n        expected number of time steps with no output per slice (default 2)\n  -slice-length int\n        number of time steps per slice (default 16)\n  -step-size duration\n        length of each time step (default 250ms)\n```\n\nOutput is written to `stdout`.\n\n## Algorithm\n\n### `ramp` mode\n\nLinearly increase the output rate on each step until reaching the peak output\nrate after the ramp duration. Remain at that output rate for the remaining\ntime.\n\n### `logistic` mode\n\n1. Divide the duration by the step size\n2. Select a random step at which to reach the peak output rate\n3. For each step, print random ASCII characters such that the output rate\n   follows a logistic distribution with scale `scale` centered at the peak step\n4. Every `slice-length` steps, randomly sample a Poisson distribution to\n   determine how many steps to skip printing output. This reduces the actual\n   output rate but can add more realistic pauses and gaps in the output.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluekeyes%2Frndout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluekeyes%2Frndout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluekeyes%2Frndout/lists"}