QwikDev / partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
https://partytown.qwik.dev
MIT License
13.09k stars 437 forks source link

[🐞]batching not work #613

Open bird-rookie opened 3 months ago

bird-rookie commented 3 months ago

Describe the bug

I have designed a demo using partytown and executed the dom operation in the js script. From the trace, I can see that the dom operations are forwarded to the main thread for execution one by one synchronously. I don't see the batching operation phenomenon you mentioned. Is this feature not developed yet?

Reproduction

personal demo

Steps to reproduce

personal demo

Browser Info

Chrome

Additional Information

just want to konw if batching has been opened or how to open it? is batching worked only in atmoic?