Increasing Performance – more than a pipe dream
summary
A concrete experiment shows a template function getting called 820 times as change detection fires, then being replaced with an Angular pipe that is called only 10 times (or 90 times when showing 100 rows), yielding an 88% reduction in calls. The pipe works by caching outputs for identical primitive inputs; changing object internals without swapping the reference prevents cache hits. The demo uses console counts to measure calls and proves replacing expensive template functions with pipes cuts wasted work.
AI-written summary · about








