5 ms·
Good questions (I am the author). It's complex though. 1) They are not the same benchmark. The Java 15 blog used optaplanner 7.x with optaplanner-examples 7.x,
by ge0ffrey 5y ago
Good questions (I am the author). It's complex though.
1) They are not the same benchmark.
The Java 15 blog used optaplanner 7.x with optaplanner-examples 7.x, which use scoreDRL. The Java 17 blog used 8.x versions, which use ConstraintStreams. That scoreDRL vs CS is a huge difference, which you see on the numbers (run on the same machine).
2) Remove the Machine Reassignment (B1 and B10) numbers, and it will look consistent: Java 17 is always better.
The real question is why is every JDK's (11 too!) performance is predictable on most use cases, but horribly so on the Machine Reassignement case?
3) I need to share the numbers of the 3 raw runs - and probably do more runs - to clearly show and explain what's going on there. It looks to damn fishy.