Curious about the future of data-driven systems? Join our Data Engineering roundtable and learn how to build scalable data platforms.
Data Engineering: The industry has come a long way from organizing unstructured data to adopting today's modern data pipelines. See how.
Stats
| Reputation: | 356 |
| Pageviews: | 105.0K |
| Articles: | 2 |
| Comments: | 4 |
Comments
Mar 25, 2018 · Ram Patra
Thanks, I used Giphy Capture to record my demos. Surprisingly, you're the second to ask me this. I have also used GifCam to capture demos on Windows.
Jan 05, 2017 · A N M Bazlur Rahman
The sample code needs to be changed a bit. Some JVMs may ignore running the stream and filter operations entirely as the variable count isn't used anywhere. This is called Dead Code Elimination by JVM.
To avoid dead code elimination you must make sure that the code you want to measure does not look like dead code to the JVM. There are two ways to do that:
- Return the result of your code (in this case, count) from the benchmark method.
- Pass the calculated value(count) into a "black hole" provided by JMH.
You can learn more here.
Sep 02, 2016 · Jackson Joseraj
If it's incorrect then I would request the author to please edit it as many don't go through the comments and may get a wrong idea.
Jun 30, 2016 · Emmett Coin
A similar post can be found here: https://toddmotto.com/is-it-time-to-drop-jquery-essentials-to-learning-javascript-from-a-jquery-background/