Skip to content

Conversation

kohlschuetter
Copy link

ReedSolomonBenchmark runs several rounds of performance checks with a variety of CodingLoops. This was certainly helpful to determine the best variant for use in ReedSolomon.java, but may be distracting when trying to benchmark the actually used, best loop implementation across different systems and when comparing JavaReedSolomon against other implementations.

Clarify that InputOutputByteTableCodingLoop is the best coding loop, expose the instance via CodingLoop.BEST_CODING_LOOP, and use that in place of a hardcoded instantiation in ReedSolomon.java.

Add a commented option to ReedSolomonBenchmark that solely tests the best coding loop instead of all available loops.

Morever, add a commented option to ReedSolomonBenchmark that computes bandwidth on the basis of all shards (data + parity), as done with Klaus Post's Go implementation of this library.

ReedSolomonBenchmark runs several rounds of performance checks with a
variety of CodingLoops. This was certainly helpful to determine the best
variant for use in ReedSolomon.java, but may be distracting when trying
to benchmark the actually used, best loop implementation across
different systems and when comparing JavaReedSolomon against other
implementations.

Clarify that InputOutputByteTableCodingLoop is the best coding loop,
expose the instance via CodingLoop.BEST_CODING_LOOP, and use that in
place of a hardcoded instantiation in ReedSolomon.java.

Add a commented option to ReedSolomonBenchmark that solely tests the
best coding loop instead of all available loops.

Morever, add a commented option to ReedSolomonBenchmark that computes
bandwidth on the basis of all shards (data + parity), as done with Klaus
Post's Go implementation of this library.

Signed-off-by: Christian Kohlschütter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant