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

4
Cargo.lock generated
View File

@@ -2740,6 +2740,7 @@ dependencies = [
"nostr",
"nostrdb",
"poll-promise",
"profiling",
"puffin",
"puffin_egui",
"serde",
@@ -2765,6 +2766,7 @@ dependencies = [
"egui_extras",
"notedeck",
"notedeck_columns",
"profiling",
"puffin",
"puffin_egui",
"serde",
@@ -2803,6 +2805,7 @@ dependencies = [
"open",
"poll-promise",
"pretty_assertions",
"profiling",
"puffin",
"puffin_egui",
"rfd",
@@ -3487,6 +3490,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afbdc74edc00b6f6a218ca6a5364d6226a259d4b8ea1af4a0ea063f27e179f4d"
dependencies = [
"profiling-procmacros",
"puffin",
]
[[package]]