mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add jmx support
This commit is contained in:
@@ -8,7 +8,7 @@ public class WallBenchmarkTest extends TestCase {
|
||||
|
||||
MySqlWallProvider provider = new MySqlWallProvider();
|
||||
|
||||
public final static int COUNT = 1000 * 1;
|
||||
public final static int COUNT = 1000 * 1000;
|
||||
|
||||
public void test_0() throws Exception {
|
||||
String sql = "select * from t";
|
||||
@@ -23,7 +23,7 @@ public class WallBenchmarkTest extends TestCase {
|
||||
|
||||
public void perf(String sql) {
|
||||
for (int i = 0; i < COUNT; ++i) {
|
||||
provider.check(sql + " WHERE FID = " + i);
|
||||
provider.check(sql);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user