git-svn-id: http://code.alibabatech.com/svn/druid/trunk@392 b9813039-fb51-4c41-a8b9-e21c2acb5095

This commit is contained in:
wenshao
2011-07-13 01:42:47 +00:00
parent 26abac22c2
commit 736d0b3ce2
4 changed files with 38 additions and 6 deletions
@@ -42,7 +42,7 @@ public class Case3 extends TestCase {
public void test_perf() throws Exception {
for (int i = 0; i < 10; ++i) {
druid();
// druid();
dbcp();
}
}
@@ -66,6 +66,7 @@ public class Case3 extends TestCase {
for (int i = 0; i < TEST_COUNT; ++i) {
p0(dataSource, "druid", threadCount);
}
dataSource.close();
System.out.println();
}
@@ -88,7 +89,7 @@ public class Case3 extends TestCase {
for (int i = 0; i < TEST_COUNT; ++i) {
p0(dataSource, "dbcp", threadCount);
}
dataSource.close();
//dataSource.close();
System.out.println();
}