Return dirty-page preview patches
Project previews accept ?patch=1 and only include pages listed in changedPages. Cache hits return an empty patch list. The web client applies sparse patches by page index instead of rebuilding every page. Add a two-page server test that edits only the second page and checks that the patched payload contains exactly the changed page indices. Measure the arXiv heading edit: 2 of 3 pages still changed (315 KB vs 396 KB full, 2.66 s), so dirty-page transfer is in place but incremental layout latency is not. Test count is 1073 (67 server).
This commit is contained in:
1 parent
86e95881e7
commit
9231c3a7d6
8 files changed
+90
-17
No files matched your search
@@ -31,6 +31,7 @@ texlang-stdlib = { git = "https://github.com/jamespfennell/texcraft", rev = "c1d
|
||||
texlang-common = { git = "https://github.com/jamespfennell/texcraft", rev = "c1dbf5dfe3a480daf73972c394ac8231e0c6ebd0" }
|
||||
texcraft-stdext = { git = "https://github.com/jamespfennell/texcraft", rev = "c1dbf5dfe3a480daf73972c394ac8231e0c6ebd0" }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
rmp-serde = "1.3"
|
||||
tiny_http = "0.12"
|
||||
ttf-parser = "0.25.1"
|
||||
|
||||
Reference in new issue
Block a user