Skip to content

Streaming 7: real golden corpus through multi-gigabyte DWG and honest reader benchmarks #211

Open

Description

@DrunkOnJava

Audit: committed canonical fixtures are synthetic (five files; known 25 entities). wasm/examples/samples are four identical generated skeletons. Public corpus is not fetched in CI (#95/#97); no multi-gigabyte golden model, independent object-count oracle or resumable benchmark.

Acceptance:

  • Licensed, hash-pinned real files for every release band R13–AC1032, small through multi-gigabyte, independently verified object counts and DXF values.
  • No large source files checked into Git; manifest and explicit fetch/verify pipeline.
  • End-to-end golden values/counts, bounded memory, time-to-first-object and total time; largest actual files measured.
  • Compare success, object coverage, correctness, time and peak RSS with independently runnable open readers; failures in README.
  • Clean-room constraint: execute comparison binaries and read their public docs; do not inspect forbidden implementation source.
  • Missing models/oracles are NOT MEASURED, never replaced with padded synthetic files.

Extends #153–#158 and #22/#189; do not duplicate their oracle work.

Parent: #204

Activity

  1. added
    type:feature
    area:corpus
    priority:P1
    on Oct 25, 2026
  2. DrunkOnJava commented on Oct 27, 2026

    @DrunkOnJava
    OwnerAuthor

    Status (main 2bab7b2; docs/streaming/README.md, Throughput). The audit's "public corpus is not fetched in CI" is no longer true: tools/corpus/pins.tsv (#225) pins 102 public files by sha256, 52 DWG from R14 to R2018, fetched through tools/corpus/fetch.py with a fail-closed check and NOT MEASURED when a host is unreachable, and nothing is committed. The streaming manifests name all 52 drawings, and the streaming walks run on them in the required Streaming E2E job against independent Python parsers and the legacy reader.

    examples/stream_throughput.rs and stream_r2007_timing.rs (#343) time each walk against the legacy reader, and #360 to #366 made the walks 2.3 to 4.25 times faster. Best of 40 (15 for R2007), in memory, on an Apple M2 Max under load: R14 0.79 ms (1,661 MB/s), R2000 0.77 ms (1,685 MB/s), R2004 2.41 ms (455 MB/s), R2010 2.99 ms (375 MB/s), R2013 2.34 ms (467 MB/s), R2018 2.34 ms (462 MB/s), R2007 7.95 ms (134 MB/s); the legacy reader takes 0.18 to 1.4 ms on the R14 to R2018 files and 4.3 ms on R2007. The profile is in #367.

    Still open: the files timed are 1.06 to 1.31 MB; no multi-gigabyte model is pinned or measured, no peak memory or time-to-first-object is reported (the table gives total time and MB/s), there is no independent object-count oracle beyond the Python parsers and the legacy reader, no comparison with independently runnable open readers, and R13 has no AutoCAD-written drawing (#345).

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:corpuspriority:P1type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions