---
name: php186-skill-77250
description: "k6 是一个现代的负载测试工具，用于在 JavaScript 中编写性能检查。它适用于 CI、开发者测试和可观察性工作流，在这些场景中可重复的负载场景很重要。"
---

# k6 负载测试 CLI 用于 JavaScript 性能场景

## k6 负载测试 CLI 用于 JavaScript 性能场景

 

k6 is a modern load testing tool for writing performance checks in JavaScript. It fits CI, developer testing, and observability workflows where repeatable load scenarios matter.

 

## Prerequisites

 

Go, JavaScript runtime

 

## Installation

 

Basic usage or getting-started notes:

 

- ## Example script
- You can run scripts like this on the CLI, or in your CI, or across a Kubernetes cluster.
- Get Started. Install, run a test, inspect results.
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/grafana/k6/HEAD/README.md

 

## Documentation

 

- https://grafana.com/docs/k6/latest/
