You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paired manual benchmark found a repeatable difference worth investigating before declaring performance parity. This is an investigation, not approval for optimization or a Scintilla upgrade.
Published x64 v4.2.25.1029-rc.1 vs v4.2.25.1040-rc.1; seven warm-cache samples after warmup, rotated mode order, same machine/viewport, generated plain-text files, pywinauto/psutil outside the editor.
For a 1 MiB single line:
40 scroll/repaint moves: previous Original median 276.1 ms (MAD 4.3, range 252.7–316.7); current Original 349.5 ms (MAD 10.6, range 333.5–375.2); current Dark 357.1 ms (MAD 21.9).
100 edit/undo pairs: 10,927 ms / 11,210 ms / 11,190 ms respectively.
128 KiB and 25 MiB loading/private-memory results are close; sampled idle CPU medians are zero.
Data will be stored at tests/baselines/published-1029-vs-1040.json. Tool: tests/benchmark_editor.py. These numbers include automation/Win32 round-trip overhead, visible-window repaint, and possible compositor/scanner/machine-load effects; they do not establish a root cause or physical input latency.
Next step: repeat only the affected workload on the same desktop, compare locally built baseline/candidate with an identical compiler/toolchain, and separate layout from actual repaint. Check font/DPI/window state before profiling. Propose only a small patch if a specific regression is confirmed. Do not import frameworks, new dependencies into the app, engine upgrades, or broad rendering rewrites.
Reproduce using tests/benchmark_editor.py and the published release executables. This issue remains open for the bounded investigation described above; no speculative rendering changes were included.
Activity
itlezy commentedon Nov 9, 2026
The benchmark and recorded seven-run raw samples are now merged in #16. Data: https://github.com/itlezy/notepad2-mod/blob/master/tests/baselines/published-1029-vs-1040.json
Reproduce using tests/benchmark_editor.py and the published release executables. This issue remains open for the bounded investigation described above; no speculative rendering changes were included.