mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
Run `cargo bench -p affine_media_capture`
```
test result: ok. 0 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running benches/mix_audio_samples.rs (target/release/deps/mix_audio_samples-ffbc55dcf90d3468)
audio mix/simd time: [98.380 ns 99.339 ns 100.57 ns]
change: [−19.199% −16.928% −14.569%] (p = 0.00 < 0.05)
Performance has improved.
Found 12 outliers among 100 measurements (12.00%)
6 (6.00%) high mild
6 (6.00%) high severe
audio mix/scalar time: [123.99 ns 126.11 ns 128.71 ns]
change: [+0.2703% +1.2739% +2.5727%] (p = 0.02 < 0.05)
Change within noise threshold.
Found 11 outliers among 100 measurements (11.00%)
4 (4.00%) high mild
7 (7.00%) high severe
```
15 lines
805 B
TOML
15 lines
805 B
TOML
[target.x86_64-pc-windows-msvc]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
[target.aarch64-pc-windows-msvc]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
[target.'cfg(target_os = "linux")']
|
|
rustflags = ["-C", "link-args=-Wl,--warn-unresolved-symbols"]
|
|
[target.'cfg(target_os = "macos")']
|
|
rustflags = ["-C", "link-args=-Wl,-undefined,dynamic_lookup,-no_fixup_chains", "-C", "link-args=-all_load", "-C", "link-args=-weak_framework ScreenCaptureKit"]
|
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=21032
|
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=21031
|
|
# https://github.com/rust-lang/rust/issues/134820
|
|
# pthread_key_create() destructors and segfault after a DSO unloading
|
|
[target.'cfg(all(target_env = "gnu", not(target_os = "windows")))']
|
|
rustflags = ["-C", "link-args=-Wl,-z,nodelete"]
|