groupTests

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2017 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package groupTests contains common tests for group stage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunBenchmarkStageBottomNValues

func RunBenchmarkStageBottomNValues(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageBottomNValues - tests speed of group stage with StoreBottomNValues option.

func RunBenchmarkStageCountOfUnique

func RunBenchmarkStageCountOfUnique(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageCountOfUnique - tests speed of group stage with StoreCountOfUnique option.

func RunBenchmarkStageDateHourHistogram

func RunBenchmarkStageDateHourHistogram(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageDateHourHistogram - tests speed of group stage with StoreHourHistogram option.

func RunBenchmarkStageDateWeekdayHistogram

func RunBenchmarkStageDateWeekdayHistogram(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageDateWeekdayHistogram - tests speed of group stage with StoreWeekdayHistogram option.

func RunBenchmarkStageFull

func RunBenchmarkStageFull(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageFull - tests speed of group stage with all options.

func RunBenchmarkStageLengthsHistogram

func RunBenchmarkStageLengthsHistogram(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageLengthsHistogram - tests speed of group stage with LengthHistogramMaxRes option.

func RunBenchmarkStageMin

func RunBenchmarkStageMin(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageMin - tests speed of group stage with minimal configuration.

func RunBenchmarkStageMinMaxAvgLength

func RunBenchmarkStageMinMaxAvgLength(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageMinMaxAvgLength - tests speed of group stage with StoreMinMaxAvgLength option.

func RunBenchmarkStageMinMaxAvgValue

func RunBenchmarkStageMinMaxAvgValue(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageMinMaxAvgValue - tests speed of group stage with StoreMinMaxAvgValue option.

func RunBenchmarkStageObjectIdAsDate

func RunBenchmarkStageObjectIdAsDate(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageObjectIdAsDate - tests speed of group stage with ProcessObjectIdAsDate option.

func RunBenchmarkStageObjectIdAsDateHistograms

func RunBenchmarkStageObjectIdAsDateHistograms(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageObjectIdAsDateHistograms - tests speed of group stage with ProcessObjectIdAsDate, StoreHourHistogram, ValueHistogramMaxRes, option.

func RunBenchmarkStageTopNValues

func RunBenchmarkStageTopNValues(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageTopNValues - tests speed of group stage with StoreTopNValues option.

func RunBenchmarkStageValuesHistogram

func RunBenchmarkStageValuesHistogram(b *testing.B, stageFactory group.StageFactory)

RunBenchmarkStageValuesHistogram - tests speed of group stage with ValueHistogramMaxRes option.

func RunTestArrayLengthMinMaxAvg

func RunTestArrayLengthMinMaxAvg(t *testing.T, stageFactory group.StageFactory)

RunTestArrayLengthMinMaxAvg tests group stage with StoreMinMaxAvgLength option (array field).

func RunTestCountOfUniqueValues

func RunTestCountOfUniqueValues(t *testing.T, stageFactory group.StageFactory)

RunTestCountOfUniqueValues tests group stage with StoreCountOfUnique option.

func RunTestDateStatsTimezone

func RunTestDateStatsTimezone(t *testing.T, stageFactory group.StageFactory)

RunTestDateStatsTimezone tests results of group stage with different timezones.

func RunTestDifferentTypesInField

func RunTestDifferentTypesInField(t *testing.T, stageFactory group.StageFactory)

RunTestDifferentTypesInField tests group of two different types with same field name.

func RunTestHourHistogram

func RunTestHourHistogram(t *testing.T, stageFactory group.StageFactory)

RunTestHourHistogram tests results of StoreHourHistogram option.

func RunTestLengthHistogram

func RunTestLengthHistogram(t *testing.T, stageFactory group.StageFactory)

RunTestLengthHistogram tests results of LengthHistogramMaxRes option.

func RunTestLengthHistogramMaxRes

func RunTestLengthHistogramMaxRes(t *testing.T, stageFactory group.StageFactory)

RunTestLengthHistogramMaxRes tests group stage with ValueHistogramMaxRes option.

func RunTestMinimal

func RunTestMinimal(t *testing.T, stageFactory group.StageFactory)

RunTestMinimal tests group stage with minimal configuration.

func RunTestObjectIdAsDate

func RunTestObjectIdAsDate(t *testing.T, stageFactory group.StageFactory)

RunTestObjectIdAsDate tests group stage with ProcessObjectIdAsDate option.

func RunTestObjectLengthMinMaxAvg

func RunTestObjectLengthMinMaxAvg(t *testing.T, stageFactory group.StageFactory)

RunTestObjectLengthMinMaxAvg tests group stage with StoreMinMaxAvgLength option (object field).

func RunTestStringLengthMinMaxAvg

func RunTestStringLengthMinMaxAvg(t *testing.T, stageFactory group.StageFactory)

RunTestStringLengthMinMaxAvg tests group stage with StoreMinMaxAvgLength option (string field).

func RunTestValueBottomValues

func RunTestValueBottomValues(t *testing.T, stageFactory group.StageFactory)

RunTestValueBottomValues tests group stage with StoreBottomNValues option.

func RunTestValueBottomValuesNGreaterThanNumberOfValues

func RunTestValueBottomValuesNGreaterThanNumberOfValues(t *testing.T, stageFactory group.StageFactory)

RunTestValueBottomValuesNGreaterThanNumberOfValues tests group stage with StoreBottomNValues option + StoreBottomNValues > number of values.

func RunTestValueHistogram

func RunTestValueHistogram(t *testing.T, stageFactory group.StageFactory)

RunTestValueHistogram tests results of ValueHistogramMaxRes option.

func RunTestValueHistogramMaxRes

func RunTestValueHistogramMaxRes(t *testing.T, stageFactory group.StageFactory)

RunTestValueHistogramMaxRes tests group stage with ValueHistogramMaxRes option.

func RunTestValueMinMaxAvg

func RunTestValueMinMaxAvg(t *testing.T, stageFactory group.StageFactory)

RunTestValueMinMaxAvg tests group stage with StoreMinMaxAvgValue option.

func RunTestValueTopValues

func RunTestValueTopValues(t *testing.T, stageFactory group.StageFactory)

RunTestValueTopValues tests group stage with StoreTopNValues option.

func RunTestValueTopValuesNGreaterThanNumberOfValues

func RunTestValueTopValuesNGreaterThanNumberOfValues(t *testing.T, stageFactory group.StageFactory)

RunTestValueTopValuesNGreaterThanNumberOfValues tests group stage with StoreTopNValues option + StoreTopNValues > number of values.

func RunTestWeekdayHistogram

func RunTestWeekdayHistogram(t *testing.T, stageFactory group.StageFactory)

RunTestWeekdayHistogram tests results of StoreWeekdayHistogram option.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL