Skip to content

fix: benchmark CI#5414

Merged
Uzlopak merged 1 commit intofastify:mainfrom
gurgunday:fix-benchmark-ci
Apr 21, 2024
Merged

fix: benchmark CI#5414
Uzlopak merged 1 commit intofastify:mainfrom
gurgunday:fix-benchmark-ci

Conversation

@gurgunday
Copy link
Copy Markdown
Member

@gurgunday gurgunday commented Apr 21, 2024

We cannot only install production dependencies in these workflows as they depend on devDeps to run:

npm install --only=production --ignore-scripts

npm run --silent benchmark > ./bench-result.md

"benchmark": "concurrently -k -s first \"node ./examples/benchmark/simple.js\" \"autocannon -c 100 -d 30 -p 10 localhost:3000/\"",

fastify/package.json

Lines 155 to 170 in 13f9b6e

"devDependencies": {
"@fastify/pre-commit": "^2.0.2",
"@sinclair/typebox": "^0.31.17",
"@sinonjs/fake-timers": "^11.1.0",
"@types/node": "^20.8.4",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"ajv": "^8.12.0",
"ajv-errors": "^3.0.0",
"ajv-formats": "^2.1.1",
"ajv-i18n": "^4.2.0",
"ajv-merge-patch": "^5.0.1",
"autocannon": "^7.14.0",
"branch-comparer": "^1.1.0",
"c8": "^8.0.1",
"concurrently": "^8.2.2",

@gurgunday gurgunday requested a review from a team April 21, 2024 09:31
Copy link
Copy Markdown
Member

@Fdawgs Fdawgs left a comment

Choose a reason for hiding this comment

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

Good spot

@Uzlopak Uzlopak merged commit 35a6b99 into fastify:main Apr 21, 2024
@gurgunday gurgunday deleted the fix-benchmark-ci branch April 21, 2024 11:25
@gurgunday gurgunday added the github actions Github actions related label Apr 21, 2024
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

github actions Github actions related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants