pacing_bench: import its helpers as the other tools do (no sys.path change)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Ludovic MarieandClaude Opus 5.5 committed 2026-11-02 02:50:38 +01:00
1 parent a3d814ec3f
commit d1ee2d879c
1 file changed
+6 -4
+6 -4
View File
@@ -26,13 +26,15 @@ import math
import os
import re
import subprocess
import sys
import time
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent))
import lab # noqa: E402
import perf_bench as pb # noqa: E402
try:
from . import lab
from . import perf_bench as pb
except ImportError:
import lab
import perf_bench as pb
WORK = lab.ROOT / ".local/pacing-bench"
SCENARIOS = ["fly16", "ocean", "fly64", "teleport", "nether", "inventory"]