The Express Performance Working Group establishes a framework for evaluating performance changes in Express, providing consistent measurement criteria, tooling, and guidance to ensure performance-related decisions are made with data and context.
We focus on evaluation, not prescription. Rather than dictating how to write fast code, we:
- Define how Express evaluates performance work
- Measure whether changes are meaningful
- Ensure performance PRs are evaluated consistently and in context
- Establish evaluation criteria (latency, throughput, memory usage)
- Define what constitutes "meaningful" performance changes
- Create standards for testing under various conditions (concurrency, payload size, middleware stack)
- Tooling: see Perf CLI Readme.md
- Provide environments and tools to make measurements possible
- Help contributors run performance tests and interpret results
- Maintain two categories of tests:
- Focused unit benchmarks (in package repos)
- E2E load tests of realistic applications (in express repo)
- Does this proposed change meaningfully improve performance under realistic load?
- By how much? (p95 latency, req/sec, CPU usage)
- Under what conditions?
- Work with Node.js core on unlocking performance improvements
- Maintain relationships with monitoring providers through OSS programs
- Support public benchmark maintenance
Initiative | Champion | Status | Links |
---|---|---|---|
Setup Charter | @wesleytodd | In progress | #3 |
The Performance WG is made up of volunteers, you do not need to be a member to participate, but once you participate please open a PR to add youself here.
Two teams exist for mentioning the group and managing access:
- @expressjs/perf-wg: everyone participating in the WG has write access to this repo
- @expressjs/perf-wg-captains: the repository captians as per Express project guidelines
- Wes Todd (Captain)
- Chris de Almeida
- Jean Burellier
- Sebastian Beltran
- Ulises Gascón
- Murat Kirazkaya
- Luke Lucas
The Performance Working Group meets bi-weekly (see meeting issues). The meeting is open to the public. The agenda and meeting notes are published in this repository. You can find the calendar entries in the OpenJS Foundation calendar.
The Performance Working Group uses GitHub issues for offline discussion.
The discussions are open to the public and anyone may participate. Also, the group uses the channel #express-perf-wg
in the OpenJS Foundation Slack for realtime discussions.
The Express Project's CoC applies to this repo.