APISonar


jetbrains.exodus.TestUtil.time

> jetbrains > exodus > TestUtil > time
jetbrains APIs exodus APIs TestUtil APIs time APIs

Example 1
public void testRandomWrite() {
        shuffleKeys();
        final Database store = createTestStore();
        long time = TestUtil.time("Random write", new Runnable() {
            @Override
            public void run() {
                fillStore(store);
            }
        });
        if (myMessenger != null) {
            myMessenger.putValue("JERandomWriteTokyoTest", time);
        }
    }