Atelier des rouesLab FR
Objects/Documentation

selectif25.py

Collecting after ranks 2, 4 and 6 · selectif25.py

Download ↓
"""Paired designs in separate interpreters for time and traced memory."""
import sys,subprocess,json
from collecte24 import measure

def study():
    rows=[]
    for rep in range(3):
        for cap in (16,64,256):
            for mode in ((0,1,2) if rep%2==0 else (2,1,0)):
                for tracing in (0,1):
                    cmd=[sys.executable,'-B',__file__,*map(str,(cap,mode,tracing))]
                    data=json.loads(subprocess.check_output(cmd))
                    rows.append(dict(rep=rep,cap=cap,mode=mode,tracing=tracing,**data))
    return rows
if __name__=='__main__':
    if len(sys.argv)>1:

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.