Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
ci: disable Spotlight indexing on recording runners, sample test thread priorities
Richie McIlroyda3983b8b623
diff --git a/.github/workflows/verify-recording.yml b/.github/workflows/verify-recording.ymlindex b463d3219..995b6217d 100644--- a/.github/workflows/verify-recording.yml+++ b/.github/workflows/verify-recording.yml@@ -83,6 +83,14 @@ jobs:system_profiler SPDisplaysDataType SPAudioDataType 2>/dev/null | sed -n 1,80psysctl hw.memsize hw.ncpu+ # Spotlight indexes the build and every recording the suite writes:+ # mds (priority 50) plus a dozen mdworkers averaged 1 to 1.8 of the 3+ # cores during the tests (ps samples, run 38736744971).+ - name: Disable Spotlight indexing+ run: |+ sudo mdutil -a -i off || true+ sudo mdutil -as || true+- name: Buildrun: |start=$(date +%s)@@ -97,8 +105,9 @@ jobs:(while sleep 1; dodate -u +%H:%M:%Sps -A -o pid,pri,%cpu,comm -r | head -14- stim=$(pgrep -f cap-verify-stimulus | head -1)- [ -n "$stim" ] && ps -M -p "$stim" | head -6+ for p in $(pgrep -f cap-verify-stimulus | head -1) $(pgrep -f 'deps/recording-' | head -1); do+ ps -M -p "$p" | awk 'NR == 1 || $4 > 0.5 || NR < 4' | cut -c1-90+ donedone) > "$CAP_VERIFY_DUMP/ps.log" 2>&1 &top_pid=$!start=$(date +%s)