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
Смотрите видео Stream Api vs Foreach vs Iterator [Java Performance Test] онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь MJC 01 Июль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,599 раз и оно понравилось 143 людям.