Skip to content

Commit 35847b5

Browse files
(tree) Add changeset for perf improvement to composition (#23929)
1 parent 0099565 commit 35847b5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.changeset/blue-plants-act.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
"@fluidframework/tree": minor
3+
"fluid-framework": minor
4+
---
5+
---
6+
"section": tree
7+
---
8+
9+
Faster creation of large transactions and faster processing of inbound changes.
10+
11+
SharedTree sometimes composes several sequential changes into a single change.
12+
It does so whenever a transaction is created and when processing inbound changes.
13+
[This PR](https://github.com/microsoft/FluidFramework/pull/23902) makes this composition process asymptotically faster.
14+
For example, creating a transaction that performs 1000 edits on a single array now takes 170ms instead of 1.5s (an 89% improvement).

0 commit comments

Comments
 (0)