diff --git a/dbms/tests/performance/float_parsing/float_parsing.xml b/dbms/tests/performance/float_parsing/float_parsing.xml new file mode 100644 index 0000000000000000000000000000000000000000..8fed28be6a2056f2dd0b1dc0e943847d280c6d05 --- /dev/null +++ b/dbms/tests/performance/float_parsing/float_parsing.xml @@ -0,0 +1,41 @@ + + float_parsing + once + + long + + + + + 10000 + + + 5000 + 20000 + + + + + + + + + + expr + + toString(1 / rand()) + toString(rand() / 0xFFFFFFFF) + toString(0xFFFFFFFF / rand()) + toString(number) + toString(number % 10) + toString(rand()) + toString(rand64()) + concat(toString(rand(1)), '.', toString(rand(2))) + concat(toString(rand(1)), 'e', toString(rand(2) % 100)) + concat(toString(rand64(1)), toString(rand64(2)), toString(rand64(3))) + + + + + SELECT count() FROM system.numbers WHERE NOT ignore(toFloat64({expr})) +