import sys, json; sys.path.insert(0,'bench') from scale_bisect import run cfgs=[dict(k=9,prune=0),dict(k=10,prune=0),dict(k=17,prune=0,groups=1),dict(k=26,prune=0,groups=1), dict(k=8,prune=1),dict(k=13,prune=1,groups=1), dict(k=1000,n=1300,mode='records'),dict(k=1000,n=4400,mode='records'),dict(k=1000,n=14000,mode='records')] for c in cfgs: c.setdefault('n',100000) for rep in range(3): r=run('/tmp/sb',c,timeout=300) print(json.dumps({'cfg':c,'rep':rep,**r}),flush=True)