Skip to content

Commit cd2879c

Browse files
committed
remove benches
1 parent cf6cc4a commit cd2879c

18 files changed

+41
-1104
lines changed

.circleci/config.yml

+38-38
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,32 @@ jobs:
1616
python3 -V
1717
- run: |
1818
python3 ./scripts/testgen.py --target aarch64-unknown-linux-gnu | bash -ex
19-
bench-aarch64:
20-
parameters:
21-
dispatch:
22-
type: string
23-
machine:
24-
image: ubuntu-2004:current
25-
resource_class: arm.large
26-
steps:
27-
- checkout
28-
- run: |
29-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly -y
30-
- run: |
31-
rustc -V -v
32-
python3 -V
33-
- run: |
34-
cargo install cargo-criterion
35-
pip3 install tabulate
36-
- run: |
37-
DISPATCH=<< parameters.dispatch >> ./scripts/bench.sh --benches --plotting-backend disabled -- --warm-up-time 1 --measurement-time 1
38-
- run: |
39-
COMMIT_HASH=`git rev-parse --short HEAD`
40-
NAME=target/simd-benches/$COMMIT_HASH-<< parameters.dispatch >>
41-
mv $NAME.md result.md
42-
cat result.md
43-
- store_artifacts:
44-
path: result.md
19+
# bench-aarch64:
20+
# parameters:
21+
# dispatch:
22+
# type: string
23+
# machine:
24+
# image: ubuntu-2004:current
25+
# resource_class: arm.large
26+
# steps:
27+
# - checkout
28+
# - run: |
29+
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly -y
30+
# - run: |
31+
# rustc -V -v
32+
# python3 -V
33+
# - run: |
34+
# cargo install cargo-criterion
35+
# pip3 install tabulate
36+
# - run: |
37+
# DISPATCH=<< parameters.dispatch >> ./scripts/bench.sh --benches --plotting-backend disabled -- --warm-up-time 1 --measurement-time 1
38+
# - run: |
39+
# COMMIT_HASH=`git rev-parse --short HEAD`
40+
# NAME=target/simd-benches/$COMMIT_HASH-<< parameters.dispatch >>
41+
# mv $NAME.md result.md
42+
# cat result.md
43+
# - store_artifacts:
44+
# path: result.md
4545

4646
workflows:
4747
test:
@@ -50,15 +50,15 @@ workflows:
5050
filters:
5151
branches:
5252
only: main
53-
bench:
54-
jobs:
55-
- bench-aarch64:
56-
filters:
57-
branches:
58-
only: benchmark
59-
matrix:
60-
parameters:
61-
dispatch:
62-
- static-unstable
63-
- dynamic
64-
- fallback
53+
# bench:
54+
# jobs:
55+
# - bench-aarch64:
56+
# filters:
57+
# branches:
58+
# only: benchmark
59+
# matrix:
60+
# parameters:
61+
# dispatch:
62+
# - static-unstable
63+
# - dynamic
64+
# - fallback

.github/workflows/benchmark.yml

-73
This file was deleted.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
members = ["crates/*", "benches"]
2+
members = ["crates/*"]
33
resolver = "2"
44

55
[profile.test]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SIMD-accelerated operations
1313
| [hex-simd](./crates/hex-simd/) | [![Crates.io](https://img.shields.io/crates/v/hex-simd.svg)](https://crates.io/crates/hex-simd) | [![Docs](https://docs.rs/hex-simd/badge.svg)](https://docs.rs/hex-simd/) |
1414
| [uuid-simd](./crates/uuid-simd/) | [![Crates.io](https://img.shields.io/crates/v/uuid-simd.svg)](https://crates.io/crates/uuid-simd) | [![Docs](https://docs.rs/uuid-simd/badge.svg)](https://docs.rs/uuid-simd/) |
1515

16-
The crates automatically select SIMD functions when available and provide fast fallback implementations. Benchmark results are available in [Benchmark Dashboard](https://github.com/Nugine/simd/issues/25).
16+
The crates automatically select SIMD functions when available and provide fast fallback implementations. Benchmark results are available in [simd-benches](https://github.com/Nugine/simd-benches).
1717

1818
## Goals
1919

README.zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SIMD 加速操作
1313
| [hex-simd](./crates/hex-simd/) | [![Crates.io](https://img.shields.io/crates/v/hex-simd.svg)](https://crates.io/crates/hex-simd) | [![Docs](https://docs.rs/hex-simd/badge.svg)](https://docs.rs/hex-simd/) |
1414
| [uuid-simd](./crates/uuid-simd/) | [![Crates.io](https://img.shields.io/crates/v/uuid-simd.svg)](https://crates.io/crates/uuid-simd) | [![Docs](https://docs.rs/uuid-simd/badge.svg)](https://docs.rs/uuid-simd/) |
1515

16-
这些 crate 自动选择可用的 SIMD 函数并提供快速的回退实现。基准测试结果可在 [Benchmark Dashboard](https://github.com/Nugine/simd/issues/25) 查看。
16+
这些 crate 自动选择可用的 SIMD 函数并提供快速的回退实现。基准测试结果可在 [simd-benches](https://github.com/Nugine/simd-benches) 查看。
1717

1818
## 目标
1919

benches/Cargo.toml

-70
This file was deleted.

benches/ascii.rs

-43
This file was deleted.

0 commit comments

Comments
 (0)