-
Notifications
You must be signed in to change notification settings - Fork 96
39 lines (36 loc) · 1.09 KB
/
bench.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Benches
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUST_LOG: "off"
SPIDER_BENCH_URL_LARGE: ${{ vars.SPIDER_BENCH_URL_LARGE }}
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
# - name: Run Benchmark Compare OSS
# run: cargo bench --bench crawl
- name: Run Benchmark Compare OSS - Features[decentralized]
run: cargo bench --bench crawl --features decentralized
# - name: Run Benchmark Massive 50k pages plus
# run: cargo bench --bench crawl_massive
- name: Run Benchmark Massive 50k pages plus - Features[decentralized]
run: cargo bench --bench crawl_massive --features decentralized