Skip to content

PERF: Improve initial paint times#10

Closed
BBB wants to merge 2 commits into
jgthms:masterfrom
BBB:feature/dynamic-example-painting
Closed

PERF: Improve initial paint times#10
BBB wants to merge 2 commits into
jgthms:masterfrom
BBB:feature/dynamic-example-painting

Conversation

@BBB

@BBB BBB commented Nov 25, 2016

Copy link
Copy Markdown

In order to improve initial paint times, I've made a change so that the examples are hidden on first load. They are then shown as the scroll position changes.

On my Mid 2014 MBP in Chrome the results are:

Before:

  • Rendering: ~3000ms
  • Painting: ~350ms

After:

  • Rendering: ~2000ms
  • Painting: ~80ms

This will improve the performance of the site as it currently is, but I'd recommend splitting the single page up into multiple, smaller pages. Perhaps split by sections of the css spec? This will have a much greater effect on performance.

@BBB BBB closed this Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant