summaryrefslogtreecommitdiff
path: root/profile.sh
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-06-30 19:19:45 +0200
committerHenry Gressmann <mail@henrygressmann.de>2024-06-30 19:19:45 +0200
commit9c85fa9c3a2066ce851af53d7019e6a25a45af3b (patch)
tree79e6608e97f08c0ebdb64125b0c658f5cc4bb33f /profile.sh
parent7e8770cc4e418ef1a8cdfd9b1f59ee14b07cc6c9 (diff)
chore: restructure runtime and reduce build dependencies
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
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 $@