Skip to content

chore(bench): add benchmarks #1

chore(bench): add benchmarks

chore(bench): add benchmarks #1

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:
- python-version: latest
steps:
- name: Checkout code from ${{ github.repository }}
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'yarn'
- name: Install Deps
run: pip install scrapy && pip install spider_rs
- name: Run Bench @spider-rs/spider-rs
run: python ./bench/spider.py
- name: Run Bench Scrapy
run: python ./bench/scrapy.py