提交 7163157b authored 作者: Thomas Mueller's avatar Thomas Mueller

Test MVTableEngine again

上级 260eb4f2
...@@ -233,7 +233,7 @@ java org.h2.test.TestAll timer ...@@ -233,7 +233,7 @@ java org.h2.test.TestAll timer
*/ */
; ;
private static final boolean MV_STORE = false; private static final boolean MV_STORE = true;
/** /**
* If the test should run with many rows. * If the test should run with many rows.
...@@ -477,7 +477,13 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1` ...@@ -477,7 +477,13 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
prof.stopCollecting(); prof.stopCollecting();
System.out.println(prof.getTop(3)); System.out.println(prof.getTop(3));
if (test.mvStore) { if (test.mvStore) {
prof = new Profiler();
prof.depth = 16;
prof.interval = 1;
prof.startCollecting();
TestPerformance.main("-init", "-db", "1", "-size", "1000"); TestPerformance.main("-init", "-db", "1", "-size", "1000");
prof.stopCollecting();
System.out.println(prof.getTop(3));
} }
// Recover.execute("data", null); // Recover.execute("data", null);
// RunScript.execute("jdbc:h2:data/test2", // RunScript.execute("jdbc:h2:data/test2",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论