mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-08 17:40:49 +00:00
Disabled codec performance tests
Since those significantly delay unit test execution by generating huge amount of data used only for performance tests. Also it makes little sense running those on CI.
This commit is contained in:
parent
ae5a4f15d0
commit
5b1a3b24e5
@ -1239,23 +1239,6 @@ auto DDperformanceTestSequence()
|
|||||||
+ generateSeq<ValueType>(G(SameValueGenerator(42)), 0, times); // best
|
+ generateSeq<ValueType>(G(SameValueGenerator(42)), 0, times); // best
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTANTIATE_TEST_CASE_P(DoubleDelta,
|
|
||||||
CodecTest_Performance,
|
|
||||||
::testing::Combine(
|
|
||||||
::testing::Values(Codec("DoubleDelta")),
|
|
||||||
::testing::Values(
|
|
||||||
DDperformanceTestSequence<Int8 >(),
|
|
||||||
DDperformanceTestSequence<UInt8 >(),
|
|
||||||
DDperformanceTestSequence<Int16 >(),
|
|
||||||
DDperformanceTestSequence<UInt16>(),
|
|
||||||
DDperformanceTestSequence<Int32 >(),
|
|
||||||
DDperformanceTestSequence<UInt32>(),
|
|
||||||
DDperformanceTestSequence<Int64 >(),
|
|
||||||
DDperformanceTestSequence<UInt64>()
|
|
||||||
)
|
|
||||||
),
|
|
||||||
);
|
|
||||||
|
|
||||||
// prime numbers in ascending order with some random repitions hit all the cases of Gorilla.
|
// prime numbers in ascending order with some random repitions hit all the cases of Gorilla.
|
||||||
auto PrimesWithMultiplierGenerator = [](int multiplier = 1)
|
auto PrimesWithMultiplierGenerator = [](int multiplier = 1)
|
||||||
{
|
{
|
||||||
@ -1321,21 +1304,42 @@ INSTANTIATE_TEST_CASE_P(Gorilla,
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
INSTANTIATE_TEST_CASE_P(Gorilla,
|
// These 'tests' try to measure performance of encoding and decoding and hence only make sence to be run locally,
|
||||||
CodecTest_Performance,
|
// also they require pretty big data to run agains and generating this data slows down startup of unit test process.
|
||||||
::testing::Combine(
|
// So un-comment only at your discretion.
|
||||||
::testing::Values(Codec("Gorilla")),
|
|
||||||
::testing::Values(
|
//INSTANTIATE_TEST_CASE_P(DoubleDelta,
|
||||||
generatePyramidSequence<Int8 >(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
// CodecTest_Performance,
|
||||||
generatePyramidSequence<UInt8 >(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
// ::testing::Combine(
|
||||||
generatePyramidSequence<Int16 >(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
// ::testing::Values(Codec("DoubleDelta")),
|
||||||
generatePyramidSequence<UInt16>(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
// ::testing::Values(
|
||||||
generatePyramidSequence<Int32 >(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
// DDperformanceTestSequence<Int8 >(),
|
||||||
generatePyramidSequence<UInt32>(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
// DDperformanceTestSequence<UInt8 >(),
|
||||||
generatePyramidSequence<Int64 >(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
// DDperformanceTestSequence<Int16 >(),
|
||||||
generatePyramidSequence<UInt64>(42, G(PrimesWithMultiplierGenerator())) * 6'000
|
// DDperformanceTestSequence<UInt16>(),
|
||||||
)
|
// DDperformanceTestSequence<Int32 >(),
|
||||||
),
|
// DDperformanceTestSequence<UInt32>(),
|
||||||
);
|
// DDperformanceTestSequence<Int64 >(),
|
||||||
|
// DDperformanceTestSequence<UInt64>()
|
||||||
|
// )
|
||||||
|
// ),
|
||||||
|
//);
|
||||||
|
|
||||||
|
//INSTANTIATE_TEST_CASE_P(Gorilla,
|
||||||
|
// CodecTest_Performance,
|
||||||
|
// ::testing::Combine(
|
||||||
|
// ::testing::Values(Codec("Gorilla")),
|
||||||
|
// ::testing::Values(
|
||||||
|
// generatePyramidSequence<Int8 >(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
||||||
|
// generatePyramidSequence<UInt8 >(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
||||||
|
// generatePyramidSequence<Int16 >(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
||||||
|
// generatePyramidSequence<UInt16>(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
||||||
|
// generatePyramidSequence<Int32 >(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
||||||
|
// generatePyramidSequence<UInt32>(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
||||||
|
// generatePyramidSequence<Int64 >(42, G(PrimesWithMultiplierGenerator())) * 6'000,
|
||||||
|
// generatePyramidSequence<UInt64>(42, G(PrimesWithMultiplierGenerator())) * 6'000
|
||||||
|
// )
|
||||||
|
// ),
|
||||||
|
//);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user