Skip to content

Commit

Permalink
add back feature flags for profiling for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwparas committed Sep 12, 2024
1 parent 2004e3a commit 1636045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/steel-core/src/steel_vm/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ impl Engine {
log::debug!(target:"kernel", "Instantiating a new kernel");
#[cfg(feature = "profiling")]
let mut total_time = std::time::Instant::now();
// #[cfg(feature = "profiling")]
#[cfg(feature = "profiling")]
let mut now = std::time::Instant::now();

let mut vm = Engine {
Expand Down Expand Up @@ -478,7 +478,7 @@ impl Engine {

set_default_prelude_macros(vm.in_scope_macros().clone());

// #[cfg(feature = "profiling")]
#[cfg(feature = "profiling")]
log::debug!(target: "kernel", "Loaded prelude in the kernel!: {:?}", now.elapsed());

#[cfg(feature = "profiling")]
Expand Down

0 comments on commit 1636045

Please sign in to comment.