From 4c139e56ec0062fcfe7078fe6272a58fc5bc7bed Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Mon, 27 Mar 2023 20:58:33 +0200 Subject: [PATCH] chore(deps): bump benchmark.js codspeed plugin to 1.0.2 (#18514) --- packages/client/package.json | 2 +- .../benchmarks/huge-schema/huge-schema.bench.ts | 1 + .../lots-of-relations/lots-of-relations.bench.ts | 1 + pnpm-lock.yaml | 14 +++++++------- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 376763300be3..1638809719bc 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -62,7 +62,7 @@ "index-browser.js" ], "devDependencies": { - "@codspeed/benchmark.js-plugin": "1.0.1", + "@codspeed/benchmark.js-plugin": "1.0.2", "@faker-js/faker": "7.6.0", "@fast-check/jest": "1.6.0", "@jest/globals": "29.4.3", diff --git a/packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts b/packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts index fcd9a723d2ec..29f33fc17dce 100644 --- a/packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts +++ b/packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts @@ -11,6 +11,7 @@ import { generateTestClient } from '../../../utils/getTestClient' const suite = withCodSpeed(new Benchmark.Suite('typescript')) // @ts-ignore +// eslint-disable-next-line @typescript-eslint/no-floating-promises suite .add('client generation ~50 Models', { defer: true, diff --git a/packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts b/packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts index d901524bfe03..6065755723a3 100644 --- a/packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts +++ b/packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts @@ -7,6 +7,7 @@ import { generateTestClient } from '../../../utils/getTestClient' const suite = withCodSpeed(new Benchmark.Suite('typescript')) // @ts-ignore +// eslint-disable-next-line @typescript-eslint/no-floating-promises suite .add('client generation 100 models with relations', { defer: true, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c22a3f55de50..58af990d5f1e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -216,7 +216,7 @@ importers: packages/client: specifiers: - '@codspeed/benchmark.js-plugin': 1.0.1 + '@codspeed/benchmark.js-plugin': 1.0.2 '@faker-js/faker': 7.6.0 '@fast-check/jest': 1.6.0 '@jest/globals': 29.4.3 @@ -299,7 +299,7 @@ importers: dependencies: '@prisma/engines-version': 4.12.0-64.7d39155bcb3183078ffc3cf9be5d110cc3f9f578 devDependencies: - '@codspeed/benchmark.js-plugin': 1.0.1_benchmark@2.1.4 + '@codspeed/benchmark.js-plugin': 1.0.2_benchmark@2.1.4 '@faker-js/faker': 7.6.0 '@fast-check/jest': 1.6.0_@jest+globals@29.4.3 '@jest/globals': 29.4.3 @@ -2210,19 +2210,19 @@ packages: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true - /@codspeed/benchmark.js-plugin/1.0.1_benchmark@2.1.4: - resolution: {integrity: sha512-dMZ5U7cT2FlpEJVyiuGnBJNArhumhCb8nQcOkXnbI0GdMw9CFOxK2a/juOdh5KOFg0+8LWGWNjfYRivuz96l2g==} + /@codspeed/benchmark.js-plugin/1.0.2_benchmark@2.1.4: + resolution: {integrity: sha512-1Q/aOmvdAtl56rEAiyASSCdIJVYoMPZ5POnCQpln2VLLIhhf5XjjBAP5Vc40EmhTAT5uyb7zfnyOc7AEr5v9oA==} peerDependencies: benchmark: ^2.1.0 dependencies: - '@codspeed/core': 1.0.1 + '@codspeed/core': 1.0.2 benchmark: 2.1.4 find-up: 6.3.0 stack-trace: 1.0.0-pre1 dev: true - /@codspeed/core/1.0.1: - resolution: {integrity: sha512-fIjsZZYhQJWRaGC+rsUYdJQvYlEdihWo4RfxyQ29hCtlR5ga8RQqQfKmkcik4MSyx/QLzB34hKYWJj/zFb5YAw==} + /@codspeed/core/1.0.2: + resolution: {integrity: sha512-HgdGfHWdb9hs9931LPfKU50lCUax5U1tgPsHzEEOgWOrSyaCStMURrgJbd9jLqWp2QmccWkTjoR8zTjEabaZGw==} dependencies: node-gyp-build: 4.6.0 dev: true