You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrade from El Capitan to macOS High Sierra (and enabling export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES) the rails server in development mode behaves differently. With config.assets.debug = true and two dozens of asset files, EVERY page load takes 45-60 secs CPU usage of zeus process is very high until all assets are rendered. I seems that assets are compiled again and again during each request. When I run the server without zeus it takes 2-3 secs. Setting config.assets.debug = false makes the page loading time to be sane again but it complicates the frontend development so it is not a long term solution.
System details
macOS High Sierra - Darwin mephisto.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64 with OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
Description of Problem
After upgrade from El Capitan to macOS High Sierra (and enabling
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
) the rails server in development mode behaves differently. Withconfig.assets.debug = true
and two dozens of asset files, EVERY page load takes 45-60 secs CPU usage of zeus process is very high until all assets are rendered. I seems that assets are compiled again and again during each request. When I run the server without zeus it takes 2-3 secs. Settingconfig.assets.debug = false
makes the page loading time to be sane again but it complicates the frontend development so it is not a long term solution.System details
OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
📄 zeus.json
📄 custom_plan.rb
Steps to Reproduce
Observed Behavior
Loading assets with
config.assets.debug = true
is veeeery slow (45 sec and even more).Expected Behavior
Loading assets with
config.assets.debug = true
is fast as via rails server (2-4 sec)Short term workaround
Set
config.assets.debug = false
and do not usezeus server
for frontend assets development.The text was updated successfully, but these errors were encountered: