Skip to content

v1.0.1 Performance Report

Findings

Core benchmark timing uses perf_counter, and hashing already streams files in bounded chunks. The audit found no measured runtime regression in the deterministic framework-overhead tests.

The main avoidable package cost was installation and import footprint from four unused runtime dependencies: numpy, pandas, plotly, and pydantic-settings. They have been removed without affecting source imports.

Applied improvements

  • Deduplicate repeated report/chart formats before rendering and writing, avoiding duplicate work and repeated overwrite of the same artifact.
  • Validate SHA-256 chunk sizes up front, preventing a non-terminating zero-byte read loop.

Watch items

  • FilesystemSessionStore.store_artifact currently reads the complete source artifact before writing it. Replace with a streaming copy only in a future patch accompanied by failure-atomicity tests.
  • Default report generation can build several chart components. Keep dashboard families selectable for large sessions.
  • Real PNG chart rendering is deferred; adding a renderer must be optional to retain the lightweight core install.