Search in sources :

Example 1 with FlatDiff

use of com.insightfullogic.honest_profiler.core.aggregation.result.diff.FlatDiff in project honest-profiler by jvm-profiling-tools.

the class FlatDiffAggregatorTest method testScenario.

// Actual Test Method
@Test
public void testScenario() {
    FlatGenerator baseGen;
    FlatGenerator newGen;
    baseGen = new FlatGenerator(threadGrouping, frameGrouping);
    baseScenario.executeAndEnd(baseGen);
    newGen = new FlatGenerator(threadGrouping, frameGrouping);
    newScenario.executeAndEnd(newGen);
    FlatDiff diff = new FlatDiff();
    diff.set(baseGen.getFlat(), newGen.getFlat());
    baseScenario.checkFlatDiffAggregation(newScenario, new FlatDiffCheckAdapter(diff));
}
Also used : FlatDiff(com.insightfullogic.honest_profiler.core.aggregation.result.diff.FlatDiff) FlatDiffCheckAdapter(com.insightfullogic.honest_profiler.framework.checker.FlatDiffCheckAdapter) FlatGenerator(com.insightfullogic.honest_profiler.framework.generator.FlatGenerator) Test(org.junit.Test)

Example 2 with FlatDiff

use of com.insightfullogic.honest_profiler.core.aggregation.result.diff.FlatDiff in project honest-profiler by jvm-profiling-tools.

the class FlatDiffViewController method initialize.

// FXML Implementation
@Override
@FXML
protected void initialize() {
    diff = new FlatDiff();
    super.initialize(DIFFENTRY);
    super.initializeFiltering(filterController, filterButton, quickFilterButton, quickFilterText);
    super.initializeGrouping(threadGroupingLabel, threadGrouping, frameGroupingLabel, frameGrouping);
    super.initializeColumnView(columnViewButton);
    createColumnSets();
}
Also used : FlatDiff(com.insightfullogic.honest_profiler.core.aggregation.result.diff.FlatDiff) FXML(javafx.fxml.FXML)

Aggregations

FlatDiff (com.insightfullogic.honest_profiler.core.aggregation.result.diff.FlatDiff)2 FlatDiffCheckAdapter (com.insightfullogic.honest_profiler.framework.checker.FlatDiffCheckAdapter)1 FlatGenerator (com.insightfullogic.honest_profiler.framework.generator.FlatGenerator)1 FXML (javafx.fxml.FXML)1 Test (org.junit.Test)1