Open PeterChen1997 opened 3 years ago
Is it possible to provide the record page URL or similar example page for performance testing?
Is it possible to provide the record page URL or similar example page for performance testing?
the env is so complicated.. i think it's hard to replay this 1:1
I think it's the node manipulation cause this problem, it's fine when node is smaller than 400W ...
@PeterChen1997 Maybe you can dump the dev tool's profile.json so we can check which code path takes most of the time.
@PeterChen1997 Maybe you can dump the dev tool's profile.json so we can check which code path takes most of the time.
can i send the json in wechat? Here is my number: xxx
@PeterChen1997 send a request to you. You can delete the number now:)
After some debug, most of the time was used to iterating DOM nodes and node's classList.
After some debug, most of the time was used to iterating DOM nodes and node's classList.
Got it, is it the bottleneck of our algorithm? I found when my computer cpu is free, everything will be all right...
Our page has a lot of nodes, if we open rrweb while spa page jumping, the page will get stuck for 1-3s than not open it. Here is the performance while spa page jumping
open: (Mango is the sdk that we seal rrweb in)
close:
Is there any config that i can speed up this action?