aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorjgreene <jgreene@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2008-05-28 16:22:37 +0000
committerjgreene <jgreene@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2008-05-28 16:22:37 +0000
commit3ddcbaa6c71ce84e817529a3f88d52c47257afa2 (patch)
tree1ba548073cba338e4087ade87ce7d8213d3f3c2f /src/test
parent2500b08feb3a8623c977cbf7284a24c1d71e96cd (diff)
downloadjavassist-3ddcbaa6c71ce84e817529a3f88d52c47257afa2.tar.gz
javassist-3ddcbaa6c71ce84e817529a3f88d52c47257afa2.zip
Add performance info
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@440 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test/javassist/bytecode/analysis/ErrorFinder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test/javassist/bytecode/analysis/ErrorFinder.java b/src/test/test/javassist/bytecode/analysis/ErrorFinder.java
index a2128325..e131ffb9 100644
--- a/src/test/test/javassist/bytecode/analysis/ErrorFinder.java
+++ b/src/test/test/javassist/bytecode/analysis/ErrorFinder.java
@@ -52,9 +52,10 @@ public class ErrorFinder {
System.out.println("START: " + methodName);
Analyzer analyzer = new Analyzer();
+ long time = System.currentTimeMillis();
try {
analyzer.analyze(clazz, method.getMethodInfo2());
- System.out.println("SUCCESS: " + methodName);
+ System.out.println("SUCCESS: " + methodName + " - " + (System.currentTimeMillis() - time));
} catch (Exception e) {
System.out.println("FAIL: " + methodName + " - " + (e.getMessage() == null ? e.getClass().getName() : e.getMessage()));
}