nzw921rx commented on PR #13761:
URL: https://github.com/apache/seatunnel/pull/13761#issuecomment-7302396331

   > 1. In JdbcRowConverterBenchmark and 
IncrementalSourceRecordEmitterBenchmark, the previous entry point delegated to 
Main.main, which dispatches help and list requests before running. The new 
entry points call Runner.run directly. For example, a direct class launch with 
-l can execute the benchmark instead of listing it. The new child 
verbosity(NORMAL) likewise overrides -v SILENT because JMH takes the child 
verbosity before its parent. The same pattern now appears across the other 
updated launchers. Please preserve Main's command dispatch for directly 
launched classes that previously supported it, or implement the same explicit 
parsing and let the parsed verbosity take precedence. This is the remaining 
part of the previous argument-handling finding. [JMH 1.37 command 
dispatch](https://github.com/openjdk/jmh/blob/1.37/jmh-core/src/main/java/org/openjdk/jmh/Main.java#L37-L67)
 · [JMH 1.37 option 
precedence](https://github.com/openjdk/jmh/blob/1.37/jmh-core/src/main/java/org/openjdk
 /jmh/runner/options/OptionsBuilder.java#L218-L231)
   
   @DanielLeens 
   I don’t think we need to preserve `-h` and `-l` for direct benchmark 
launches. The main use case for a benchmark’s `main` method is to run it from 
an IDE and adjust settings such as the fork count or warmup iterations. Both 
flags are already available through `benchmarks.jar`.
   
   


-- 
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]

Reply via email to