mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Benchmark was not loaded properly
This commit is contained in:
parent
02291d1464
commit
d0d4fde5ed
@ -190,7 +190,7 @@ def process_benchmark_results(args):
|
||||
results_root = os.path.join(benchmark_root, benchmark_kind, "results")
|
||||
for result in sorted(os.listdir(results_root)):
|
||||
result_file = os.path.join(results_root, result)
|
||||
logging.debug(f"Reading benchmark result from {result_file}")
|
||||
logging.info(f"Reading benchmark result from {result_file}")
|
||||
with open(result_file, "r") as f:
|
||||
result = json.loads(f.read())
|
||||
for item in result:
|
||||
|
@ -2,16 +2,27 @@ ClickHouse website is built alongside it's documentation via [docs/tools](https:
|
||||
|
||||
# How to quickly test the main page of the website
|
||||
|
||||
```
|
||||
# If you have old OS distribution,
|
||||
# Run this from repository root:
|
||||
|
||||
docker run -it --rm --network host --volume $(pwd):/workspace ubuntu:20.04 /bin/bash
|
||||
cd workspace/docs/tools
|
||||
apt update
|
||||
apt install sudo python pip git
|
||||
pip3 install -r requirements.txt
|
||||
git config --global --add safe.directory /workspace
|
||||
./build.py --skip-multi-page --skip-blog --skip-docs --livereload 8080
|
||||
```
|
||||
|
||||
```
|
||||
cd ../docs/tools
|
||||
sudo apt install python-3 pip
|
||||
pip3 install -r requirements.txt
|
||||
|
||||
# This is needed only when documentation is included
|
||||
sudo npm install -g purify-css amphtml-validator
|
||||
virtualenv build
|
||||
|
||||
./build.py --skip-multi-page --skip-single-page --skip-amp --skip-blog --skip-git-log --skip-docs --livereload 8080
|
||||
./build.py --skip-multi-page --skip-blog --skip-docs --livereload 8080
|
||||
|
||||
# Open the web browser and go to http://localhost:8080/
|
||||
```
|
||||
@ -19,11 +30,11 @@ virtualenv build
|
||||
# How to quickly test the blog
|
||||
|
||||
```
|
||||
./build.py --skip-multi-page --skip-single-page --skip-amp --skip-git-log --skip-docs --livereload 8080
|
||||
./build.py --skip-multi-page --skip-docs --livereload 8080
|
||||
```
|
||||
|
||||
# How to quickly test the broken links in docs
|
||||
|
||||
```
|
||||
./build.py --skip-multi-page --skip-amp --skip-blog --skip-git-log --lang en --livereload 8080
|
||||
./build.py --skip-multi-page --skip-blog --lang en --livereload 8080
|
||||
```
|
||||
|
@ -48,7 +48,7 @@
|
||||
[0.261, 0.237, 0.231],
|
||||
[0.029, 0.013, 0.014],
|
||||
[0.017, 0.013, 0.011],
|
||||
[0.003, 0.002, 0.003],
|
||||
[0.003, 0.002, 0.003]
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user