mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
Added command line version of ScannerSpeedTest to check for aprof.
This commit is contained in:
parent
41db303fbf
commit
008ca93b73
1 changed files with 7 additions and 0 deletions
|
@ -29,6 +29,13 @@ public class ScannerSpeedTest extends SpeedTest {
|
||||||
|
|
||||||
private static final ISourceElementRequestor CALLBACK = new NullSourceElementRequestor();
|
private static final ISourceElementRequestor CALLBACK = new NullSourceElementRequestor();
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
try {
|
||||||
|
new ScannerSpeedTest().runTest(1);
|
||||||
|
} catch (Exception e) {
|
||||||
|
System.out.println(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
public void test() throws Exception {
|
public void test() throws Exception {
|
||||||
runTest(10);
|
runTest(10);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue