summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/integration_wgpu/Cargo.toml1
-rw-r--r--examples/integration_wgpu/src/main.rs7
2 files changed, 0 insertions, 8 deletions
diff --git a/examples/integration_wgpu/Cargo.toml b/examples/integration_wgpu/Cargo.toml
index 9380f659..eaa1df7e 100644
--- a/examples/integration_wgpu/Cargo.toml
+++ b/examples/integration_wgpu/Cargo.toml
@@ -8,7 +8,6 @@ publish = false
[dependencies]
iced_winit = { path = "../../winit" }
iced_wgpu = { path = "../../wgpu", features = ["webgl"] }
-iced_profiling = { path = "../../profiling", features = ["tracing-chrome"]}
env_logger = "0.8"
[target.'cfg(target_arch = "wasm32")'.dependencies]
diff --git a/examples/integration_wgpu/src/main.rs b/examples/integration_wgpu/src/main.rs
index e3dfb6fc..70f9a48b 100644
--- a/examples/integration_wgpu/src/main.rs
+++ b/examples/integration_wgpu/src/main.rs
@@ -16,8 +16,6 @@ use winit::{
event_loop::{ControlFlow, EventLoop},
};
-use iced_profiling::info_span;
-
#[cfg(target_arch = "wasm32")]
use wasm_bindgen::JsCast;
#[cfg(target_arch = "wasm32")]
@@ -41,9 +39,6 @@ pub fn main() {
#[cfg(not(target_arch = "wasm32"))]
env_logger::init();
- // Initialize tracing
- let _guard = iced_profiling::init();
-
// Initialize winit
let event_loop = EventLoop::new();
@@ -203,8 +198,6 @@ pub fn main() {
}
}
Event::RedrawRequested(_) => {
- let _ = info_span!("Integration_WGPU", "DRAW").entered();
-
if resized {
let size = window.inner_size();