Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Conversation

@Omer
Copy link
Contributor

@Omer Omer commented May 16, 2016

Includes:

  • Unbind 'resize' event handlers on $destroy (as per issue Memory #143). Not only this
    reduces the overall number of listeners being bound, but also allows DOM
    nodes to be GC'ed.
  • To alleviate some CPU churn, we now throttle the resize event handler. By
    doing so, we enable users to resize their browsers in a much smoother
    fashion.

Timeline Before:
timeline before
Timeline After:
timeline after
Listeners/DOM Nodes/JS Heap Before:
listeners before
Listeners/DOM Nodes/JS Heap After:
listeners after

…size events Includes: - Unbind 'resize' event handlers on $destroy (as per issue 720kb#143). Not only this reduces the overall number of listeners being bound, but also allows DOM nodes to be GC'ed. - To alleviate some CPU churn, we now throttle the resize event handler. By doing so, we enable users to resize their browsers in a much smoother fashion.
@45kb
Copy link
Member

45kb commented May 16, 2016

@Omer thank you a lot, this looks an awesome work to me, @wouldgo what you think?

@wouldgo
Copy link
Member

wouldgo commented May 17, 2016

I'm sorry but I was quite busy at all and, even if I had a clear idea to fix the resize issue (was basically a typo in the code) I forgot to respond.

ASAP I'll check, but seems a very good work.

@45kb
Copy link
Member

45kb commented May 17, 2016

@wouldgo 👍

@wouldgo
Copy link
Member

wouldgo commented May 18, 2016

Imho this pr is perfect for merging.

@45kb
Copy link
Member

45kb commented May 18, 2016

Ok !

@45kb 45kb merged commit 520c807 into 720kb:master May 18, 2016
@45kb
Copy link
Member

45kb commented May 18, 2016

everything looks fine from some test

📦 shipped https://github.com/720kb/angular-tooltips/releases/tag/1.1.1

Thank you a lot @Omer

@wouldgo
Copy link
Member

wouldgo commented May 18, 2016

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants