gitoria
All repositories: gitoria
1.6 KB
import http.client,time,json,statistics,concurrent.futures,pathlibD=pathlib.Path('/media/STORAGE/claude-scratch/gitoria/W62'); log=D/'server.log'sha='50307fb70d28305efb345d6456ee12494a28840f'paths={'readme':'/','file':'/commit/'+sha+'/tests/subagents.mjs','directory':'/commit/'+sha+'/reports'}def req(path):t=time.perf_counter(); c=http.client.HTTPConnection('127.0.0.1',8730,timeout=120); c.request('GET',path,headers={'Host':'routger.gitoria.test:8730'}); r=c.getresponse(); b=r.read();c.close();return {'ms':round((time.perf_counter()-t)*1000,3),'status':r.status,'bytes':len(b)}for i in range(180):try:c=http.client.HTTPConnection('127.0.0.1',8730,timeout=1);c.connect();c.close();breakexcept OSError: time.sleep(1)else: raise Exception('not listening after 180s')results={}for name,path in paths.items():results[name]=[]for i in range(5):pos=log.stat().st_size; r=req(path);time.sleep(.05);r['parts']=log.read_text()[pos:];results[name].append(r)print(name,i,r['ms'],r['status'],flush=True)(D/(name+'.json')).write_text(json.dumps(results[name],indent=2))(D/(name+'.html')).write_bytes(b'')for rate,count in [(35/60,12),(2,16)]:rows=[]; start=time.perf_counter()with concurrent.futures.ThreadPoolExecutor(max_workers=32) as ex:futures=[]for i in range(count):time.sleep(max(0,start+i/rate-time.perf_counter()))futures.append(('file',ex.submit(req,paths['file'])))time.sleep(.025)futures.append(('readme',ex.submit(req,'/')))for name,f in futures: rows.append({'kind':name,**f.result()})results[str(rate)]=rowsprint('rate',rate,json.dumps(rows),flush=True)(D/'measurements.json').write_text(json.dumps(results,indent=2))
Branches
- f1-broken-json
- f2-api-bugs
- gp-gate-ports
- heap-revert
- hl25-records
- ident-chooser-selector
- mainmain branch
- p51-public-pr-reads
- records-1112
- s25-no-session-on-login-error
- v59
- w52-person-approval
- w52b-approval-followup
- w52c-header-phone
- w53-pulls-speed-pr
- w54-repo-rename-pr
- w55-rename-org
- w56-owner-members
- w62-pr-close
- w63-force-push
- w64-org-slash
Latest commits
- 358474bflog: P50 livemre
- 477d7bdcMerge branch 'p50'mre
- 00efc06fP50 reportmre
- e3f85afblog: commit mention slipmre
- 4d1a4cf4log: #25 numbersmre
- 1af0a60ddocs: H25 run() correctionmre
- eefa2dbcRepo setting: refuse direct pushes to the main branch (pre-receive over HTTPS and ssh)mre
- 8c8ba2f1log: PR flow announcedmre
- fa00cd35log: Kunibert pings provenmre
- 3a68cfaclog: components decisionmre
- 87de8e31log: Kunibert connected to 9 app reposmre
- c22aff69log: PR-only rollout startedmre
- 25309981log: STOP and paused workers 2026-11-08mre
- 5286803alog: worker briefs and reports of 2026-11-08mre
- 85c86605log: 2026-11-08 Arachne on list shapemre
- cb634512log: 2026-11-08 keyed lists livemre
- 07c98d4aLists: keyed rows with @id, remove(id) and one whole-list assignment instead of hand-rebuilt loopsmre
- 0db0d81elog: 2026-11-08 day52 live, W30 startedmre
- b05f6d92tests/status: the gate's 3 s app token expired during the restart; it lives 60 s like status-keyedmre
- 1e8f4f0avendor: Hybriel set-day52 (fault-path leak fix #335, keyed rows #331)mre