Skip to content

Conversation

durran
Copy link
Member

@durran durran commented Mar 2, 2017

More ongoing work here and performance.

CSS pseudo-selectors :before and :after are counted in the layout calculations so our use of them to put quotes around strings was having impact on performance. I changed the hadron-react-bson module to now apply the quotes on the strings directly and removed the before/after rules.

On the stateofjs collection:

Before: 609ms layout 18699 nodes
screen shot 2017-03-02 at 3 22 16 pm

After: 568ms layout 12876 nodes
screen shot 2017-03-02 at 3 24 05 pm

@durran durran merged commit eb7fe68 into master Mar 2, 2017
@durran durran deleted the COMPASS-532 branch March 2, 2017 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant