diff options
author | nat-goodspeed <nat@lindenlab.com> | 2024-09-13 09:20:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 09:20:57 -0400 |
commit | 7ced89435d702b8a6bc02908769bed47e20d6ec0 (patch) | |
tree | bb4735ba807f4d4caf7cf6161462557cfc9864bd /scripts/perf/frame_profile | |
parent | 3d191c09b1b1eb6726fe67f6fdf5445d83536578 (diff) | |
parent | d6f3f20af6cccf53746cbf1fdf39bc4e235c4f0d (diff) |
Merge pull request #2548 from secondlife/lua-frame-profile
Make Develop->Render Tests->Frame Profile dump JSON to a file too (#2412)
Diffstat (limited to 'scripts/perf/frame_profile')
-rwxr-xr-x | scripts/perf/frame_profile | 10 |
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 |