You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did a simple test to test the data reading performance, but the results were not as good as advertised. Is my testing method incorrect? What configuration items were missed?
try (ChronicleMap<Integer, NewsDetail> map = ChronicleMap
.of(Integer.class, NewsDetail.class)
.name("example")
.averageValue(detail)
.entries(1000000L)
.create()) {
for (int i = 0; i < 10000; i++) {
map.put(i, detail);
}
for (int i = 0; i < 10000; i++) {
map.getUsing(i, detail);
}
long start = System.currentTimeMillis();
for (int i = 0; i < 2000; i++) {
map.getUsing(i, detail);
}
System.out.println("duration: " + (System.currentTimeMillis() - start) + "ms");
}
duration: 171 ms
The text was updated successfully, but these errors were encountered:
I did a simple test to test the data reading performance, but the results were not as good as advertised. Is my testing method incorrect? What configuration items were missed?
The text was updated successfully, but these errors were encountered: