-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,42 @@ | ||
# Result Visualization | ||
|
||
> [!NOTE] | ||
> Before proceeding with result visualization, you need to test and obtain some **result files** according to the process in [step-by-step-guide-for-benchmark.md](./step-by-step-guide-for-benchmark.md) | ||
## Preparation | ||
|
||
### Gather Test Results | ||
|
||
 | ||
|
||
### Clone Our Benchmark Repo | ||
|
||
```shell | ||
git clone [email protected]:myscale/benchmark.git | ||
``` | ||
|
||
## Handle Test Results | ||
|
||
### Step1. Update Monthly Cost | ||
|
||
The test results do not include the price of the cluster you tested, so you need to manually add the monthly price to the test results. | ||
You can modify the specific price information within the [script](../scripts/handle_price.py) | ||
|
||
```shell | ||
cd vector-db-benchmark/scripts | ||
python3 handle_price.py | ||
``` | ||
|
||
### Step2. Generate `benchmark.json` | ||
|
||
```shell | ||
cd vector-db-benchmark/scripts | ||
python3 process_result_files.py | ||
``` | ||
|
||
Then you will get a json file named `benchmark.json`, please replace [old_benchmark.json](https://github.com/myscale/benchmark/blob/main/public/benchmark.json) with your new `benchmark.json`. | ||
## View Plotly Chart | ||
|
||
## View Plotly Chart | ||
|
||
Please start your website according to the [readme](https://github.com/myscale/benchmark/blob/main/README.md), each result file corresponds one-to-one with a point in the scatter plot. | ||
 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.