arunpandianp opened a new pull request, #36612:
URL: https://github.com/apache/beam/pull/36612

   IntervalWindow is put into HashMaps and get hashed a lot. This change caches 
the computed hashCode.
   
   Before (.85% cpu): 
   <img width="3200" height="1837" alt="image" 
src="https://github.com/user-attachments/assets/6ed07ce4-fc21-4dbe-a9b1-902300ad75be";
 />
   
   After (.07% cpu): 
   <img width="3456" height="1984" alt="image" 
src="https://github.com/user-attachments/assets/985a4296-40e0-4db8-9d15-39ed76d2fe2f";
 />
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to