public class TimeLexerSpeed extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
output |
static String |
Parser_java_file |
static String |
PerfDir |
static String |
RuleContext_java_file |
List<String> |
streamFootprints |
| Constructor and Description |
|---|
TimeLexerSpeed() |
| Modifier and Type | Method and Description |
|---|---|
double |
avg(long[] values) |
static String |
basename(File file) |
static String |
basename(String fullyQualifiedFileName) |
void |
compilerWarmUp(int n) |
static long |
getResourceSize(ClassLoader loader,
String resourceName) |
void |
lex_legacy_grapheme_utf8(String fileName,
int n,
boolean clearLexerDFACache) |
void |
lex_legacy_java_utf8(int n,
boolean clearLexerDFACache) |
void |
lex_new_grapheme_utf8(String fileName,
int n,
boolean clearLexerDFACache) |
void |
lex_new_java_utf8(int n,
boolean clearLexerDFACache) |
void |
load_legacy_java_ascii_file(String resourceName,
int n) |
void |
load_legacy_java_ascii(String resourceName,
int n) |
void |
load_legacy_java_utf8(String resourceName,
int n) |
void |
load_new_utf8(String resourceName,
int n) |
static void |
main(String[] args) |
double |
std(double mean,
List<Long> values) |
double |
tokenize(org.antlr.v4.runtime.Lexer lexer,
int n,
boolean clearLexerDFACache) |
public static final String Parser_java_file
public static final String RuleContext_java_file
public static final String PerfDir
public boolean output
public void load_legacy_java_ascii_file(String resourceName, int n) throws Exception
Exceptionpublic void load_legacy_java_ascii(String resourceName, int n) throws Exception
Exceptionpublic void load_legacy_java_utf8(String resourceName, int n) throws Exception
Exceptionpublic void load_new_utf8(String resourceName, int n) throws Exception
Exceptionpublic void lex_legacy_java_utf8(int n,
boolean clearLexerDFACache)
throws Exception
Exceptionpublic void lex_new_java_utf8(int n,
boolean clearLexerDFACache)
throws Exception
Exceptionpublic void lex_legacy_grapheme_utf8(String fileName, int n, boolean clearLexerDFACache) throws Exception
Exceptionpublic void lex_new_grapheme_utf8(String fileName, int n, boolean clearLexerDFACache) throws Exception
Exceptionpublic double tokenize(org.antlr.v4.runtime.Lexer lexer, int n, boolean clearLexerDFACache)
public double avg(long[] values)
public static final long getResourceSize(ClassLoader loader, String resourceName) throws IOException
IOExceptionCopyright © 1992–2024 Daniel Sun. All rights reserved.