Skip to content

The to-human view's record-line labels cost about 8 ms more on each change of the rows in a 500-turn session #723

Open

Description

@SSFSKIM

What

Residue of the UX wave's landing U2b-2 (the to-human view drawn by the mod, and the record line's summary; ticket 708). Where MAWS draws the view itself and the mod's stored summaries are read as labels of the record lines, each change of the transcript's rows costs more than it did before the labels existed.

Measured on a Linux build machine (not a gate result), in the landing's own lane-on case (src/renderer/src/owner/view/perf.test.ts: 500 turns, 3720 rows, 500 stored runs), the one batch in which the rows change, twelve alternating rounds per tree:

median range
before the labels 32.3 ms 27.3 to 42.9 ms
with the labels 39.9 ms 30.2 to 53.0 ms

About 7.6 ms more (24 %), after the landing already keeps each turn's row places while the turn is unchanged (it was 16.4 ms more before that). Batches that leave the rows unchanged cost nothing more; the derivation and the median batch are flat.

What is left

The run index and the lookups per stretch over every stored run are redone at each change of the rows. Keeping them across changes needs a stable row index from the transcript's derivation, which that landing may not change.

Exit

The labelled case's row-change batch is within a fifth of the unlabelled one, by the measured scene on the Mac mini (the landing adds a labelled variant of the mirrored-view scene), or the measurement there shows the difference is not one a person meets and the row is closed with the numbers.

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

    enhancementpriority:P3status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions