LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File asm2-ALLPerfTest.patch of Package asm2 (Project Java:jpackage-5.0)

--- test/perf/org/objectweb/asm/ALLPerfTest.java.sav	2007-10-12 12:56:59.000000000 +0200
+++ test/perf/org/objectweb/asm/ALLPerfTest.java	2007-10-12 12:59:10.000000000 +0200
@@ -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 (*");