lab.Independent engineering
by Kristian Salmeron
PDF LOADING / LAB 001Back to the overview

Follow the evidence.

A record of what ran, what passed, and what we can actually conclude.

ROUND TWO

The render gap grew when we removed the delay.

With range loading enabled, the linearized PDF rendered its first page 405–414 ms later than the nonlinearized PDF at 0 ms of header delay, compared with 80–105 ms later at 100 ms.

We used the same two 100-page PDFs, with range loading enabled and disabled. Each delay went first in two of the four run pairs. The shared body cap was 1 Mbit/s throughout. Both dry-run calibrations passed before any PDF timings were collected.

Run outcomes and paired median render gaps with range loading enabled. Positive values mean the linearized PDF took longer.
Run pair0 ms header delay100 ms header delay
1Rejected at the clock checkAccepted · +109.20 ms
2Rejected at the pacing checkRejected at the clock check
3Accepted · +414.00 msAccepted · +80.35 ms
4Accepted · +404.90 msAccepted · +104.60 ms

Two of four pairs passed both audits. The gap narrowed in all eight matched blocks when we added 100 ms of header delay. With range loading disabled, the gap stayed between 5 and 22 ms.

In the accepted pairs, the nonlinearized file started three range requests before render at both delays. The linearized file started four at 100 ms and five at 0 ms. The extra request is a clue to how delivery changed. We have yet to measure how much time any single request contributed.

These timings describe first-page canvas render in PDF.js on one machine using synthetic delivery. The configured header delay applies to each PDF response.

Read the protocol and audited results

THE FINAL CAMPAIGN

Three slots. One accepted window.

2 / 3 windows attempted

1 accepted timing window

Final campaign windows. All scheduled times are Pacific.
WindowObserver workloadPerformance
01 96 of 96 validRejected
02 Not attemptedMissed
03 96 of 96 validAccepted

What the accepted window measured

Window 03 completed on November 19, 09:01–09:05 Pacific. All 64 performance trials passed the original checks: 16 warmups, excluded from the summaries, and 48 measured trials. The independent performance audit accepted this window, including its pre/post controls, PDF checks, pixels, network checks and strict clock gate.

Window 03 only · median first-page render time · 12 measured trials per condition
PDF structureRange requestsMedian time
NonlinearizedEnabled1008.40 ms
LinearizedEnabled1110.65 ms
NonlinearizedDisabled968.15 ms
LinearizedDisabled977.05 ms

Within this window, the paired median difference for linearized minus nonlinearized was +100.35 ms with ranges enabled and +7.20 ms with ranges disabled. Positive means the linearized PDF took longer in these paired observations. These are medians of paired differences, not differences between the four medians above. They describe one run, not a general linearization penalty.

The separate observer diagnostic completed 96 valid workloads and 144 passing clock analyses, with all six control stages passing. All 48 pairs were comparable; there were no candidate-only clock acceptance gains. These checks do not establish equal observer overhead or justify adopting the larger observer.

Why window 02 has no measurements

Its allowed start interval ended before the slot was claimed. The retained ledger records a missed slot with zero attempts: neither runner started. There was no catch-up or replacement. The missed slot contributes no timing estimate.

Why window 01 was rejected

The clock mapping had a 5.105 ms uncertainty interval, wider than the protocol’s 5 ms limit. That uncertainty describes the measurement boundary, not how long the PDF took to render.

The performance runner stopped after 39 recorded trials: 16 warmups, 22 measured passes, then one rejected trial. The other 25 trials and post-run controls were not reached. No performance estimate is accepted from this attempt.

The separate observer diagnostic completed 96 valid workloads and 144 passing clock analyses. Passing that diagnostic does not override the performance rejection. The cause of the wider interval remains unestablished.

Read the complete window record

The stopping rule is met. The comparison is not.

All three slots are accounted for, without replacements or relaxed gates. Only one of three new performance windows was accepted; the planned comparison needed at least two. The final conclusion is insufficient accepted evidence for a between-window timing comparison. The earlier accepted pilot stays separate.

The overall audit still reports a failure

The frozen campaign auditor expects a Node runtime identity for window 02, even though that missed slot never launched a runner. It labels the slot “integrity-failed.” A separate 14-check ledger review confirms the missed outcome and zero invocations; the closing review reconciles the discrepancy. The failed export and frozen code are preserved. This is not an overall audit pass, and it does not change window 03’s independent acceptance.

Inspect the missed-slot review

THE PATH TO THIS POINT

Each step answered a smaller question.

These stages use different protocols. They explain the investigation; their timings are not pooled with the final campaign.

  1. 01

    Validate the inputs

    One source, two PDFs. Check structure, repeat-generation hashes and all 100 rendered pages.

  2. 02

    Establish a local baseline

    Four first-page runs completed. Timing varied between sessions; this small pair loaded in full.

  3. 03

    Inspect partial loading

    Record range requests and bytes around first render before making delivery claims.

  4. 04

    Control delivery

    One accepted pilot, then rejected replication attempts. Keep every outcome; do not pool the protocols.

  5. 05

    Examine the observer

    Test clock measurements on a known fixture, then under the preserved PDF workload.

  6. 06

    Finish at fixed times

    One rejected, one missed, one accepted. The campaign closed with insufficient evidence for a between-window comparison.

INSPECT THE RECORD

The source behind the summary.

Source links are pinned to the reviewed revision. The public JSON and CSV are audit exports; the full raw trial archive is retained separately in the notebook.

KEEP THE CLAIM SMALL

What this cannot tell us.

  • Two small, synthetic text PDFs do not represent scanned documents, image-heavy files or the web’s PDF population.
  • One local Chromium/PDF.js setup does not rank other viewers, browsers or devices.
  • Application-level pacing is a controlled delivery profile, not a real wide-area network.
  • Fresh browser contexts do not clear operating-system or font caches.
  • Render-promise completion is not physical screen presentation. Network body sums are not unique PDF-byte coverage.
  • One accepted window cannot establish repeatability across runs. Observer acceptance does not establish equivalent overhead or a general speed benefit.
Run a separate, documented attempt
What makes a finding worth publishing?

A method you can repeat, raw measurements you can inspect, and limits stated alongside the conclusion. An attempted measurement is not automatically an accepted finding. Read the publication standards.