Uses of Class
org.antlr.v4.test.runtime.java.api.perf.jmh.CorpusLoader.SourceFile
Packages that use CorpusLoader.SourceFile
Package
Description
-
Uses of CorpusLoader.SourceFile in org.antlr.v4.test.runtime.java.api.perf.groovy
Methods in org.antlr.v4.test.runtime.java.api.perf.groovy that return types with arguments of type CorpusLoader.SourceFileModifier and TypeMethodDescriptionstatic List<CorpusLoader.SourceFile>GroovyCorpus.synthetic(int files, int methodsPerFile) Methods in org.antlr.v4.test.runtime.java.api.perf.groovy with parameters of type CorpusLoader.SourceFileModifier and TypeMethodDescriptionprivate static StringGroovyParseHarness.runLex(String name, CorpusLoader.SourceFile file, boolean clearDfa, int warmup, int iters) private static StringGroovyParseHarness.runParse(String name, CorpusLoader.SourceFile file, ParseWorkload.PredictionStrategy strategy, boolean clearDfa, int warmup, int iters) Method parameters in org.antlr.v4.test.runtime.java.api.perf.groovy with type arguments of type CorpusLoader.SourceFileModifier and TypeMethodDescriptionstatic ParseWorkload.StatsGroovyParseWorkload.parseParallel(List<CorpusLoader.SourceFile> files, ParseWorkload.PredictionStrategy strategy, boolean clearDfaAtStart, boolean buildTree, int threads) static ParseWorkload.StatsGroovyParseWorkload.parseSerial(List<CorpusLoader.SourceFile> files, ParseWorkload.PredictionStrategy strategy, boolean clearDfaPerFile, boolean buildTree) private static StringGroovyParseHarness.runBatch(String name, List<CorpusLoader.SourceFile> files, ParseWorkload.PredictionStrategy strategy, boolean clearAtStart, int threads, int warmup, int iters) -
Uses of CorpusLoader.SourceFile in org.antlr.v4.test.runtime.java.api.perf.jmh
Fields in org.antlr.v4.test.runtime.java.api.perf.jmh with type parameters of type CorpusLoader.SourceFileMethods in org.antlr.v4.test.runtime.java.api.perf.jmh that return CorpusLoader.SourceFileModifier and TypeMethodDescriptionstatic CorpusLoader.SourceFileCorpusLoader.loadLargest(String relativeUnderRuntimeSrc) static CorpusLoader.SourceFileCorpusLoader.loadParserJava()Load a single well-known large file used by the historical lexer bench.Methods in org.antlr.v4.test.runtime.java.api.perf.jmh that return types with arguments of type CorpusLoader.SourceFileModifier and TypeMethodDescriptionstatic List<CorpusLoader.SourceFile>CorpusLoader.loadAcceptedOrSynthetic(int maxFiles, int minAccepted) Prefer real runtime sources that the bundled grammar accepts; if fewer thanminAcceptedsurvive, fall back to a synthetic corpus ofmaxFilesunits so A/B runs remain comparable.private static List<CorpusLoader.SourceFile>CorpusLoader.loadAllUnder(String rootResource, String suffix) static List<CorpusLoader.SourceFile>CorpusLoader.loadRuntimeJavaSources()Load every.javafile under the packaged runtime sources.static List<CorpusLoader.SourceFile>CorpusLoader.loadRuntimeJavaSources(int maxFiles) Load up tomaxFileslargest runtime.javasources (stable tie-break by path).static List<CorpusLoader.SourceFile>CorpusLoader.syntheticJava7Corpus(int fileCount, int methodsPerFile) Build a deterministic synthetic Java 1.7-shaped corpus that the bundledJava.g4accepts fully.Methods in org.antlr.v4.test.runtime.java.api.perf.jmh with parameters of type CorpusLoader.SourceFileModifier and TypeMethodDescriptionprivate static ComparativeParseHarness.ScenarioResultComparativeParseHarness.runLex(String name, CorpusLoader.SourceFile file, boolean clearDfa, int warmup, int iters) private static ComparativeParseHarness.ScenarioResultComparativeParseHarness.runLexReuse(String name, CorpusLoader.SourceFile file, int warmup, int iters) Same source rebound onto one lexer viaLexer.setInputStream(org.antlr.v4.runtime.CharStream)(callsLexer.reset()).private static ComparativeParseHarness.ScenarioResultComparativeParseHarness.runParse(String name, CorpusLoader.SourceFile file, ParseWorkload.PredictionStrategy strategy, boolean clearDfa, int warmup, int iters) Method parameters in org.antlr.v4.test.runtime.java.api.perf.jmh with type arguments of type CorpusLoader.SourceFileModifier and TypeMethodDescriptionstatic ParseWorkload.StatsParseWorkload.parseParallel(List<CorpusLoader.SourceFile> files, ParseWorkload.PredictionStrategy strategy, boolean clearDfaAtStart, boolean buildTree, int threads) Parse all files withthreadsworkers (file-granularity parallelism).static ParseWorkload.StatsParseWorkload.parseParallel(ParseWorkload.FrontEnd frontEnd, List<CorpusLoader.SourceFile> files, ParseWorkload.PredictionStrategy strategy, boolean clearDfaAtStart, boolean buildTree, int threads) static ParseWorkload.StatsParseWorkload.parseSerial(List<CorpusLoader.SourceFile> files, ParseWorkload.PredictionStrategy strategy, boolean clearDfaPerFile, boolean buildTree) Parse all files on the calling thread.static ParseWorkload.StatsParseWorkload.parseSerial(ParseWorkload.FrontEnd frontEnd, List<CorpusLoader.SourceFile> files, ParseWorkload.PredictionStrategy strategy, boolean clearDfaPerFile, boolean buildTree) private static ComparativeParseHarness.ScenarioResultComparativeParseHarness.runBatch(String name, List<CorpusLoader.SourceFile> files, ParseWorkload.PredictionStrategy strategy, boolean clearDfaPerFile, boolean clearDfaAtStart, int threads, int warmup, int iters) private static ParseWorkload.StatsParseLoop.runOnce(List<CorpusLoader.SourceFile> files, ParseWorkload.PredictionStrategy strategy, boolean parallel, int threads) private static ParseWorkload.StatsComparativeParseHarness.runOneBatch(List<CorpusLoader.SourceFile> files, ParseWorkload.PredictionStrategy strategy, boolean clearDfaPerFile, boolean clearDfaAtStart, int threads) static intCorpusLoader.totalChars(List<CorpusLoader.SourceFile> files) private static void