chore(deps): update benchmark dependencies (#12442)

# Which Problems Are Solved

Outdated deps on the benchmark typscript modules.

# How the Problems Are Solved

Upgrade all deps

# Additional Changes

- Add xk6 a prerequisite for running benchmarks
- Update the moduleResolution setting in tsconfig to a non-deprecated
value
- Some automatic code formatting

---------

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
This commit is contained in:
Tim Möhlmann
2026-07-15 16:47:15 +02:00
committed by GitHub
co-authored by Copilot Autofix powered by AI
parent 1e09b4fc19
commit 93209bd348
6 changed files with 1731 additions and 2086 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
{
"presets": ["@babel/env", "@babel/typescript"],
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread"
"@babel/plugin-transform-class-properties",
"@babel/plugin-transform-object-rest-spread"
]
}
+1
View File
@@ -7,6 +7,7 @@ This package contains code for benchmarking specific endpoints of the API using
* [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
* [k6](https://k6.io/docs/get-started/installation/)
* [go](https://go.dev/doc/install)
* [xk6](https://github.com/grafana/xk6#local-installation) (make sure `~/go/bin` is in your `${PATH}`)
* running the API
## Structure
+1709 -2067
View File
File diff suppressed because it is too large Load Diff
+12 -12
View File
@@ -7,20 +7,20 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@babel/core": "7.23.7",
"@babel/plugin-proposal-class-properties": "7.13.0",
"@babel/plugin-proposal-object-rest-spread": "7.13.8",
"@babel/preset-env": "7.23.8",
"@babel/preset-typescript": "7.23.3",
"@types/k6": ">=1.2.0",
"@babel/core": "7.29.7",
"@babel/plugin-transform-class-properties": "^7.29.7",
"@babel/plugin-transform-object-rest-spread": "^7.29.7",
"@babel/preset-env": "7.29.7",
"@babel/preset-typescript": "7.29.7",
"@types/k6": ">=2.0.0",
"@types/webpack": "5.28.5",
"babel-loader": "9.1.3",
"babel-loader": "10.1.1",
"clean-webpack-plugin": "4.0.0",
"copy-webpack-plugin": "^12.0.2",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^3.2.4",
"typescript": "5.4.5",
"webpack": "5.95.0",
"copy-webpack-plugin": "^14.0.0",
"prettier": "^3.9.5",
"prettier-plugin-organize-imports": "^4.3.0",
"typescript": "5.9.3",
"webpack": "5.108.4",
"webpack-cli": "5.1.4",
"webpack-glob-entries": "^1.0.1"
},
@@ -46,7 +46,9 @@ export default async function (data: any) {
export function teardown(data: any) {
// removeOrg(data.org, data.tokens.accessToken);
console.info('teardown: org is not removed to verify correctness of projections, do not forget to remove the org afterwards');
console.info(
'teardown: org is not removed to verify correctness of projections, do not forget to remove the org afterwards',
);
}
/**
@@ -74,4 +76,4 @@ export function teardown(data: any) {
)
group by aggregate_type
) order by 2;
*/
*/
+2 -2
View File
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "ES6",
"moduleResolution": "node",
"module": "commonjs",
"moduleResolution": "bundler",
"module": "esnext",
"noEmit": true,
"allowJs": true,
"removeComments": false,