diff options
-rw-r--r-- | Cargo.toml | 4 | ||||
-rw-r--r-- | examples/tiny_vm.rs | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -5,3 +5,7 @@ edition = "2021" [dependencies] nix = "0.26.2" + +# When profiling one wants debug symbols for release builds. +#[profile.release] +#debug = 1 diff --git a/examples/tiny_vm.rs b/examples/tiny_vm.rs index d203bde..b441a4a 100644 --- a/examples/tiny_vm.rs +++ b/examples/tiny_vm.rs @@ -144,6 +144,8 @@ impl TinyVm { // -- JIT state. jit_cache, rt: Runtime::new(), + // Confifigure the runtime to generates perf meta data. + //rt: Runtime::with_profile(), } } |