summaryrefslogtreecommitdiff
path: root/benchmarks/quick-xml/.env
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/quick-xml/.env')
-rw-r--r--benchmarks/quick-xml/.env/build.sh5
-rw-r--r--benchmarks/quick-xml/.env/debug.sh8
2 files changed, 13 insertions, 0 deletions
diff --git a/benchmarks/quick-xml/.env/build.sh b/benchmarks/quick-xml/.env/build.sh
new file mode 100644
index 0000000..09ce8e7
--- /dev/null
+++ b/benchmarks/quick-xml/.env/build.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+#RUSTFLAGS="-C target-cpu=native" cargo build --release
+cargo build --release
+
diff --git a/benchmarks/quick-xml/.env/debug.sh b/benchmarks/quick-xml/.env/debug.sh
new file mode 100644
index 0000000..23f310e
--- /dev/null
+++ b/benchmarks/quick-xml/.env/debug.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -xe
+
+. .env/build.sh
+
+./target/release/quick-xml-bench
+