perf: integrate StepCollector into pipeline runner and lake context #208
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wire perf into
src/aco/pipe/runner.pyandsrc/aco/lake/context.py.Tasks
runner.py: wrap step loop withcollector.step()context managerrunner.py: root span for entirerun_pipeline()callrunner.py: record cache hit/miss on fingerprint checkcontext.py: wrapload()with child span (table ref, row count, duration)context.py: wrapsave()with child span (table ref, row count, mode, duration)cli/__init__.py: callperf.init()at startupperfpackage not installed, runner works unchangedComplete.
Modified:
src/aco/pipe/runner.pyrun_pipeline()now wraps execution inPipelineCollectorwhen perf is availablerows.out,columns,cache.hitper steptry: from perf.collector import PipelineCollectorwith fallback_infer_pipeline_name()extracts schema prefix from first expressioncontinueTests: 4 in
test_integration.py✅ 2,716 tests passed (perf + aco), lint clean, zero regressions.