renamed all modules

This commit is contained in:
Andy Clement
2014-01-15 11:36:24 -08:00
parent 342420b2ed
commit ceef61cf98
1055 changed files with 301 additions and 259 deletions

View File

@@ -0,0 +1,26 @@
package benchmarks;
public class MethodInvoking {
int i;
public String run() {
// warmup
for (int i = 0; i < 1000000; i++) {
m();
}
// measure
long l = System.currentTimeMillis();
for (int i = 0; i < 50000000; i++) {
m();
}
return Long.toString(System.currentTimeMillis() - l);
}
public void m() {
i = 4;
}
public static void main(String[] args) {
System.out.println(new MethodInvoking().run());
}
}