mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
19 lines
866 B
Markdown
19 lines
866 B
Markdown
## ClickHouse performance tests
|
|
|
|
This directory contains `.xml`-files with performance tests for @akuzm tool.
|
|
|
|
### How to write performance test
|
|
|
|
First of all you should check existing tests don't cover your case. If there are no such tests than you should write your own.
|
|
|
|
You have to specify `preconditions`. It contains table names. Only `hits_100m_single`, `hits_10m_single`, `test.hits` are available in CI.
|
|
|
|
You can use `substitions`, `create`, `fill` and `drop` queries to prepare test. You can find examples in this folder.
|
|
|
|
Take into account, that these tests will run in CI which consists of 56-cores and 512 RAM machines. Queries will be executed much faster than on local laptop.
|
|
|
|
If your test continued more than 10 minutes, please, add tag `long` to have an opportunity to run all tests and skip long ones.
|
|
|
|
### How to run performance test
|
|
|
|
TODO @akuzm |