1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Update speed test to show token count.

This commit is contained in:
Doug Schaefer 2004-06-05 02:20:22 +00:00
parent 272ee95ac1
commit c390aa43bf

View file

@ -52,7 +52,8 @@ public class SpeedTest extends TestCase {
long totalTime;
parser.parse();
totalTime = System.currentTimeMillis() - startTime;
System.out.println( "Resulting parse took " + totalTime + " millisecs"); //$NON-NLS-1$ //$NON-NLS-2$
System.out.println( "Resulting parse took " + totalTime + " millisecs " +
scanner.getCount() + " tokens");
}
private static final QuickParseCallback CALLBACK = new QuickParseCallback();