Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: improve render(), append() & updateTooltip() performance #135

Merged
merged 15 commits into from Dec 7, 2021

Commits on Sep 7, 2021

  1. Copy the full SHA
    a6d7bc2 View commit details
    Browse the repository at this point in the history
  2. docs: update changelog

    WofWca committed Sep 7, 2021
    Copy the full SHA
    85cb245 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. perf: improve render() performance a bit

    No behavior changes
    WofWca committed Sep 24, 2021
    Copy the full SHA
    f7d2f9e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    73c3877 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. perf: improve .append() performance a bit

    Reduce the amount of checks
    WofWca committed Sep 28, 2021
    Copy the full SHA
    9d606d8 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. Copy the full SHA
    6ae1d1c View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. Copy the full SHA
    42b26b1 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    13bfabd View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    f7b488e View commit details
    Browse the repository at this point in the history
  4. perf: don't access canvas.clientWidth on each render()

    This changes behavior a bit - when `render(` is passed a canvas different
    from `this.canvas`
    WofWca committed Oct 7, 2021
    Copy the full SHA
    cd380b6 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    5464706 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    465976b View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2021

  1. Copy the full SHA
    6641ce5 View commit details
    Browse the repository at this point in the history
  2. docs: update changelog

    WofWca committed Oct 8, 2021
    Copy the full SHA
    7f108bc View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2021

  1. perf: Revert "perf: remove unnecessary context.save()& `context.res…

    …tore()`"
    
    This reverts commit f7b488e.
    
    For some reason in Chromium 95.0.4638.54 (and maybe others) that change
    caused `render()` CPU time to grow over time. For me on the
    `examples/example1.html` page it would grow from 0.5ms to 50ms over 5 minutes
    WofWca committed Oct 24, 2021
    Copy the full SHA
    3777c46 View commit details
    Browse the repository at this point in the history