ss: cache TmfStateValue String creation
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 26 Feb 2016 18:48:00 +0000 (13:48 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 7 Jul 2016 18:44:07 +0000 (14:44 -0400)
commit36dfd3d1b55d04c31c87713d8383dcce37032787
tree0de1af01dde7d6fe66cbe0ebeff65b035fd2087c
parent1bc37054c93ecfe35866af876df6bf79840d2bb7
ss: cache TmfStateValue String creation

This patch adds a direct mapped cache to the TmfStateValue#newValueString
method. This method is used heavily in the Lttng Kernel State Provider.

Using KernelAnalysisBenchmark, this patch increases the performance by 5-10%

Change-Id: Ib0bece8eb606186086cbb4843944e438cf5fbf98
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/67455
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/statevalue/TmfStateValue.java
This page took 0.026002 seconds and 5 git commands to generate.