OPTIMAL PERFORMANCE FROM JAVA 8 PARALLEL STREAMS
For Java programmers, looping over a collection is the time-honored way of processing data. Now, from Java 8 onwards, we will instead be writing stream programs. This model of Java programming is more concise, more expressive, and more maintainable. But what about performance? How fast will they be? In particular, how much improvement will parallel streams bring, with their promise of distributing work over multiple CPU cores?
In this talk we’ll set this problem in the context of analyzing Java performance generally. Then by looking at how streams begin and end, as well as the work that they do along the way, we’ll create guidelines for getting the optimal performance from Java 8 streams.
Maurice Naftalin is Director of Software Development at Morningside Light Ltd., a software consultancy in the United Kingdom. Maurice has published several books on Java Generics and Lambdas. Maurice consults mainly in object-oriented technologies and teaches Java classes at Learning Tree. He has three decades' experience as a programmer, team leader, and commercial trainer.
INTRODUCTION TO MUTATION TESTING
Sure code coverage is important. But how do you know if your jUnit tests are good? How do you know where to make them better? Mutation testing to the rescue. You'll learn what mutation testing is, how it works and why it is important. You'll also see a demo of PitClipse; the Eclipse plugin for mutation testing.
Jeanne Boyarsky is a well-respected member of the NYJavaSIG community, a senior Java developer and the author of two Java certification books. She is a strong proponent of Unit tests and has recently been taking them to the next level with PitClipse.