lukaszzborek commented on PR #3250: URL: https://github.com/apache/iggy/pull/3250#issuecomment-4454764885
Some benchmark: | Method | 0.8.0 Mean | Current Mean | Δ Mean | 0.8.0 Gen0 | Current Gen0 | 0.8.0 Gen1 | Current Gen1 | 0.8.0 Gen2 | Current Gen2 | 0.8.0 Allocated | Current Allocated | Δ Allocated | |--------------------------- |-----------:|-------------:|---------:|-----------:|-------------:|-----------:|-------------:|-----------:|-------------:|----------------:|------------------:|------------:| | PollMessagesAsync | 22.52 ms | 20.26 ms | -10.03% | 312.5000 | 187.5000 | 312.5000 | 31.2500 | 312.5000 | - | 3.91 MB | 2.97 MB | -24.04% | | PollMessagesRentedAsync | 22.52 ms* | 22.56 ms | +0.18% | 312.5000* | 125.0000 | 312.5000* | - | 312.5000* | - | 3.91 MB* | 1.93 MB | -50.64% | | ConsumerReceiveAsync | 24.15 ms | 22.57 ms | -6.54% | 312.5000 | 187.5000 | 312.5000 | 31.2500 | 312.5000 | - | 3.97 MB | 3.02 MB | -23.93% | | ConsumerReceiveRentedAsync | 24.15 ms* | 23.32 ms | -3.44% | 312.5000* | 125.0000 | 312.5000* | - | 312.5000* | - | 3.97 MB* | 2 MB | -49.62% | | TypedConsumerReceiveAsync | 24.31 ms | 22.57 ms | -7.16% | 312.5000 | 125.0000 | 312.5000 | 31.2500 | 312.5000 | - | 4.02 MB | 2 MB | -50.25% | \* Compared against the 0.8.0 non-rented equivalent (`PollMessagesAsync` / `ConsumerReceiveAsync`) as requested. It was tested with a 1 KB message. Polling messages were performed in batches of 100 until 1,000 processed messages were obtained (deserialising the messages via MessagePack). -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
