nodejs_benchmark
Run performance benchmarks on Node.js code using Vitest, benchmark.js, or custom scripts to identify bottlenecks and optimize execution speed.
Instructions
Run performance benchmarks with Vitest, benchmark.js, or custom scripts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments | |
| pattern | No | Benchmark file pattern (default: **/*.bench.{ts,js}) | |
| timeout | No | Command timeout in milliseconds | |
| directory | No | Working directory | |
| iterations | No | Number of iterations |