usr-zhang
usr-zhang

Reputation: 1

How to pass parameters with commas to JMH?

I'm using JMH (Java Microbenchmark Harness) for benchmarking, and I need to pass a parameter that contains commas when use cmd. For example, I want to pass a string like "select value1,value2 from dual" as a single parameter. However, JMH seems to split the value at commas, treating it as multiple parameters. How can I pass a parameter that includes commas without it being split?

Backslash didn't work.Expecting pass parameters with commas to JMH.

Upvotes: 0

Views: 3

Answers (0)

Related Questions