modmapper-web/lib
Tyler Hallada 513e95d697 Don't terminate & recreate workers after each task
After some testing, I'm fairly confident the issue I was seeing before isn't
happening now. After re-processing ~250 plugins a few times with the same
workers I was seeing significant slow-downs with large plugins. Also, if I was
listening to music in the browser it would start crackling and popping.

My hypothesis is that wee_alloc was causing a memory leak in the old version
which was causing browsers to freak out unless I recreated the workers on every
run. Though I'm not sure if that theory holds since I wasn't seeing out of
control memory usage in the dev tools. Perhaps wee_alloc just wasn't good at
managing memory after a certain number of allocate/deallocate cycles and was
putting a huge strain on the browser.

I'm hoping that reusing workers like this will also speed up processing and
possibly resolve some crashing that some users were seeing.
2022-09-26 23:04:48 -04:00
..
api.ts Add support for multiple games 2022-09-03 02:51:57 -04:00
games.ts Rename game to edition in the UI 2022-09-06 15:15:27 -04:00
hooks.ts Default sidebar and WIP PluginLoader 2022-02-27 01:17:52 -05:00
logrocketSetup.ts Try to fix logrocket 2022-08-29 22:51:12 -04:00
plugins.ts Select file and plugin, add to new plugins state 2022-08-17 23:19:55 -04:00
store.ts Add Sentry redux integration 2022-08-29 23:47:15 -04:00
WorkerPool.ts Don't terminate & recreate workers after each task 2022-09-26 23:04:48 -04:00