Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add performance tester #834

Merged
merged 30 commits into from Jun 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
842ebad
Add cmake rules for performance test launcher
zhkvia Jan 13, 2017
39c3054
Add base file for PerformanceTest
zhkvia Jan 13, 2017
fd307bf
Add command line options support
zhkvia Jan 20, 2017
17c7b2a
Extract settings and construct queries from config
zhkvia Jan 20, 2017
4e5362b
Replace raw pointers with Poco's AutoPtr
zhkvia Jan 24, 2017
1986ceb
Execute queries without terminate conditions
zhkvia Jan 31, 2017
c4c6960
Separate 'loop' queries execution from 'once'
zhkvia Feb 7, 2017
3568946
Add support for time criterions
zhkvia Feb 24, 2017
64a18f6
Rename read_{rows,bytes} to {rows,bytes}_read
zhkvia Mar 7, 2017
09ca5e0
Construct and output info at the end
zhkvia Mar 13, 2017
70fb951
Separate metrics output for queries
zhkvia Mar 27, 2017
dca1086
Refactoring
zhkvia Apr 7, 2017
26606a1
Dont print corrupted statistics
zhkvia Apr 7, 2017
c6f3524
Fix include
zhkvia May 5, 2017
73fa790
Use new RemoteBlockInputStream's interface
zhkvia May 5, 2017
f4c6219
Use new connectionPool inerface
zhkvia May 5, 2017
52849e7
Check metrics for execType
zhkvia May 5, 2017
0fb964b
Print all runs for one query first
zhkvia May 5, 2017
1c2b641
Code style
zhkvia May 5, 2017
086ef6e
Support directory as an input
zhkvia May 5, 2017
5fa4b5f
Support query in a file
zhkvia May 6, 2017
704a79e
Add support for skipping whitespaces
zhkvia May 6, 2017
3c6de6e
Use new IO functions interface
zhkvia May 6, 2017
733c74f
Always store queries in a vector
zhkvia May 6, 2017
54f9675
Add support for tests profiles
zhkvia May 7, 2017
100eba7
Print array of jsons for multiple tests run
zhkvia May 7, 2017
70e2fb7
Add filters for tests
zhkvia May 7, 2017
7f9e234
Support preconditions
zhkvia May 8, 2017
5994213
Output only specified metrics
zhkvia May 9, 2017
52b5f18
Code Review
zhkvia May 30, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions dbms/src/Client/CMakeLists.txt
Expand Up @@ -5,6 +5,9 @@ install (FILES config.xml DESTINATION ${CLICKHOUSE_ETC_DIR}/clickhouse-client CO
add_library (clickhouse-benchmark Benchmark.cpp)
target_link_libraries (clickhouse-benchmark dbms ${Boost_PROGRAM_OPTIONS_LIBRARY})

add_library (clickhouse-performance-test PerformanceTest.cpp)
target_link_libraries (clickhouse-performance-test dbms ${Boost_PROGRAM_OPTIONS_LIBRARY})

if (ENABLE_TESTS)
add_subdirectory (tests)
endif ()