greenlet
wp-partytown
greenlet | wp-partytown | |
---|---|---|
1 | 1 | |
4,650 | 69 | |
- | - | |
0.0 | 0.6 | |
about 3 years ago | 24 days ago | |
JavaScript | JavaScript | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
greenlet
-
Converting expensive synchronous functions to asynchronous
Greenlet (or a similar library) may help: It lets you invoke a function as if it were async, but it runs in a web worker.
wp-partytown
-
how do I optimize these tracking scripts. they are slowing down my site by 20 to 25%
One of the devs built a plugin as well: https://github.com/rtCamp/wp-partytown
What are some alternatives?
parallel.js - Easy multi-core processing utilities for Node.
partytown - Partytown integration for Nuxt. Run third-party scripts from a web worker.
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. ๐
flexsearch - Next-Generation full text search library for Browser and Node.js
workerize-loader - ๐๏ธ Automatically move a module into a Web Worker (Webpack loader)
threads.js - ๐งต Make web workers & worker threads as simple as a function call.
worker-plugin - ๐ฉโ๐ญ Adds native Web Worker bundling support to Webpack.
performance - Performance plugin from the WordPress Performance Group, which is a collection of standalone performance modules.
comlink - Comlink makes WebWorkers enjoyable.
workerize - ๐๏ธ Run a module in a Web Worker.