Skip to content

Update to React 18 #417

Update to React 18

Update to React 18 #417

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 90
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