From a05f7db3b2b5a2fc24fc9df7de13ddac8a1cd7ad Mon Sep 17 00:00:00 2001 From: dapplion <35266934+dapplion@users.noreply.github.com> Date: Thu, 7 Apr 2022 17:04:13 +0200 Subject: [PATCH] Remove unstable performance test processParticipationFlagUpdates --- .../processParticipationFlagUpdates.test.ts | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 packages/beacon-state-transition/test/perf/altair/epoch/processParticipationFlagUpdates.test.ts diff --git a/packages/beacon-state-transition/test/perf/altair/epoch/processParticipationFlagUpdates.test.ts b/packages/beacon-state-transition/test/perf/altair/epoch/processParticipationFlagUpdates.test.ts deleted file mode 100644 index bdcded583d1d..000000000000 --- a/packages/beacon-state-transition/test/perf/altair/epoch/processParticipationFlagUpdates.test.ts +++ /dev/null @@ -1,18 +0,0 @@ -import {itBench} from "@dapplion/benchmark"; -import {altair} from "../../../../src"; -import {StateAltair} from "../../types"; -import {generatePerfTestCachedStateAltair, numValidators} from "../../util"; - -// PERF: Cost = 'proportional' to $VALIDATOR_COUNT. Just copies a tree and recreates another - -describe("altair processParticipationFlagUpdates", () => { - const vc = numValidators; - - itBench({ - id: `altair processParticipationFlagUpdates - ${vc} anycase`, - yieldEventLoopAfterEach: true, // So SubTree(s)'s WeakRef can be garbage collected https://github.com/nodejs/node/issues/39902 - before: () => generatePerfTestCachedStateAltair({goBackOneSlot: true}), - beforeEach: (state) => state.clone(), - fn: (state) => altair.processParticipationFlagUpdates(state), - }); -});