Skip to content

Commit

Permalink
Merge pull request #16 from yuma140902/rename-benchmark-lib
Browse files Browse the repository at this point in the history
refactor: rename benchmark-lib to benchmark
  • Loading branch information
yuma140902 authored May 13, 2024
2 parents 4a227b2 + cbeb197 commit ff86644
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ jobs:
- run: firefox --version
- uses: browser-actions/setup-chrome@v1
- run: chrome --version
- run: wasm-pack test --headless --firefox -- --workspace --features test_in_browser --features benchmark-lib/test_in_browser --verbose
- run: wasm-pack test --headless --firefox --release -- --workspace --features test_in_browser --features benchmark-lib/test_in_browser --verbose
- run: wasm-pack test --headless --chrome -- --workspace --features test_in_browser --features benchmark-lib/test_in_browser --verbose
- run: wasm-pack test --headless --chrome --release -- --workspace --features test_in_browser --features benchmark-lib/test_in_browser --verbose
- run: wasm-pack test --headless --firefox -- --workspace --features test_in_browser --features benchmark/test_in_browser --verbose
- run: wasm-pack test --headless --firefox --release -- --workspace --features test_in_browser --features benchmark/test_in_browser --verbose
- run: wasm-pack test --headless --chrome -- --workspace --features test_in_browser --features benchmark/test_in_browser --verbose
- run: wasm-pack test --headless --chrome --release -- --workspace --features test_in_browser --features benchmark/test_in_browser --verbose

miri:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ wasm-bindgen-test = "0.3.42"

[workspace]
members = [
"benchmark-lib"
"benchmark"
]

[workspace.package]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,6 @@ wasm-pack test --node -- --workspace
```

```sh
wasm-pack test --firefox --headless -- --workspace --features test_in_browser --features benchmark-lib/test_in_browser
wasm-pack test --firefox --headless -- --workspace --features test_in_browser --features benchmark/test_in_browser
```

2 changes: 1 addition & 1 deletion benchmark-lib/Cargo.toml → benchmark/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "benchmark-lib"
name = "benchmark"
version = "0.1.0"
license.workspace = true
edition.workspace = true
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion doc/benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ cargo bench --workspace
- CPU: Intel Core i7-12700
- RAM: Samsung DDR4 3200MHz 16GB x 2

code: [bench.rs](../benchmark-lib/benches/bench.rs)
code: [bench.rs](../benchmark/benches/bench.rs)

0 comments on commit ff86644

Please sign in to comment.