Atelier des rouesLab FR
Objects/Documentation

sessions27.py

Jump versus walk after warm-up · sessions27.py

Download ↓
"""Two session orders with one full warm-up per fresh interpreter."""
import json,subprocess,sys
from pathlib import Path
from versions26 import study as replay

def worker():
    replay()
    d=replay()
    return dict(python=d['python'],starts=d['starts'],rows=d['rows'])

def study(executables):
    rows=[]
    for order in (executables,executables[::-1]):
        for executable in order:
            cmd=[executable,'-B',str(Path(__file__).resolve()),'--worker']
            rows.append(json.loads(subprocess.check_output(cmd)))

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.