You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (Jira)" <ji...@apache.org> on 2025/02/26 15:07:00 UTC
[jira] [Commented] (KAFKA-18872) Convert StressTestLog and TestLinearWriteSpeed to jmh benchmarks
[ https://issues.apache.org/jira/browse/KAFKA-18872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930717#comment-17930717 ]
Ismael Juma commented on KAFKA-18872:
-------------------------------------
Given that this is exercising the log layer, not sure JMH is appropriate. JMH is typically used for CPU bound benchmarks.
> Convert StressTestLog and TestLinearWriteSpeed to jmh benchmarks
> ----------------------------------------------------------------
>
> Key: KAFKA-18872
> URL: https://issues.apache.org/jira/browse/KAFKA-18872
> Project: Kafka
> Issue Type: Task
> Reporter: Mickael Maison
> Priority: Major
>
> Both StressTestLog and TestLinearWriteSpeed are in the jmh-benchmarks module but are not actually benchmarks.
> We can keep the main method if people want but it would be helpful to be able to run them as benchmarks to ensure changes to our log layer does not negatively impact performance.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)