diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fefb367..89f381a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,13 +24,8 @@ jobs: - run: | git config --global user.name github-actions git config --global user.email github-actions@github.com - - name: npm version - if: inputs.version != 'doconly' - run: | - npm version ${{ inputs.version }} - git add package.json package-lock.json - git commit -m v${{ inputs.version }} - git tag v${{ inputs.version }} + - if: inputs.version != 'doconly' + run: npm version ${{ inputs.version }} - run: git show HEAD - run: npm run build - run: npm run docs diff --git a/benchmarks/js-reactivity-benchmarks/dynamic.bench.ts b/benchmarks/js-reactivity-benchmarks/dynamic.bench.ts index 536f0f3..2bf09b2 100644 --- a/benchmarks/js-reactivity-benchmarks/dynamic.bench.ts +++ b/benchmarks/js-reactivity-benchmarks/dynamic.bench.ts @@ -307,11 +307,12 @@ const perfTests = [ ]; for (const config of perfTests) { - const { graph, counter } = makeGraph(config); + let graphAndCounter: GraphAndCounter; bench( `dynamic ${config.name}`, () => { + const { graph, counter } = graphAndCounter; counter.count = 0; const sum = runGraph(graph, config.iterations, config.readFraction); @@ -322,6 +323,13 @@ for (const config of perfTests) { expect(counter.count).toBe(config.expected.count); } }, - { throws: true, setup } + { + throws: true, + time: 5000, + setup() { + graphAndCounter = makeGraph(config); + setup(); + }, + } ); }