Skip to content

fix(viewer): recalibrate the load estimate to the post-#266 decode throughput - #271

Merged
DrunkOnJava merged 2 commits into
mainfrom
fix/viewer-load-estimate
Sep 19, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
fix/viewer-load-estimate

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Sep 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

The loading card derived its "about N s" hint from 1.15 MB/s, measured when the 33.7 MB project took 30 s to decode. After #266 the deployed viewer decodes it in about 3 s (measured live: toast reports 3 s, 6.7 s including the 32 MB download), so the hint promised ten times the real wait. The constant now reflects the measured 11 MB/s.

Testing

  • npm run typecheck
  • Display-only constant; no test asserts the number

Legal and contribution hygiene

  • Licensable under Apache-2.0; no Autodesk material; no PII

Note

Low Risk
Display-only constant and comment; no decode, worker, or parsing logic changes.

Overview
Updates the viewer load overlay’s “about N s” hint to match decode speed after #266 (partition streams inflated once per file). DECODE_BYTES_PER_SECOND rises from ~1.15 MB/s to ~11 MB/s, so a 33.7 MB demo is estimated at ~3 s instead of ~30 s.

The nearby comment now documents the new measurement basis (deployed site) and why the progress bar stays indeterminate. loadExpectation behavior is unchanged; only the constant and documentation differ.

Reviewed by Cursor Bugbot for commit 69df439. Configure here.

…roughput

The loading card derived its 'about N s' hint from 1.15 MB/s, measured
when the 33.7 MB project took 30 s to decode. After #266 the deployed
viewer decodes it in about 3 s, so the hint promised ten times the real
wait. The constant now reflects the measured 11 MB/s.
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) September 19, 2026 19:17
@cursor

cursor Bot commented Sep 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_595aadfa-bb75-4577-8c3b-6ba50c1f64e4)

@DrunkOnJava
DrunkOnJava merged commit 45e5b74 into main Sep 19, 2026
21 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/viewer-load-estimate branch September 19, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant