1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/patches
Elliot Winkler e951fe6a64
Improve autorebuilding in dev to reduce CPU load (#11886)
On an M1 Mac, when running `yarn start`, CPU can spike to 100% CPU, and
sometimes a bunch of `mdworker` instances will get spawned. This seems
to be caused by the file-watching mechanism used in dev to automatically
regenerate the build when something is changed. More specifically, we
are using an older version of `watchify`, which uses an older version of
`chokidar`, which is the package that actually does the watching. v4.0.0
of `watchify` upgrades `chokidar` to v3.x ([1]), which comes with
"massive CPU & RAM consumption improvements" ([2]). After the upgrade,
CPU usage decreases to 20-40%.

[1]: https://github.com/browserify/watchify/blob/master/CHANGELOG.md#400
[2]: https://github.com/paulmillr/chokidar/releases/tag/3.0.0
2021-10-25 13:56:26 -06:00
..
@formatjs+intl-utils+3.3.1.patch Dep upgrades and patches (#10903) 2021-04-20 13:39:49 +08:00
abort-controller+3.0.0.patch LavaMoat Node update and various small enhancements (#12239) 2021-09-28 20:56:08 -10:00
combine-source-map++convert-source-map+1.1.3.patch Fix Buffer warnings during build (#10495) 2021-09-27 19:05:35 -02:30
error+7.0.2.patch Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
fast-json-patch+2.2.1.patch Dep Upgrades for Lavamoat Patches (#10902) 2021-04-20 11:37:21 +08:00
gulp-sourcemaps+3.0.0.patch Fix Buffer warnings during build (#10495) 2021-09-27 19:05:35 -02:30
inline-source-map+0.6.2.patch Fix Buffer warnings during build (#10495) 2021-09-27 19:05:35 -02:30
luxon+1.26.0.patch Dep Upgrades for Lavamoat Patches (#10902) 2021-04-20 11:37:21 +08:00
plugin-error+1.0.1.patch Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
regenerator-runtime+0.13.7.patch LavaMoat Node update and various small enhancements (#12239) 2021-09-28 20:56:08 -10:00
sass+1.32.4.patch Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
selenium-webdriver+4.0.0-alpha.7.patch Enable Chrome E2E logs (#11295) 2021-06-15 15:18:21 -02:30
squirrelly+8.0.8.patch Build - refactor for bundle factoring and swappable runtime (#11080) 2021-07-15 10:59:34 -07:00
stylelint+13.6.1.patch Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
undeclared-identifiers+1.1.2.patch Dep upgrades and patches (#10903) 2021-04-20 13:39:49 +08:00
watchify+4.0.0.patch Improve autorebuilding in dev to reduce CPU load (#11886) 2021-10-25 13:56:26 -06:00
web3+0.20.7.patch Dep upgrades and patches (#10903) 2021-04-20 13:39:49 +08:00