Another performance test using the Java Microbenchmark Harness framework. We check whether it is worth using everyone's favorite stream api in high-load projects. Has for loop lost its relevance? Does it make sense to use an iterator?
Telyatko Victor, java engineer, tested all these iteration methods. All results are in the video.
Write in the comments what else in java you would like to measure for performance.
The more likes, the faster the next performance test will come out.
________
An example from the video can be found at the link below:
Github: https://github.com/bark4ss/TechTalk/t...
________
Subscribe to our social networks:
Instagram: / mjc.talks
MJC Telegram Chat: https://t.me/mjcby
Community page: https://mjc.by
Watch video Stream Api vs Foreach vs Iterator [Java Performance Test] online without registration, duration hours minute second in high quality. This video was added by user MJC 01 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,599 once and liked it 143 people.