Skip to content

Cached maps (useFacetMemo) can return values before any subscription #445

Cached maps (useFacetMemo) can return values before any subscription

Cached maps (useFacetMemo) can return values before any subscription #445

Workflow file for this run

name: benchmarking
on:
push:
branches: [main]
pull_request:
jobs:
listMemo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- run: cd examples/benchmarking && yarn build && yarn compare listMemoFacet listMemoState 70
marker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- run: cd examples/benchmarking && yarn build && yarn compare markerFacet markerState 88 19000
mount:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- run: cd examples/benchmarking && yarn build && yarn compare mountFacetDomFiber mountReactDom 91
overhead:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- run: cd examples/benchmarking && yarn build && yarn compare overheadFacet overheadState 53
progressBar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- run: cd examples/benchmarking && yarn build && yarn compare progressBarFacet progressBarState 51
toggleRealisticClass:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- run: cd examples/benchmarking && yarn build && yarn compare toggleRealisticClassFacet toggleRealisticClassState 45
toggleSimpleClass:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- run: cd examples/benchmarking && yarn build && yarn compare toggleSimpleClassFacet toggleSimpleClassState 59