franz1981 edited a comment on pull request #39: URL: https://github.com/apache/qpid-proton-j/pull/39#issuecomment-722175119
This is the improvement related: `master` ``` Benchmark Mode Cnt Score Error Units SymbolsBenchmark.decode avgt 5 283.784 ± 4.618 ns/op ``` ``` Benchmark Mode Cnt Score Error Units CompositeReadableBufferBenchmark.hashCodeMultipleArrayFullSpan avgt 10 770.841 ± 6.285 ns/op CompositeReadableBufferBenchmark.hashCodeMultipleArraySpanInSingleArray avgt 10 113.202 ± 0.330 ns/op CompositeReadableBufferBenchmark.hashCodeSingArraySpanInSingleArray avgt 10 114.003 ± 1.756 ns/op CompositeReadableBufferBenchmark.hashCodeSingleArrayFullSpan avgt 10 581.803 ± 2.284 ns/op ``` ``` Benchmark (chunks) (direct) (size) Mode Cnt Score Error Units CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 false 8 avgt 10 25.528 ± 0.038 ns/op CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 false 16 avgt 10 33.414 ± 0.117 ns/op CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 false 64 avgt 10 61.316 ± 2.427 ns/op CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 true 8 avgt 10 26.567 ± 1.156 ns/op CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 true 16 avgt 10 40.832 ± 0.672 ns/op CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 true 64 avgt 10 125.804 ± 0.590 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 false 8 avgt 10 27.091 ± 0.156 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 false 16 avgt 10 29.060 ± 0.032 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 false 64 avgt 10 60.711 ± 3.901 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 true 8 avgt 10 29.594 ± 0.262 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 true 16 avgt 10 45.407 ± 1.230 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 true 64 avgt 10 149.863 ± 0.794 ns/op ``` on this pr: ``` Benchmark Mode Cnt Score Error Units SymbolsBenchmark.decode avgt 20 197.239 ± 2.010 ns/op ``` ``` Benchmark Mode Cnt Score Error Units CompositeReadableBufferBenchmark.hashCodeMultipleArrayFullSpan avgt 10 768.331 ± 2.098 ns/op CompositeReadableBufferBenchmark.hashCodeMultipleArraySpanInSingleArray avgt 10 59.398 ± 0.385 ns/op CompositeReadableBufferBenchmark.hashCodeSingArraySpanInSingleArray avgt 10 61.704 ± 4.174 ns/op CompositeReadableBufferBenchmark.hashCodeSingleArrayFullSpan avgt 10 279.393 ± 2.857 ns/op ``` ``` Benchmark (chunks) (direct) (size) Mode Cnt Score Error Units CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 false 8 avgt 10 18.944 ± 0.015 ns/op CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 false 16 avgt 10 24.422 ± 0.171 ns/op CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 false 64 avgt 10 57.659 ± 1.164 ns/op CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 true 8 avgt 10 23.357 ± 1.817 ns/op CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 true 16 avgt 10 35.253 ± 0.184 ns/op CompositeReadableBufferEqualsBenchmark.equalsToByteBufferReader 1 true 64 avgt 10 99.871 ± 0.428 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 false 8 avgt 10 22.183 ± 0.219 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 false 16 avgt 10 26.349 ± 0.053 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 false 64 avgt 10 58.976 ± 0.432 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 true 8 avgt 10 26.805 ± 0.540 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 true 16 avgt 10 35.691 ± 0.200 ns/op CompositeReadableBufferEqualsBenchmark.equalsToWithSingleArraySubsetOfBuffer 1 true 64 avgt 10 99.784 ± 0.434 ns/op ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org