switch to profiling crates

This switches to the profiling crate for compatible
profiling between rust libraries.

To enable:

$ cargo build --release --features puffin

Feel free to experiment with other profiling backends
as well! Would be great to get tracy working.
This commit is contained in:
William Casarin
2025-03-23 10:43:49 -07:00
parent 7b9e6f180c
commit 54deb2dd88
20 changed files with 46 additions and 80 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# pass --mobile for mobile previews
#RUST_LOG=info cargo run --bin ui_preview --features profiling --release -- "$@"
#RUST_LOG=info cargo run --bin ui_preview --features puffin --release -- "$@"
cargo run --bin ui_preview --release -- "$@"