Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

[BETA] Partytown

biggusdickus69

 
 
Amateur
Advanced Member
Messages
143
Reaction score
204
Points
243
#ProgrammersWorkProductivitySeries

Performance nerd ka ba? I will share one that I used in one of my projects regarding data science. In that project ginagamit tlga namin ang big data and we rely on performance to calculate statistic functions without the user waiting.

Partytown is a lazy-loaded library to help relocate resource-intensive scripts into a web worker, off of the main thread. Its goal is to help speed up sites by dedicating the main thread to your code and offloading third-party scripts to a web worker. The philosophy is that the main thread should be dedicated to your code, and any scripts that are not required to be in the critical path should be moved to a web worker. Main thread performance is, without question, more important than web worker thread performance.

So you can visualize this as
1670507998123.png

Since the javascript is a single threaded language, the Partytown will use webworker to make concurrent handling of the requests and resources.

Check their documentation at https://partytown.builder.io/
And community at https://github.com/BuilderIO/partytown
 
Back
Top Bottom