Skip to content

0.0.130

0.0.130 #173

Workflow file for this run

name: Bench Compare
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
checkout_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- node-version: 18.x
- node-version: latest
steps:
- name: Checkout code from ${{ github.repository }}
uses: actions/checkout@v4
- name: Install OpenSSL
run: sudo apt-get update && sudo apt-get install -y openssl
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install yarn
run: corepack enable && corepack prepare yarn@stable --activate
- name: Install Deps
run: yarn --no-immutable && yarn build && cd bench && npm i
- name: Run Bench @spider-rs/spider-rs
run: yarn bench
- name: Run Bench OSS
run: yarn bench:oss