Skip to content

Conversation

goto-bus-stop
Copy link
Member

@goto-bus-stop goto-bus-stop commented Apr 11, 2018

@choojs/findup is a fork of findup that removes the colors dependency.
colors adds lots of properties to the String prototype, which was
causing big slowdowns in bankai. About 300ms was spent calling colors
getters that were never expected to be there (mostly by the CSS parser).

profile screenie

@choojs/findup is a fork of findup that removes the `colors` dependency. `colors` adds lots of properties to the String prototype, which was causing big slowdowns in bankai. About 300ms was spent calling `colors` getters that were never expected to be there (mostly by clean-css).
@goto-bus-stop goto-bus-stop merged commit dc3a0ec into master Apr 13, 2018
@goto-bus-stop goto-bus-stop deleted the replace-findup branch April 13, 2018 08:03
goto-bus-stop added a commit to goto-bus-stop/glslify-deps that referenced this pull request May 30, 2018
@choojs/findup is a fork of findup that removes the `colors` dependency. `colors` adds lots of properties to the String prototype, which can cause problems in other modules that don't expect them to be there. This was causing big slowdowns in [bankai](https://github.com/choojs/bankai). About 300ms was spent calling `colors` getters that were never expected to be there. ![profile screenie](https://i.imgur.com/jIHp4yJ.png) Ref choojs/bankai#465 Ref stackcss/sheetify#153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant