# Javascript Listeners - memory usage / resources / efficiency

**URL:** https://forum.kirupa.com/t/javascript-listeners-memory-usage-resources-efficiency/634857
**Category:** web dev
**Created:** [June 27, 2016, 6:49pm UTC](https://forum.kirupa.com/t/javascript-listeners-memory-usage-resources-efficiency/634857 "2016-06-27T18:49:46Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![krilnon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/krilnon/32/34_2.png) [@krilnon](https://forum.kirupa.com/u/krilnon)
#### Post date: [June 27, 2016, 6:54pm UTC](https://forum.kirupa.com/t/javascript-listeners-memory-usage-resources-efficiency/634857/2 "2016-06-27T18:54:15Z")

</div>

> [@Olaf\_Calderon](#):
>
> Can anyone validate the fact that having multiple listeners uses up more resources/memory or present any issues that should not be? ( performance issues? )

Yes, I’ve seen slowdowns related to this before. [quote=“Olaf\_Calderon, post:1, topic:634857”]  
would this solution introduce any issues? is it better than firing independent listeners?  
[/quote]

It’s better, but requires you to take of a bit more logic in your one single handler than you would in your larger group of homogenous handlers.

---

_[View the full topic](https://forum.kirupa.com/t/javascript-listeners-memory-usage-resources-efficiency/634857)._
