{"id":14971932,"url":"https://github.com/grafana/k6-benchmarks","last_synced_at":"2025-10-19T10:31:44.457Z","repository":{"id":42276714,"uuid":"258524188","full_name":"grafana/k6-benchmarks","owner":"grafana","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-13T14:18:55.000Z","size":1268,"stargazers_count":34,"open_issues_count":2,"forks_count":9,"subscribers_count":143,"default_branch":"master","last_synced_at":"2025-01-29T11:51:54.937Z","etag":null,"topics":["keep"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grafana.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":"2020-04-24T13:45:03.000Z","updated_at":"2025-01-27T13:51:44.000Z","dependencies_parsed_at":"2024-10-07T10:14:48.217Z","dependency_job_id":"93af4afa-f8b7-4ad1-9b7f-9426e0e4930f","html_url":"https://github.com/grafana/k6-benchmarks","commit_stats":{"total_commits":48,"total_committers":4,"mean_commits":12.0,"dds":0.5,"last_synced_commit":"be555f196c0161ef517972a0646dd365ba8a4578"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fk6-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fk6-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fk6-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fk6-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grafana","download_url":"https://codeload.github.com/grafana/k6-benchmarks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237110459,"owners_count":19257339,"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":["keep"],"created_at":"2024-09-24T13:46:05.552Z","updated_at":"2025-10-19T10:31:44.153Z","avatar_url":"https://github.com/grafana.png","language":"JavaScript","readme":"# k6 benchmarks\n\nThis repository contains [k6](https://k6.io/) scripts used to benchmark k6 performance under different test scenarios, on a variety of hardware configurations. We track statistics such as CPU and memory usage, HTTP requests per second (RPS), and number of VUs, which are graphed and presented in easily readable documents.\n\nThe goal is to keep track of k6 performance for each major release, in order to detect any regressions early, and to easily share the performance a single instance of k6 can achieve with the community.\n\n\n## Scripts\n\nYou can see the k6 scripts used in the [/scripts](/scripts) directory.\n\n- `website.js`: a general purpose script that replicates common real-world scenarios: loading the front page and static assets, and logging in using some predefined credentials. It uses popular k6 features, such as custom metrics, checks, thresholds and `sleep()`.\n  The purpose of this script is not to achieve the highest RPS, but to track general performance.\n\n- `RPS-optimized.js`: a simple script that tries to achieve the highest possible RPS.\n\n- `file-upload.js`: a script that uploads a large file, used to track memory usage and network throughput.\n\n\n## Load generators\n\nWe use a variety of load generator machines, to measure the performance under different hardware configurations. Currently these are AWS EC2 instances, which may change in the future.\n\n- `m5.large`: 2 vCPU cores, 8GB RAM\n\n- `m5.4xlarge`: 16 vCPU cores, 64GB RAM\n\n- `m5.24xlarge`: 96 vCPU cores, 384GB RAM\n\n\n## System under test\n\nAll scripts are run against a large-scale deployment of a simple test PHP site maintained by the k6 team. This site is available publicly at https://test.k6.io/, though for purposes of these tests, and to keep infrastructure costs down, we make secondary deployments that are only available during the benchmark run.\n\n## Results\n\nResults of tested k6 versions are available in the [/results](/results) directory. You can find the raw data, graphs and result explanations in each subdirectory.\n\n## Usage\n\nSee the [Usage document](/docs/usage.md) for information about setting up the environment, and commands to run the benchmarks.\n\n## Related\n\n- [\"Running large tests\" guide](https://k6.io/docs/testing-guides/running-large-tests/): learn about some ways to improve k6 performance, error troubleshooting, and more.\n\n- [\"Fine tuning OS\" guide](https://k6.io/docs/misc/fine-tuning-os): learn about different operating system configuration tweaks to make sure k6 runs optimally.\n\n\n## License\n\n[ISC](/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrafana%2Fk6-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrafana%2Fk6-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrafana%2Fk6-benchmarks/lists"}