gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitcd39f3d3cd39f3d3log: hybriel#308mrecd39f3d3/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

  • cd39f3d3log: hybriel#308mre
  • 51341d6elog: RV39 deploy startedmre
  • c9e29e06Merge branch 'rv39'mre
  • 0f8d1fdclog: RV39 report, browser 387/2mre
  • 50249b0bRV39: reportmre
  • 10ed9581compose: HL_GC_STATS=1mre
  • 955da19bRV39: re-vendor Hybriel set day39 (source 51e921d7, bin 6b481aa7)mre
  • 64b8d1dclog: RV39 startedmre
  • 1f2df72amission RV39mre
  • 6c1936f9log+status: GC planmre
  • 2846a840log: m569 result, GC hypothesismre
  • b24cd2d5log: Anton on hl:fetch, mission 569mre
  • 7d42cac1log+status: SL1 measured, fetch stalls remainmre
  • 8e5f2ceflog: SL1 deployedmre
  • 29f34212log: SL1 deploy startedmre
  • 529dd741Merge sl1-slices: slice details repair and person fill (SL1)mre
  • 8a83316blog: SL1 result, session drain slowermre
  • 35e93e8dSL1: slice the details repair and person fill: catalog lists changed in place, 40 ms fill steps, people created in steps, writes one table per tickmre
  • 72c9119flog+status: SL1 startedmre
  • d74620fcmission SL1: slice repair and person fillmre