drools-benchmarks-parent/drools-benchmarks/src/main/java/org/drools/benchmarks/turtle/runtime/CoincidesDuringFusionBenchmark.java [47:63]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @Benchmark
    public KieSession timeEventsInsertionAndRulesFiring() {
        return insertEventsAndFireAllRules();
    }

    private GeneratorConfiguration getGeneratorConfiguration() {
        final GeneratorConfiguration generatorConfiguration = new GeneratorConfiguration(
                100, 2, 0.1);
        generatorConfiguration.setPlaceHolders(getPlaceholders());
        return generatorConfiguration;
    }

    private List<PlaceHolder> getPlaceholders() {
        final List<PlaceHolder> placeHolders = new ArrayList<>();
        placeHolders.add(new PlaceHolder("time1", 3, 149, TimeUnit.MILLISECONDS));
        placeHolders.add(new PlaceHolder("time2", 3, 149, TimeUnit.MILLISECONDS));
        return placeHolders;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



drools-benchmarks-parent/drools-benchmarks/src/main/java/org/drools/benchmarks/turtle/runtime/FinishesFinishedbyFusionBenchmark.java [48:64]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @Benchmark
    public KieSession timeEventsInsertionAndRulesFiring() {
        return insertEventsAndFireAllRules();
    }

    private GeneratorConfiguration getGeneratorConfiguration() {
        final GeneratorConfiguration generatorConfiguration = new GeneratorConfiguration(
                100, 2, 0.1);
        generatorConfiguration.setPlaceHolders(getPlaceholders());
        return generatorConfiguration;
    }

    private List<PlaceHolder> getPlaceholders() {
        final List<PlaceHolder> placeHolders = new ArrayList<>();
        placeHolders.add(new PlaceHolder("time1", 3, 149, TimeUnit.MILLISECONDS));
        placeHolders.add(new PlaceHolder("time2", 3, 149, TimeUnit.MILLISECONDS));
        return placeHolders;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



