summaryrefslogtreecommitdiff
path: root/scripts/perf
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/perf')
-rwxr-xr-xscripts/perf/frame_profile10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/perf/frame_profile b/scripts/perf/frame_profile
new file mode 100755
index 0000000000..0a4e0a74ff
--- /dev/null
+++ b/scripts/perf/frame_profile
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+exe="$1"
+if [[ "$OSTYPE" == darwin* && -d "$exe" && "$exe" == *.app ]]
+then
+ exe="$(ls "$exe/Contents/MacOS/Second Life "*)"
+fi
+
+"$exe" --autologin --luafile frame_profile_quit.lua \
+ http://maps.secondlife.com/secondlife/Bug%20Island/220/224/27