artyushov / idea-jmh-plugin

Plugin for Itellij IDEA to make benchmarking with JMH easier.
MIT License
445 stars 43 forks source link

Can't find the field "Program Arguments" as an option of the run configuration #52

Closed lucamolteni closed 2 months ago

lucamolteni commented 2 months ago

Previous IDEA:

Previous run configuration

Idea 2024.1.4

Screenshot 2024-09-12 at 16 51 32 Screenshot 2024-09-12 at 16 56 13
mariofusco commented 2 months ago

+1 I'm experiencing exactly the same problem.

stokito commented 2 months ago

JB changed API and I didn't had enough aspiration to find how to migrate to the new API.

How critical is this? Which arguments you are usually using? The prof perf stat, maybe something else? I'm asking because maybe we can add the arg as a checkbox.

lucamolteni commented 2 months ago

JB changed API and I didn't had enough aspiration to find how to migrate to the new API.

How critical is this? Which arguments you are usually using? The prof perf stat, maybe something else? I'm asking because maybe we can add the arg as a checkbox.

There's a workaround, that is to create a main configuration with either the JMH Main or a main created inside the benchmark class but yes, it's mostly to add profiling

Screenshot 2024-09-13 at 10 04 59 Screenshot 2024-09-13 at 10 05 05
stokito commented 2 months ago

A created the new release so in a few days it will be published. The additional options for the profile have to be implemented in scope of #36 or #42