n8n/packages/quality/efficiency
2026-10-14 10:32:11 +00:00
..
images test: Add Dive checks and reusable Playwright CLI fixtures (#40831) 2026-10-13 10:02:00 +00:00
memory/idle refactor: Move idle memory baselines to efficiency (#41037) 2026-10-14 10:32:11 +00:00
microbenchmarks refactor: Group quality engineering workspaces by capability (#40007) 2026-10-01 11:20:00 +00:00
scale/benchmark 🚀 Release 2.44.0 (#40943) 2026-10-13 07:12:07 +00:00
.gitignore test: Add Dive checks and reusable Playwright CLI fixtures (#40831) 2026-10-13 10:02:00 +00:00
AGENTS.md test: Add Dive checks and reusable Playwright CLI fixtures (#40831) 2026-10-13 10:02:00 +00:00
oxlint.config.mts test: Add Dive checks and reusable Playwright CLI fixtures (#40831) 2026-10-13 10:02:00 +00:00
package.json refactor: Move idle memory baselines to efficiency (#41037) 2026-10-14 10:32:11 +00:00
playwright.config.ts refactor: Move idle memory baselines to efficiency (#41037) 2026-10-14 10:32:11 +00:00
README.md refactor: Move idle memory baselines to efficiency (#41037) 2026-10-14 10:32:11 +00:00
tsconfig.json refactor: Move idle memory baselines to efficiency (#41037) 2026-10-14 10:32:11 +00:00

Efficiency tooling

This area owns resource measurements, microbenchmarks, and load-test tools. The root @n8n/efficiency workspace uses Playwright with shared reporting from n8n-playwright. Its configuration owns the efficiency projects and their scopes. Suites live in folders such as images/.

Tool Use it to Guide
@n8n/efficiency Measure Docker image size and layer waste with Dive Image measurements
@n8n/efficiency Measure idle memory with fixed container profiles Idle memory baselines
@n8n/performance Compare code paths without building an n8n Docker image Microbenchmarks
@n8n/n8n-benchmark Run load scenarios against an n8n instance Benchmark CLI

For memory retention, canvas performance, throughput, and local soak tests, use the Playwright suite map.

Run image measurements with pnpm --filter @n8n/efficiency test:images. Run idle memory baselines with pnpm --filter @n8n/efficiency test:memory. The nested microbenchmark and benchmark CLI workspaces keep their own commands and configurations.