Add cursor benchmarks 40/72140/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 22 May 2018 02:05:33 +0000 (04:05 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 22 May 2018 07:01:20 +0000 (09:01 +0200)
commit8bcf90a3d856f5dfc3fd0a3ea3ecc79894be5c45
treea9991ed43b6db9a0a1395f13cd0f56bd9964f458
parent566291762714c10bab924e772269492b51f5ec04
Add cursor benchmarks

Cursor operations are supposedly more efficient as they do not need
to go through YangInstanceIdentifier. Add a microbenchmark to test
that theory.

Change-Id: Ic98b5219bfe5629b0edf6f4cbf8265695afa25f0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
benchmarks/src/main/java/org/opendaylight/yangtools/yang/data/impl/tree/InMemoryDataTreeBenchmark.java