This commit is contained in:
kamhung
2015-12-02 15:38:21 +08:00
parent d9bb644618
commit 9e690da45f

View File

@@ -5,8 +5,7 @@
*/ */
package com.wentch.redkale.test.source; package com.wentch.redkale.test.source;
import com.wentch.redkale.source.DataSource; import com.wentch.redkale.source.*;
import com.wentch.redkale.source.DataSourceFactory;
/** /**
* *
@@ -16,7 +15,7 @@ public class JDBCTest {
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
System.setProperty("persist.type", "jdbc"); System.setProperty("persist.type", "jdbc");
DataSource source = DataSourceFactory.create(); //耗时37415 DataSource source = new DataDefaultSource(); //耗时37415
int count = 1000; int count = 1000;
LoginTestRecord last = null; LoginTestRecord last = null;
long s = System.currentTimeMillis(); long s = System.currentTimeMillis();