dbms: updated test [#CONV-8661].

This commit is contained in:
Alexey Milovidov 2013-09-09 02:23:36 +00:00
parent 861ae81325
commit 8d8b96480b

View File

@ -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;