summaryrefslogtreecommitdiff
path: root/profile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'profile.sh')
-rwxr-xr-xprofile.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/profile.sh b/profile.sh
new file mode 100755
index 0000000..473c984
--- /dev/null
+++ b/profile.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+cargo build --example wasm-rust --profile profiling
+samply record ./target/profiling/examples/wasm-rust $@