lujiajing1126 commented on a change in pull request #5357:
URL: https://github.com/apache/skywalking/pull/5357#discussion_r479603688
##########
File path: pom.xml
##########
@@ -581,6 +588,7 @@
</resourceExcludes>
<excludes>
**/target/generated-test-sources/**,
+
org/apache/skywalking/apm/agent/core/logging/core/generated/LoggingBenchmark*.java,
Review comment:
> Also, without adding this dependency, `LinkedArrayBenchmark` still is
able to run in the IntelliJ, what is the difference or do I miss anything?
I've tried to run this benchmark, but I failed. An error is reported,
```
Exception in thread "main" java.lang.RuntimeException: ERROR: Unable to find
the resource: /META-INF/BenchmarkList
at
org.openjdk.jmh.runner.AbstractResourceReader.getReaders(AbstractResourceReader.java:98)
at org.openjdk.jmh.runner.BenchmarkList.find(BenchmarkList.java:122)
at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:263)
at org.openjdk.jmh.runner.Runner.run(Runner.java:209)
at
org.apache.skywalking.apm.commons.datacarrier.LinkedArrayBenchmark.main(LinkedArrayBenchmark.java:176)
```
How can you run this benchmark in IDEA?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]