gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit24e401b824e401b8Tracker: TR7 watch cleanmre24e401b8/tests/realdata-070-load200.sh

1.0 KB

  1. #!/bin/bash
  2. # load200.sh <which> <port>: 200 signed-in page loads (20 paths × 10) with curl, ms per path (avg/max) + RSS before/after
  3. R=/media/STORAGE/projects/WorldAPI/tracker.worldapi.org/.scratch/w070/real-$1; port=$2; sid=$(cat $R/sid); pid=$(cat $R/server.pid)
  4. P="/ /movies /series /shows /franchises /my/series /my/shows /my/movies /my/unwatched /my/schedule /search/star /series/Elementary /series/Gotham /series/The-Simpsons /series/Star-Trek-Picard /movies/Superman /shows/CBS-Mornings /genres/Drama /series/page/2 /person/Patrick-Stewart"
  5. rss() { awk '/VmRSS/{printf "%.0f", $2/1024}' /proc/$pid/status; }
  6. echo "rss before: $(rss) MB"
  7. for i in $(seq 10); do for p in $P; do echo "$p $(curl -s -o /dev/null -w '%{http_code} %{time_total}' -b trackersid=$sid http://127.0.0.1:$port$p)"; done; done > $R/load200.txt
  8. echo "rss after: $(rss) MB"
  9. awk '{n[$1]++; s[$1]+=$3; if($3>m[$1])m[$1]=$3; c[$2]++} END {for(p in n) printf "%-28s avg %.3f max %.3f\n", p, s[p]/n[p], m[p]; for(k in c) print "status", k, c[k]}' $R/load200.txt | sort

Branches

Latest commits

  • 24e401b8Tracker: TR7 watch cleanmre
  • b0412957Tracker: RV28b handed overmre
  • 456940c8Tracker: RULINGS pathmre
  • b87a8fdcTracker: worldapi-conductor paths backmre
  • 641f3b54Tracker: Apollo answermre
  • 8b3cbddaTracker: status, TR7 fix livemre
  • ec30162aTracker: TR7 fix livemre
  • 54cbec80compose: ignore SIGPIPE (TR7 crash loop, exit 141)mre
  • 3e164b63Tracker: status after CL1mre
  • 9d686bb3Tracker: CL1 reviewedmre
  • b8bba562CL1: crash loop report (SIGPIPE confirmed, trap wrapper option)mre
  • 298785f2Tracker: CL1 startedmre
  • 36b22710Tracker: port slot, CL1 briefmre
  • a401190fTracker: GO for the crash loopmre
  • e195d372Tracker: token pathsmre
  • 7f541d11Tracker conductor: CONDUCTOR.md, short STATUS.md, old status + decisions archive to archive/2026-10-31mre
  • 8dd423f7README: login.js stays by caramboleyo's explicit rulemre
  • d8df1493tracker: standby service on port 45018 and a gap-free hand-over in deploy.sh step 4mre
  • 36dd1686ident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
  • ff9b838etracker: the Ended status pill uses the same red as layouts (pill danger); gate updatedmre