Skip to content

wePaper v1.2.2

Choose a tag to compare

@rainhuang0220 rainhuang0220 released this 06 Sep 19:39
· 18 commits to main since this release

wePaper v1.2.2

Follow-up to v1.2.1 after re-measuring against the real production IP (175.24.134.228). Clash’s fake-IP path had made v1.2.1 benches look faster than production.

Root cause

A single Range of ~378–512 KB on this path takes ~3.5 s. doc.getData() (Cache API persist) also started before the first canvas paint and contended with page 1.

Fix

  • Custom PDFDataRangeTransport that never issues a Range larger than 256 KiB
  • Persist the full PDF only after [data-ready=true]
  • Playwright benches pin DNS to 175.24.134.228

Isolated cold catalog click (real IP)

Paper Desktop Mobile
228 KB 1336 ms 846 ms
2.7 MB 1377 ms 2360 ms
1.9 MB 1861 ms 1343 ms
5.6 MB 1855 ms 1855 ms

Desktop P50 1.38 s / P95 1.86 s. Mobile P50 1.34 s / P95 2.36 s.
Warm reload of the 2.7 MB paper: 308 ms.

Public library: https://wepaper.plainlist.space