Possible performance regression in WASM builds #11122
Labels
C-Bug
An unexpected or incorrect behavior
C-Performance
A change motivated by improving speed, memory usage or compile times
O-Web
Specific to web (WASM) builds
P-Regression
Functionality that used to work but no longer does. Add a test for this!
Milestone
Bevy version
Relevant system information
Please include:
Cargo version:
cargo 1.76.0-nightly
OS:
Arch Linux, Kernel 6.6.7
CPU:
Intel(R) Core(TM) i7-4770HQ
GPU:
None (integrated)
Using trunk for builds.
What's performing poorly?
Updating from 0.12.1 to
main
makes wasm builds very slow, they take 100% of the GPU and drop a lot of frames. This doesn't happen with native builds, they run the same as before. I tested it on an empty 2d scene with a camera.Before and After Traces
Additional information
Minimum example (2d shapes from the examples folder with minimum trunk setup)
minimum_project.zip
100ms before
100ms after
100ms native (no lag) tracy
The text was updated successfully, but these errors were encountered: