Performance optimizations for the interaction to next paint metric and sharing the learning along the way