Repository navigation
feat: allow specific object updates in LocalView - #65
Conversation
|
I would like to use this API for small server-produced changes while keeping transient hover presentation in the browser. Could the tests cover replacing a dependency of the selected object, preserving the client camera and untouched objects, and alternating subset updates with a subsequent full update? A second view sharing the session would also be a useful regression case. Measuring the reduction in serialization work alongside the visible result would make the performance benefit easier to assess. |
be348b9 to
b0c3a02
Compare
|
I have resolved a merge conflict and rebased to bring this PR up to date. Will add test to cover this kwarg. |
6577410 to
aa62806
Compare
as you can see the time to serialize goes down. ~20x faster, however the stuff sent over network is the same for both strategies due to mtime diffing on the client. |
aa62806 to
3722b5f
Compare
3722b5f to
5e98851
Compare
|
LGTM, but I mostly looked at the main |
|
@ahinoamp can you verify the test and it's result is what you expect? |
|
Yes, this covers the cases I had in mind. I reviewed the test and confirmed that it:
The reported result also matches the mechanism I expected: limiting the roots reduces server-side serialization traversal, while client-side mtime diffing means the changed states and blob bytes sent for the mapper replacement can remain the same. The exact ~20x ratio is run-dependent, but the direction and explanation are right. Linux, macOS, and Windows test jobs are all green. This looks good to me. |
No description provided.