kotlinx-benchmark icon indicating copy to clipboard operation
kotlinx-benchmark copied to clipboard

Reporting: when running in Idea, dot in a benchmark param's name is treated like class/method separator

Open fzhinkin opened this issue 1 year ago • 4 comments
trafficstars

I have a benchmark where a parameter is a string value which may contain a dot (well, it's a filename).

When running benchmarks from Idea using a Gradle task, benchmark names are incorrectly interpreted by the Idea: Screenshot 2024-02-22 at 12 34 43 PM

It would be nice to correctly report benchmark names and parameters in UI.

fzhinkin avatar Feb 22 '24 11:02 fzhinkin

This probably comes from the fact that benchmark executions are reported as test runs to IDEA, and it interprets them as test method references and renders them this way. Not sure what we can do here apart from developing a specialized integration for kotlinx.benchmarks report messages in IDEA.

ilya-g avatar Feb 23 '24 05:02 ilya-g