mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
dbms: updated test [#CONV-8661].
This commit is contained in:
parent
861ae81325
commit
8d8b96480b
@ -25,7 +25,7 @@ int main(int argc, char ** argv)
|
|||||||
{
|
{
|
||||||
Stopwatch watch;
|
Stopwatch watch;
|
||||||
CachedCompressedReadBuffer in(path, 0, cache);
|
CachedCompressedReadBuffer in(path, 0, cache);
|
||||||
WriteBufferFromFile out("1.tsv");
|
WriteBufferFromFile out("/dev/null");
|
||||||
copyData(in, out);
|
copyData(in, out);
|
||||||
|
|
||||||
std::cerr << "Elapsed: " << watch.elapsedSeconds() << std::endl;
|
std::cerr << "Elapsed: " << watch.elapsedSeconds() << std::endl;
|
||||||
@ -37,7 +37,7 @@ int main(int argc, char ** argv)
|
|||||||
{
|
{
|
||||||
Stopwatch watch;
|
Stopwatch watch;
|
||||||
CachedCompressedReadBuffer in(path, 0, cache);
|
CachedCompressedReadBuffer in(path, 0, cache);
|
||||||
WriteBufferFromFile out("2.tsv");
|
WriteBufferFromFile out("/dev/null");
|
||||||
copyData(in, out);
|
copyData(in, out);
|
||||||
|
|
||||||
std::cerr << "Elapsed: " << watch.elapsedSeconds() << std::endl;
|
std::cerr << "Elapsed: " << watch.elapsedSeconds() << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user