bevy/benches/benches/bevy_render
Waridley 89e00b19c4
Add compute_*_normals benchmarks (#18648)
# Objective

Benchmark current `compute_*_normals` methods to get a baseline as
requested in
https://github.com/bevyengine/bevy/pull/18552#issuecomment-2764875143

## Solution

Since the change to the default smooth normals method will definitely
cause a regression, but the previous method will remain as an option, I
added two technically-redundant benchmarks but with different names:
`smooth_normals` for whatever default weighting method is used, and
`face_weighted_normals` to benchmark the area-weighted method regardless
of what the default is. Then I'm adding `angle_weighted_normals` in
#18552. I also added `flat_normals` for completeness.
2025-03-31 17:58:45 +00:00
..
compute_normals.rs Add compute_*_normals benchmarks (#18648) 2025-03-31 17:58:45 +00:00
main.rs Add compute_*_normals benchmarks (#18648) 2025-03-31 17:58:45 +00:00
render_layers.rs
torus.rs