{"id":15710558,"url":"https://github.com/ivanhuay/micron-runner","last_synced_at":"2025-08-01T23:04:52.508Z","repository":{"id":34188051,"uuid":"171212320","full_name":"ivanhuay/micron-runner","owner":"ivanhuay","description":"Run your performance benchmark easier than ever","archived":false,"fork":false,"pushed_at":"2022-02-11T16:04:33.000Z","size":59,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-13T20:22:14.294Z","etag":null,"topics":["benchmark","benchmark-framework","nodejs-library","tests","utility"],"latest_commit_sha":null,"homepage":null,"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/ivanhuay.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}},"created_at":"2019-02-18T04:05:14.000Z","updated_at":"2019-12-27T18:01:28.000Z","dependencies_parsed_at":"2022-07-24T18:02:12.320Z","dependency_job_id":null,"html_url":"https://github.com/ivanhuay/micron-runner","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/ivanhuay/micron-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanhuay%2Fmicron-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanhuay%2Fmicron-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanhuay%2Fmicron-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanhuay%2Fmicron-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanhuay","download_url":"https://codeload.github.com/ivanhuay/micron-runner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanhuay%2Fmicron-runner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268310699,"owners_count":24230180,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["benchmark","benchmark-framework","nodejs-library","tests","utility"],"created_at":"2024-10-03T21:08:37.530Z","updated_at":"2025-08-01T23:04:52.471Z","avatar_url":"https://github.com/ivanhuay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Micron Runner\nRun your performance benchmark easier than ever.\n\n\n### Installation:\n\n```\nnpm i --save micron-runner\n```\n\nor global\n\n```\nnpm i --save  -g micron-runner\n```\n\n## Usage:\nrun with [default params](#defaults).\n```\nmicron-runnner\n```\nwith some custom params:\n```\nmicron-runner --end 10100 --step 1000\n```\nrequire a `tests` folder, example:\n```\n── tests\n    ├── console-log.js\n    └── stdout.js\n```\n\nhelp:\n```\nmicron-runner --h\n```\n```\n\n█▀▄▀█ ▄█ ▄█▄    █▄▄▄▄ ████▄    ▄     ▄\n█ █ █ ██ █▀ ▀▄  █  ▄▀ █   █     █   █\n█ ▄ █ ██ █   ▀  █▀▀▌  █   █ ██   █ █\n█   █ ▐█ █▄  ▄▀ █  █  ▀████ █ █  █ █\n   █   ▐ ▀███▀    █         █  █ █\n  ▀              ▀          █   ██ ▀\n\n\nMicron - benchmark runner\n\n  Run your performance benchmark easier than ever.\n\nOptions\n\n  --folder dir        The input folder.\n  --start integer     Initial amount of executions in the loop.\n  --end integer       End amount of executions in the loop.\n  --step integer      Step from start to end.\n  --repeats integer   Reapets for each loop.\n  --outdir path       Outdir for save results.\n  --help              Print this usage guide.\n\nExamples\n\n  Basic Example:   $ micron test\n  With Args:       $ micron test --start 200 --end 2200 --step 500 -r 3\n\n\n```\n### Defaults:\ndefault configuration values\n```\n  start: 100\n  end: 2100\n  step: 500\n  repeats: 3\n  folder: 'tests'\n  outdir: 'results'\n  verbose: false\n```\n## Test file format:\nExample: `tests/index.js`\n```\nfunction beforeAll() {\n  //do somethink\n}\nfunction test() {\n  //do somethink\n}\nfunction afterAll() {\n  //do somethink\n}\nmodule.exports = {\n  beforeAll,\n  test,\n  adterAll\n}\n```\n# Example:\ncode example [HERE](https://github.com/ivanhuay/micron-runner-example).\n\nview results [HERE](https://ivanhuay.github.io/micron-runner-example/)\n\n\n## Changelog\n* v0.0.12: Fixed labels to general chart.\n* v0.0.11: Axis labels added \u0026 fixed loop label.\n* v0.0.4: test folder validation added.\n* v0.0.5: fix results html template.\n* v0.0.6: fix stdout in micron.js file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanhuay%2Fmicron-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanhuay%2Fmicron-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanhuay%2Fmicron-runner/lists"}