mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Merge pull request #16343 from ClickHouse/fix-perf-test-functions-logical
Fix performance test "functions logical" after move to clang
This commit is contained in:
commit
abb9b25fa0
@ -290,10 +290,9 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
/// Apply target function by feeding it "batches" of N columns
|
/// Apply target function by feeding it "batches" of N columns
|
||||||
/// Combining 10 columns per pass is the fastest for large columns sizes.
|
/// Combining 8 columns per pass is the fastest method, because it's the maximum when clang vectorizes a loop.
|
||||||
/// For small columns sizes - more columns is faster.
|
|
||||||
template <
|
template <
|
||||||
typename Op, template <typename, size_t> typename OperationApplierImpl, size_t N = 10>
|
typename Op, template <typename, size_t> typename OperationApplierImpl, size_t N = 8>
|
||||||
struct OperationApplier
|
struct OperationApplier
|
||||||
{
|
{
|
||||||
template <typename Columns, typename ResultData>
|
template <typename Columns, typename ResultData>
|
||||||
|
Loading…
Reference in New Issue
Block a user