50 lines
2.4 KiB
Diff
50 lines
2.4 KiB
Diff
--- asm-2.2.3/test/perf/org/objectweb/asm/ALLPerfTest.java 2006-07-05 17:32:24.000000000 +0200
|
|
+++ asm-2.2.3/test/perf/org/objectweb/asm/ALLPerfTest.java-gil 2009-03-01 19:21:30.000000000 +0100
|
|
@@ -172,9 +172,9 @@
|
|
System.out.println("\nBCEL PERFORMANCES\n");
|
|
new BCELPerfTest().perfs(args);
|
|
double[][] bcelPerfs = perfs;
|
|
- System.out.println("\nSERP PERFORMANCES\n");
|
|
- new SERPPerfTest().perfs(args);
|
|
- double[][] serpPerfs = perfs;
|
|
+// System.out.println("\nSERP PERFORMANCES\n");
|
|
+// new SERPPerfTest().perfs(args);
|
|
+// double[][] serpPerfs = perfs;
|
|
System.out.println("\nJavassist PERFORMANCES\n");
|
|
new JavassistPerfTest().perfs(args);
|
|
double[][] javassistPerfs = perfs;
|
|
@@ -212,12 +212,12 @@
|
|
System.out.print(")");
|
|
}
|
|
System.out.print(" ");
|
|
- System.out.print((float) serpPerfs[step][mode] + " ms");
|
|
- if (mode > 0) {
|
|
- System.out.print(" (*");
|
|
- System.out.print((float) (serpPerfs[step][mode] / serpPerfs[step][0]));
|
|
- System.out.print(")");
|
|
- }
|
|
+// System.out.print((float) serpPerfs[step][mode] + " ms");
|
|
+// if (mode > 0) {
|
|
+// System.out.print(" (*");
|
|
+// System.out.print((float) (serpPerfs[step][mode] / serpPerfs[step][0]));
|
|
+// System.out.print(")");
|
|
+// }
|
|
System.out.print(" ");
|
|
System.out.print((float) javassistPerfs[step][mode] + " ms");
|
|
if (mode > 0) {
|
|
@@ -258,10 +258,10 @@
|
|
System.out.print((float) f + " ms (*");
|
|
System.out.print((float) (f / ref));
|
|
System.out.print(") ");
|
|
- double g = serpPerfs[step][mode] - serpPerfs[step][base];
|
|
- System.out.print((float) g + " ms (*");
|
|
- System.out.print((float) (g / ref));
|
|
- System.out.print(")");
|
|
+// double g = serpPerfs[step][mode] - serpPerfs[step][base];
|
|
+// System.out.print((float) g + " ms (*");
|
|
+// System.out.print((float) (g / ref));
|
|
+// System.out.print(")");
|
|
double h = javassistPerfs[step][mode]
|
|
- javassistPerfs[step][base];
|
|
System.out.print((float) h + " ms (*");
|