DataPoint[] points = new DataPoint[2];
Map<Dimension, Scalar> map = new HashMap<Dimension, Scalar>();
map.put(Dimension.CPU_TIME, new Scalar((Dim) Dimension.CPU_TIME, 0));
points[0] = new DataPoint(0, map);
map = new HashMap<Dimension, Scalar>();
map.put(Dimension.CPU_TIME, new Scalar((Dim) Dimension.CPU_TIME, (long) performanceResult.getTime() * 1000));
points[1] = new DataPoint(1, map);
final Sample sample = new Sample(scenarioId, System.currentTimeMillis(), Collections.EMPTY_MAP, points);
sample.tagAsSummary(true, performanceResult.getName(), new Dimension[] {Dimension.CPU_TIME}, 0, null);
Variations variations = PerformanceTestPlugin.getVariations();
variations.put("browser", suiteName);