datastore: Add intervals without check for node read
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Thu, 16 Feb 2017 20:56:28 +0000 (15:56 -0500)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Thu, 2 Mar 2017 20:03:33 +0000 (15:03 -0500)
commit4830649fcebe6acb944a9009e49b49ffc118edd4
tree251880719e0bc7d93497e642b8ef3ee066977573
parent2abec5dd6b714f1b693a632b534f9faf95ebe237
datastore: Add intervals without check for node read

When nodes are read from disk, we know the intervals fit into it, there
is no need to go through the code path that checks if the interval can
go in the node.

This change alone greatly reduces the performance impact of both single
and full queries for large state system, when nodes are often read from
disk.

Change-Id: If653611b00d56b604d23ddd1f6e62bb22f822da0
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/91756
Reviewed-by: Hudson CI
Reviewed-by: Loic Prieur-Drevon <loic.prieur.drevon@ericsson.com>
statesystem/org.eclipse.tracecompass.datastore.core/src/org/eclipse/tracecompass/internal/provisional/datastore/core/historytree/HTNode.java
This page took 0.026953 seconds and 5 git commands to generate.