savina
savina copied to clipboard
Termination and Self-Verification in ForkJoin Actor Creation and Throughput.
These two benchmarks do currently not do self-verification beside checking the results of the computation, which is there to avoid dead-code elimination.
Furthermore these two benchmarks rely (like many others) on the availability of .awaitTermination() in most incarnations. I saw in the Habanero versions the use of finish() instead.
In my version I went with returning promises with the computation result or the number of messages processed. However, that changes the benchmark quite a bit, so I wonder whether it is an acceptable solution.
See https://github.com/smarr/SOMns-corelib/commit/e2cc695bf61e4c26e522ed13e3d17cd6c5d83a2f and https://github.com/smarr/SOMns-corelib/commit/6d0d97ecc8ce8cdd856d1f61e43f59c8d38b37e6