Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b50cbdb
fix: should not use the same instance in benches
nilptr Dec 15, 2024
4a9756d
feat: replace rayon with tokio as the multi-thread runner
nilptr Dec 16, 2024
82eab8b
feat: add resolve-from-symlinks-multi-thread bench
nilptr Dec 17, 2024
701e7e5
chore: cargo fmt
nilptr Dec 19, 2024
b7e3e29
fix: check wasm error
nilptr Dec 19, 2024
aac8c39
feat: change to async
nilptr Dec 13, 2024
369e758
fix: async recursion
nilptr Dec 15, 2024
2d01d2c
chore: remove validation code in benches
nilptr Dec 15, 2024
243eada
fix: use std::fs instead of tokio::fs
nilptr Dec 17, 2024
17ffbb3
chore: cargo fmt
nilptr Dec 19, 2024
0e07e76
fix: yarn_pnp feature
nilptr Dec 19, 2024
35782b8
Merge remote-tracking branch 'origin/main' into nilptr/feat/async
stormslowly Mar 19, 2025
a7bdbf0
refactor: use tokio fs directly
stormslowly Mar 20, 2025
568282f
test: change benmark test name
stormslowly Mar 20, 2025
0e7c5ec
chore: cargo fmt
stormslowly Mar 20, 2025
aa86540
chore: remove unused crate
stormslowly Mar 20, 2025
197e6b8
chore: clippy happy
stormslowly Mar 21, 2025
22c538c
chore: pass wasm check
stormslowly Mar 24, 2025
adcb8d2
chore: 🔥 remove uesless files
stormslowly Mar 24, 2025
bdd300d
chore: 🔥 adjust benchmark
stormslowly Mar 24, 2025
d9af0cb
refactor: change multi thread bench
stormslowly Mar 24, 2025
c001382
chore: ✏️
stormslowly Mar 24, 2025
b2d6c56
chore: init rayon thread pool avdanced benchmark
stormslowly Mar 24, 2025
99f4f62
chore: setup benchmark pkgs
stormslowly Mar 25, 2025
a64aa23
test: use real npm package to benchmark
stormslowly Mar 25, 2025
5cf7f62
chore: setup bench data in workflow
stormslowly Mar 25, 2025
803cffc
chore: pnpm install with opt --ignore-workspace
stormslowly Mar 25, 2025
21bb931
chore: more reasonable bench
stormslowly Mar 25, 2025
ea7e5c4
Merge branch 'chore/benchmark_rayon' into nilptr/feat/async
stormslowly Mar 25, 2025
77ff0a6
chore: cargo fmt
stormslowly Mar 25, 2025
a9cfe72
test: perf with tokio async
stormslowly Mar 27, 2025
6065e64
Merge remote-tracking branch 'origin/main' into nilptr/feat/async
stormslowly Mar 27, 2025
ade28bf
fix: Cargo.lock
stormslowly Mar 27, 2025
d6e0051
test: move back symbol link validating
stormslowly Mar 27, 2025
d89ce1b
chore: pass wasm check
stormslowly Mar 27, 2025
9f80d31
chore: fix license check
stormslowly Mar 27, 2025
a10c0e2
chore: fallback to codspeed feature
stormslowly Mar 27, 2025
7da0b16
chore: try cargo bench
stormslowly Mar 27, 2025
a2d052d
chore: try use `block_on` by self
stormslowly Mar 27, 2025
453f2d7
Merge remote-tracking branch 'origin/main' into nilptr/feat/async
stormslowly Mar 27, 2025
d105916
fix: un-awaited code
stormslowly Mar 27, 2025
7af89c3
test: no code speed for mutli-thread testing
stormslowly Mar 27, 2025
651a49b
Merge remote-tracking branch 'origin/main' into nilptr/feat/async
stormslowly Apr 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Setup benchmark data
run: cd benches && pnpm install --ignore-workspace

- name: Cargo Bench
run: cargo bench

- uses: Boshen/setup-rust@main
with:
cache-key: benchmark
Expand All @@ -43,8 +46,8 @@ jobs:
- uses: ./.github/actions/pnpm
- name: Build Benchmark
env:
RUSTFLAGS: "-C debuginfo=1 -C strip=none -g"
run: cargo codspeed build
RUSTFLAGS: "-C debuginfo=1 -C strip=none -g --cfg codspeed"
run: cargo codspeed build --features codspeed

- name: Run benchmark
uses: CodSpeedHQ/action@v3
Expand Down
Loading
Loading