Documentation ¶
Overview ¶
Package groupTests contains common tests for group stage.
Index ¶
- func RunBenchmarkStageBottomNValues(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageCountOfUnique(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageDateHourHistogram(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageDateWeekdayHistogram(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageFull(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageLengthsHistogram(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageMin(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageMinMaxAvgLength(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageMinMaxAvgValue(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageObjectIdAsDate(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageObjectIdAsDateHistograms(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageTopNValues(b *testing.B, stageFactory group.StageFactory)
- func RunBenchmarkStageValuesHistogram(b *testing.B, stageFactory group.StageFactory)
- func RunTestArrayLengthMinMaxAvg(t *testing.T, stageFactory group.StageFactory)
- func RunTestCountOfUniqueValues(t *testing.T, stageFactory group.StageFactory)
- func RunTestDateStatsTimezone(t *testing.T, stageFactory group.StageFactory)
- func RunTestDifferentTypesInField(t *testing.T, stageFactory group.StageFactory)
- func RunTestHourHistogram(t *testing.T, stageFactory group.StageFactory)
- func RunTestLengthHistogram(t *testing.T, stageFactory group.StageFactory)
- func RunTestLengthHistogramMaxRes(t *testing.T, stageFactory group.StageFactory)
- func RunTestMinimal(t *testing.T, stageFactory group.StageFactory)
- func RunTestObjectIdAsDate(t *testing.T, stageFactory group.StageFactory)
- func RunTestObjectLengthMinMaxAvg(t *testing.T, stageFactory group.StageFactory)
- func RunTestStringLengthMinMaxAvg(t *testing.T, stageFactory group.StageFactory)
- func RunTestValueBottomValues(t *testing.T, stageFactory group.StageFactory)
- func RunTestValueBottomValuesNGreaterThanNumberOfValues(t *testing.T, stageFactory group.StageFactory)
- func RunTestValueHistogram(t *testing.T, stageFactory group.StageFactory)
- func RunTestValueHistogramMaxRes(t *testing.T, stageFactory group.StageFactory)
- func RunTestValueMinMaxAvg(t *testing.T, stageFactory group.StageFactory)
- func RunTestValueTopValues(t *testing.T, stageFactory group.StageFactory)
- func RunTestValueTopValuesNGreaterThanNumberOfValues(t *testing.T, stageFactory group.StageFactory)
- func RunTestWeekdayHistogram(t *testing.T, stageFactory group.StageFactory)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunBenchmarkStageBottomNValues ¶
RunBenchmarkStageBottomNValues - tests speed of group stage with StoreBottomNValues option.
func RunBenchmarkStageCountOfUnique ¶
RunBenchmarkStageCountOfUnique - tests speed of group stage with StoreCountOfUnique option.
func RunBenchmarkStageDateHourHistogram ¶
RunBenchmarkStageDateHourHistogram - tests speed of group stage with StoreHourHistogram option.
func RunBenchmarkStageDateWeekdayHistogram ¶
RunBenchmarkStageDateWeekdayHistogram - tests speed of group stage with StoreWeekdayHistogram option.
func RunBenchmarkStageFull ¶
RunBenchmarkStageFull - tests speed of group stage with all options.
func RunBenchmarkStageLengthsHistogram ¶
RunBenchmarkStageLengthsHistogram - tests speed of group stage with LengthHistogramMaxRes option.
func RunBenchmarkStageMin ¶
RunBenchmarkStageMin - tests speed of group stage with minimal configuration.
func RunBenchmarkStageMinMaxAvgLength ¶
RunBenchmarkStageMinMaxAvgLength - tests speed of group stage with StoreMinMaxAvgLength option.
func RunBenchmarkStageMinMaxAvgValue ¶
RunBenchmarkStageMinMaxAvgValue - tests speed of group stage with StoreMinMaxAvgValue option.
func RunBenchmarkStageObjectIdAsDate ¶
RunBenchmarkStageObjectIdAsDate - tests speed of group stage with ProcessObjectIdAsDate option.
func RunBenchmarkStageObjectIdAsDateHistograms ¶
RunBenchmarkStageObjectIdAsDateHistograms - tests speed of group stage with ProcessObjectIdAsDate, StoreHourHistogram, ValueHistogramMaxRes, option.
func RunBenchmarkStageTopNValues ¶
RunBenchmarkStageTopNValues - tests speed of group stage with StoreTopNValues option.
func RunBenchmarkStageValuesHistogram ¶
RunBenchmarkStageValuesHistogram - tests speed of group stage with ValueHistogramMaxRes option.
func RunTestArrayLengthMinMaxAvg ¶
RunTestArrayLengthMinMaxAvg tests group stage with StoreMinMaxAvgLength option (array field).
func RunTestCountOfUniqueValues ¶
RunTestCountOfUniqueValues tests group stage with StoreCountOfUnique option.
func RunTestDateStatsTimezone ¶
RunTestDateStatsTimezone tests results of group stage with different timezones.
func RunTestDifferentTypesInField ¶
RunTestDifferentTypesInField tests group of two different types with same field name.
func RunTestHourHistogram ¶
RunTestHourHistogram tests results of StoreHourHistogram option.
func RunTestLengthHistogram ¶
RunTestLengthHistogram tests results of LengthHistogramMaxRes option.
func RunTestLengthHistogramMaxRes ¶
RunTestLengthHistogramMaxRes tests group stage with ValueHistogramMaxRes option.
func RunTestMinimal ¶
RunTestMinimal tests group stage with minimal configuration.
func RunTestObjectIdAsDate ¶
RunTestObjectIdAsDate tests group stage with ProcessObjectIdAsDate option.
func RunTestObjectLengthMinMaxAvg ¶
RunTestObjectLengthMinMaxAvg tests group stage with StoreMinMaxAvgLength option (object field).
func RunTestStringLengthMinMaxAvg ¶
RunTestStringLengthMinMaxAvg tests group stage with StoreMinMaxAvgLength option (string field).
func RunTestValueBottomValues ¶
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 ¶
RunTestValueHistogram tests results of ValueHistogramMaxRes option.
func RunTestValueHistogramMaxRes ¶
RunTestValueHistogramMaxRes tests group stage with ValueHistogramMaxRes option.
func RunTestValueMinMaxAvg ¶
RunTestValueMinMaxAvg tests group stage with StoreMinMaxAvgValue option.
func RunTestValueTopValues ¶
RunTestValueTopValues tests group stage with StoreTopNValues option.
func RunTestValueTopValuesNGreaterThanNumberOfValues ¶
RunTestValueTopValuesNGreaterThanNumberOfValues tests group stage with StoreTopNValues option + StoreTopNValues > number of values.
func RunTestWeekdayHistogram ¶
RunTestWeekdayHistogram tests results of StoreWeekdayHistogram option.
Types ¶
This section is empty.