gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6dc08a8e6dc08a8eMerge branch 'p51-public-pr-reads' into mainGitoria6dc08a8e/reports/W62/git-native.py

1000 B

  1. import subprocess,time,json,pathlib
  2. D=pathlib.Path('/media/STORAGE/claude-scratch/gitoria/W62');g=['git','--git-dir='+str(D/'data/storage/git/routger.git'),'-c','core.quotePath=false']; sha='50307fb70d28305efb345d6456ee12494a28840f';spec=sha+':tests/subagents.mjs'
  3. cmds=[['for-each-ref','--format=%(refname:short)','refs/heads'],['rev-parse','--verify','--quiet',sha+'^{commit}'],['log','-20','--format=%H%x09%ct%x09%an%x09%s',sha],['cat-file','-t',spec],['cat-file','-s',spec],['--literal-pathspecs','grep','-I','-l','-e','',sha,'--','tests/subagents.mjs'],['cat-file','blob',spec],['ls-tree','-l',sha+':reports']]
  4. a=[]
  5. for cmd in cmds:
  6. samples=[]
  7. for i in range(5):
  8. t=time.perf_counter();r=subprocess.run(g+cmd,capture_output=True,env={'LC_ALL':'C','PATH':'/usr/bin:/bin'});samples.append(round((time.perf_counter()-t)*1000,3))
  9. a.append({'argv':cmd,'ms':samples,'exit':r.returncode,'bytes':len(r.stdout)})
  10. (D/'git-native.json').write_text(json.dumps(a,indent=2));print(json.dumps(a,indent=2))

Branches

Latest commits

  • 6dc08a8eMerge branch 'p51-public-pr-reads' into mainGitoria
  • 7b88cfe0Type publicReaderOfRequest parameters (L10)Gitoria
  • 2a4b3dc1|||PR Anonymous reads of public repos' pulls and statusesmre
  • 21b2c141Merge branch 's25-no-session-on-login-error' into mainGitoria
  • 698458e2|||PR No session for cookieless login errors: READMEmre
  • cce7b785|||PR No session for cookieless login errorsmre
  • 678d6303Merge branch 'v59' into mainGitoria
  • 5803cf4f|||PR vendor: Hybriel set-day59 and GC budget 32 MiBmre
  • 9eff6627Merge branch 'f2-api-bugs' into mainGitoria
  • 26117255|||PR apps API: review comments on files with spaces in their namemre
  • b8796cecMerge branch 'f1-broken-json' into mainGitoria
  • 2f2959c5|||PR apps API: broken JSON body gives 400 invalid_json, not 500mre
  • f7c6ca07Merge branch 'ident-chooser-selector' into mainGitoria
  • 691abb8e|||PR tests: find ident identity choice without the removed .choose classmre
  • 16a3530fMerge branch 'heap-revert' into mainGitoria
  • 220a80e0|||PR Remove temporary /__heap route and heap helper; logmre
  • 13f0c342Merge branch 'hl25-records' into mainGitoria
  • a002ecb7|||PR records: HL25 report, heap helper, logmre
  • 2492a55cTemporary keyed /__heap route for the live memory snapshotmre
  • fefaedd2log: tracker PR-only, HL25 startedmre