Roiocam commented on PR #983: URL: https://github.com/apache/incubator-pekko/pull/983#issuecomment-1901809244
I have also did my benchmark too. https://gist.github.com/Roiocam/27e258a43aba39b308732cad49e45ac8 Optimized version both win on happy and sad path. ``` [info] Benchmark Mode Cnt Score Error Units [info] CollectFirstBenchmark.modifiedCollectFirst_OnHappyPath thrpt 3 130858794743.725 ± 159214224029.529 ops/s [info] CollectFirstBenchmark.modifiedCollectFirst_OnSadPath thrpt 3 219557169.282 ± 395479472.799 ops/s [info] CollectFirstBenchmark.originalCollectFirst_OnHappyPath thrpt 3 139881378115.900 ± 35329769673.033 ops/s [info] CollectFirstBenchmark.originalCollectFirst_OnSadPath thrpt 3 32618319.864 ± 17940245.081 ops/s ``` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
