antlr4ts
antlr4ts copied to clipboard
The JDK_SOURCE_ROOT environment variable must be set for performance testing.
npm run benchmark
fails on my new machine with the message above. It comes from TestPerformance.ts.
@sharwell, I remember that one of the benchmark requirements involved getting a copy of this code that was under a sun/oracle license, and setting this environment variable. I don't recall where to get it.
I'm wondering, does OpenJDK now have equivalent code that doesn't call for under a propitiatory license? Would it make sense to include it via sub-module? Could we then eliminate the need for the environment variable?
Sam, if possible lets load go the sub-module approach so that benchmark will run after npm install. Your feedback is important.
@sharwell can you please remind me where to find the source code needed to run benchmark?