Skip to content

Measure: the samples 2024 to 2099 shard takes 34 to 50 minutes of its 90 minutes with the saved-mesh default, against 11 on main #1616

Closed

Description

@DrunkOnJava

Measure's samples-2024-2099 shard takes 34 to 50 minutes of its 90 with the saved-mesh default (#1191, #1610), where the same shard on main takes 11, so the next change that adds meshes or samples can push it over the cap and fail the whole run.

Measured. In Measure run 42631318638 (#1610 at 3f03993c against main) the shard's base side took 10 minutes 41 seconds and its head side 34 minutes 16 seconds; in run 42647512042 (48150fa1 against 495b212c, the same default) the head side took 50 minutes (15:46 to 16:36 UTC), the Same-project gates verdict job then taking 10 seconds because it only reads what the shard wrote. bodies_across_saves.py runs inside the shard, per sample, and meshes every body of the save and of its two earlier saves with IfcOpenShell in Python, so its time follows the number of triangles the exports now hold (the office's IFC grows from 68 to 83 MB; rac_advanced's 2026 save holds 4,963 saved meshes).

To do. Split the shard, or the gates out of it, so that no shard needs more than about half its cap: one Measure job per project for the same-project gates (rac_advanced, rac_basic, rme_*, rst_basic each hold their 2024 to 2027 saves), or mesh each save once and share it between the groups and the census (bodies_across_saves.py and readers_across_saves.py each mesh the same bodies). Keep tools/ci/check_same_project_projects.py agreeing on the project list, and the verdict job's reading of every sample.

Done when: the heaviest Measure job on a run with samples=true takes less than about 45 minutes on the saved-mesh default, and the same-project verdict still names every sample.

Activity

  1. added
    area:ci
    priority:P2
    type:ci
    on Nov 9, 2026
  2. DrunkOnJava commented on Nov 9, 2026

    @DrunkOnJava
    OwnerAuthor

    The gates' share is fixed by #1622 (draft, awaiting its read). Measure 42668227629 ran the gates of every sample project on its head (-f scorers=bodies_across_saves, GitHub's runners): the same-project gates verdict passes, the gate text of all 15 saves is byte for byte that of run 42647512042 (the old meshing), and the gates' own time per save (timings.log), summed over the 15 saves, falls from 5,880 s to 933 s: rme_basic 2026 from 1,203 s to 150 s, rme_advanced 2026 from 1,125 s to 155 s, rac_basic 2026 from 410 s to 13 s. The gates run after every sample's item, four at once, so they were the tail of the shard.

    What is left in a sample's item is the schema step (schema-validate-rules, IfcOpenShell's WHERE rules: 112 s on rac_advanced 2026 and 248 s on rme_advanced 2026) and the exports with their meshes. This issue closes when an unfiltered samples=true run on main after #1622 shows its heaviest job under about 45 minutes.

  3. DrunkOnJava commented on Nov 10, 2026

    @DrunkOnJava
    OwnerAuthor

    Done-when met. With #1622 landed, the heaviest job of an unfiltered Measure run with samples=true on the saved-mesh default takes 17 to 27 minutes, against the 45 minute bar: the samples-2024-2099 shard, head side 18.9 minutes (run 42865322179, #1632 against main, 131 models), 26.5 (42864169952, #1637 against main) and 26.0 (42688171578, #1626 against main); the next heaviest job in each is racadv at 13.3 to 14.2 minutes. The Same-project gates verdict job passes on 42864169952 and names the samples: "15 samples held to their earlier saves, and the Areas on 4 saves and on the 2021 save". Closing; a run that crosses 45 minutes again gets its own issue with the run.

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:cipriority:P2type:ci

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions