Skip to content

docs(core): publish the left-of-line artifact — captures, side-by-side, static snapshot #1104

Description

@lex00

#1084 produces two numbers. This produces the thing a reader actually looks at. Filing it separately because every issue in this group currently produces an input and none produces the output.

Deliverable

A docs page carrying a static, side-by-side rendering of what each tool knows before it runs your code, plus the committed captures and the procedure that regenerates them.

Rendering decisions already settled

Timeline mode, not Aggregated. It is the only view where the x-axis is time, so left literally means before. spicypath's own design rules reserve flow semantics for chart for exactly this reason. In Aggregated, horizontal position means nothing and the claim would be a lie about the axis.

Regex search-dim on the project's own module path. CDK's timeline lights up almost entirely and starts near t=0. chant's fold timeline stays full, because the TypeScript parser is doing real work, and nothing highlights. A busy screen with an empty highlight reads as a claim. An empty screen reads as a broken file, which is why an "empty flame graph" framing was rejected during analysis.

Static export, not a live link. spicypath exports SVG snapshots. The page must be readable without running a viewer.

Depends on

The expensive unassigned input

Both metrics need the same infrastructure expressed in chant and in CDK. The boundary claim survives a mismatch because it is structural, but trusted-computing-base bytes do not — profiling loomster against an unrelated AWS sample makes that number meaningless. Building equivalent estates is real work and it is currently assigned to nothing. Either scope it here or drop the second metric.

AC

  • Committed profile captures for both tools, regenerable from a documented procedure.
  • The CDK capture profiles the app subprocess rather than the CLI, since profiling the CLI measures the wrong process.
  • The same infrastructure is expressed in both tools, or the second metric is dropped and that is stated.
  • A static exported snapshot on a docs page, readable without running spicypath.
  • The page states the structural claim and the current loomster fold ratio adjacent to each other, so capability and delivery are not blurred.
  • The publish threshold is recorded before the measurement is taken, not chosen after seeing it.

Non-goals

Diff mode. Two structurally unrelated profiles do not diff meaningfully, and signed-weight comparison over disjoint call trees produces noise.

Any timing claim. If the page implies one tool is faster, the artifact has drifted from what it set out to show.

Relates #1019, #1084.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:docsDocs site and referencedocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions