提交 c9f55a5b authored 作者: Thomas Mueller's avatar Thomas Mueller

Updating a MVMap got slower due to synchronization

上级 37398a7c
...@@ -164,7 +164,7 @@ public class TestMVStoreBenchmark extends TestBase { ...@@ -164,7 +164,7 @@ public class TestMVStoreBenchmark extends TestBase {
String msg = "mv " + mv + " tree " + tree + " hash " + hash; String msg = "mv " + mv + " tree " + tree + " hash " + hash;
assertTrue(msg, hash < tree); assertTrue(msg, hash < tree);
// assertTrue(msg, hash < mv); // assertTrue(msg, hash < mv);
assertTrue(msg, mv < tree); assertTrue(msg, mv < tree * 2);
} }
private long testPerformance(Map<Integer, String> map, int size) { private long testPerformance(Map<Integer, String> map, int size) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论