ClickHouse/tests/performance/sum.xml
2020-11-27 15:08:42 +03:00

20 lines
1.3 KiB
XML

<test max_ignored_relative_change="0.2">
<query>SELECT sum(number) FROM numbers(100000000)</query>
<query>SELECT sum(toUInt32(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toUInt16(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toUInt8(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toFloat32(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toFloat64(number)) FROM numbers(100000000)</query>
<query>SELECT sumKahan(toFloat32(number)) FROM numbers(100000000)</query>
<query>SELECT sumKahan(toFloat64(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(toUInt32(number))) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(toUInt16(number))) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(toUInt8(number))) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(toFloat32(number))) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(toFloat64(number))) FROM numbers(100000000)</query>
<query>SELECT sumKahan(toNullable(toFloat32(number))) FROM numbers(100000000)</query>
<query>SELECT sumKahan(toNullable(toFloat64(number))) FROM numbers(100000000)</query>
</test>