makepad/libs/rapier/crates/bench/Cargo.toml
Admin 630577cb98 rapier: restore simd-stable (vendor wide + safe_arch), retest vs box3d
Re-vendors wide 0.7 + safe_arch, restores the upstream simd-stable
wiring in rapier3d/parry3d manifests and the cfg-simd source, and drops
the added 'stripped build does not support SIMD' guards (upstream's
simd-vs-enhanced-determinism exclusivity guard kept).

Interleaved single-thread retest (min of 4): SIMD buys rapier 1.8-2.2x;
box3d vs rapier-simd is now near parity — large_pyramid 1579 vs 1638 ms,
joint_grid 957 vs 1008 ms (box3d ahead), many_pyramids 2389 vs 1970 ms
(rapier ahead). box3d README grid updated with the honest three-column
table; box3d keeps cross-arch determinism + zero deps at that speed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 14:17:26 +02:00

20 lines
495 B
TOML

[package]
name = "bench"
version = "0.1.0"
edition = "2021"
publish = false
[[bin]]
name = "bench"
path = "src/main.rs"
[dependencies]
# Fast-math build by default; `--features det` re-enables the vendored
# default `enhanced-determinism` (simba libm_force) for the determinism
# column of the comparison.
rapier3d = { path = "../rapier3d", default-features = false, features = ["dim3", "f32"] }
[features]
default = []
det = ["rapier3d/enhanced-determinism"]
simd = ["rapier3d/simd-stable"]