private static final int NUMBER_OF_SEEKS = 100000;
- @SuppressWarnings("nls")
private final String[] callsites = { "Alligator", "Bunny", "Cat",
"Dolphin", "Echidna", "Gazelle", "Heron", "Ibex", "Jackalope",
"Koala", "Lynx", "Meerkat", "Narwhal", "Ocelot", "Pangolin",
"Quetzal", "Ringtail", "Sandpiper", "Tiger", "Urchin", "Vulture",
"Walrus", "X-Ray Tetra", "Zonkey" };
- @SuppressWarnings("nls")
private final String[] functions = { "sentence", "together", "children",
"mountain", "chipmunk", "crashing", "drinking", "insisted",
"insulted", "invented", "squinted", "standing", "swishing",
"birthday", "bluebird", "cheerful", "colorful", "daylight",
"doghouse", "driveway", "everyone" };
- @SuppressWarnings("nls")
private final String[] files = { "Adult.java", "Aeroplane.java",
"Air.java", "Airforce.java", "Airport.java", "Album.java",
"Alphabet.java", "Apple.java", "Arm.java", "Army.java", "Babby.java" };
private void test(int callsiteSize) {
addCallsites(callsiteSize);
long ns = testMain();
- System.out.println( "perf ( " + callsiteSize + ", " + ns + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ System.out.println( "perf ( " + callsiteSize + ", " + ns + ")");
}
private void perfTest() {