#764·genoffice

[Performance] Hidden Sheets prewarm adds about 252 MB to non-spreadsheet sessions

Author: KingKing102Created Sep 23, 2026Updated Sep 23, 2026

Environment

GenOffice 0.10.915 on Windows 11 x64.

Reproduction

Open a DOCX in a fresh profile and wait more than 1.5 seconds. Compare default behavior with GENOFFICE_NO_SPARE_VIEW=1.

Actual

  • Default: 1,113.8 MB total working set.
  • No spare view: 861.7 MB.
  • Difference: 252.1 MB (22.6%).
  • DOCX ready time was essentially unchanged: 2,528 ms vs 2,511 ms.

The main bundle schedules a hidden Sheets view after the shell finishes loading, even when the active document is not a spreadsheet.

Expected

Non-spreadsheet sessions should not pay the full Univer renderer cost unless there is measured benefit for a likely next action.

The figures above are one controlled A/B cold launch of the same DOCX, with a fresh profile in each run. This is a memory-cost report, not a claim that prewarming never improves subsequent spreadsheet open time. A first-workbook latency A/B is needed to assess the tradeoff.