Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
perf(core): use native addEventListener for faster rendering. #18107
Angular can make many assumptions about its event handlers. As a result
This change bypasses the Zone's addEventListener if present and always
IgorMinar left a comment
I'm not familiar with all the internals that might be affected by this change, but on the surface this looks right. We should however not merge this until after master is open for 5.0 changes due to the slight public api change.
3 times, most recently
Jul 14, 2017
2 times, most recently
Jul 17, 2017
@mhevery I took your PR for a test drive and here are the results I'm seeing on a sample app I'm using for Angular perf testing
As always there is a bit of fluctuation from one test to another so to draw definitive conclusions we should run benchmarks in the "laboratory" conditions.