tracker
All repositories: gitoria
1.0 KB
#!/bin/bash# load200.sh <which> <port>: 200 signed-in page loads (20 paths × 10) with curl, ms per path (avg/max) + RSS before/afterR=/media/STORAGE/projects/WorldAPI/tracker.worldapi.org/.scratch/w070/real-$1; port=$2; sid=$(cat $R/sid); pid=$(cat $R/server.pid)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"rss() { awk '/VmRSS/{printf "%.0f", $2/1024}' /proc/$pid/status; }echo "rss before: $(rss) MB"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.txtecho "rss after: $(rss) MB"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
- 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
- 40d9719eTP2: LOG line and report for the tracker pillsmre
- ab3f2ba5tracker: status, genres, TMDB/IMDb/TVDB/TVmaze links and list kinds use the theme's pill; dense season list with the season check centred on its title line; gates for bothmre
- 521061d6tracker header on phones: signed in, the brand fits whole at 360 and 390 px (tighter gaps and side paddings, slightly smaller brand, narrow screens and signed in only); mobile gate checks itmre
- 18114a53tracker: franchises gate waits for the signed-out selector instead of the removed Log in buttonmre
- 08561d73ident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
- 59ef1e4atests/browser: repair 'done' check counts the 404 titles the first run already finished (race: failed=1 when Bulk Film 79 ran before the restart)mre
- 5925fc4dreports/MK-mobile.md: rebase update, gate countsmre
- 6adbc7f0extlink badges: background-clip after the background shorthand (it reset the clip: the pills were 44 px tall); gates check the lookmre