Skip to content

Conversation

@mixator
Copy link
Contributor

@mixator mixator commented Feb 1, 2026

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

Currently nests has artillery as dependency but it does not used

Issue Number: N/A

What is the new behavior?

I reworked benchmarks and removed unused dependencies. 499 packages less will be installed. Also with #16231 PR it should resolve two critical vulnerabilities.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@coveralls
Copy link

coveralls commented Feb 1, 2026

Pull Request Test Coverage Report for Build cd5b6847-3ae5-438b-b448-e06c0093aa71

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 89.829%

Totals Coverage Status
Change from base Build 308ce03a-0006-44af-b50b-55da302916c0: 0.0%
Covered Lines: 7463
Relevant Lines: 8308

💛 - Coveralls

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR replaces the existing benchmarking infrastructure, removing the deprecated Artillery dependency and implementing a new custom benchmark system using autocannon. The changes reduce the dependency footprint by 499 packages.

Changes:

  • Removed Artillery, wrk, @codechecks/client, and related dependencies
  • Implemented new benchmark system in tools/benchmarks with TypeScript
  • Created framework test servers for Express, Fastify, Nest-Express, and Nest-Fastify
  • Added autocannon as the new benchmarking tool

Reviewed changes

Copilot reviewed 23 out of 31 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
tools/benchmarks/tsconfig.json TypeScript configuration for benchmarks
tools/benchmarks/src/main.ts Main benchmark orchestration logic
tools/benchmarks/src/autocannon/run.ts Autocannon wrapper utility
tools/benchmarks/src/frameworks/*.ts Framework-specific server implementations
tools/benchmarks/package.json Benchmark-specific dependencies
tools/benchmarks/package-lock.json Lock file for benchmark dependencies
package.json Removed unused benchmark dependencies from root
eslint.config.mjs Code style formatting updates
benchmarks/* Removed old benchmark files
tools/benchmarks/get-benchmarks.ts Removed old benchmark getter
tools/benchmarks/check-benchmarks.ts Removed old benchmark checker
Files not reviewed (1)
  • tools/benchmarks/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mixator
Copy link
Contributor Author

mixator commented Feb 3, 2026

merged changes from master and added fix from review

@kamilmysliwiec
Copy link
Member

Could you resolve merge conflicts?

@mixator
Copy link
Contributor Author

mixator commented Feb 3, 2026

@kamilmysliwiec Sure! done

@onmetafox
Copy link

Well, this looks good.

@kamilmysliwiec kamilmysliwiec merged commit 8a8833d into nestjs:master Feb 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants