2 ms·
Are you saying it takes 469ms to attach event handlers? That's well over a billion clock cycles. That doesn't sound efficient.
by jstanley 4y ago
Are you saying it takes 469ms to attach event handlers? That's well over a billion clock cycles. That doesn't sound efficient.
- rglover 4y agoNo. A quick rough profile: https://imgur.com/a/hVLD5Db https://imgur.com/a/hVLD5Db Event handlers are attached by queueing them up as I render the component tree and then after the tree is mounted to the DOM, I just run the queue to attach the listeners.