-
Notifications
You must be signed in to change notification settings - Fork 7
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
1 parent
5391d2a
commit 4482374
Showing
6 changed files
with
390 additions
and
96 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
key,value,type | ||
95%latency(Del),0.000000,Double | ||
95%latency(Insert),299785.000000,Double | ||
QPS,549.637817,Double | ||
recall,1.000000,Double |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
### Simple benchmark tool under python | ||
|
||
Test basic outcomes of delete, insert and search vectors, the result looks like the following | ||
```shell | ||
key,value,type | ||
95%latency(Del),9426.000000,Double | ||
95%latency(Insert),139137.000000,Double | ||
QPS,644.554138,Double | ||
recall,0.001000,Double | ||
``` | ||
Advanced features like congestion and drop in C++ is not supported yet. Please make sure PyCandy is compliled and installed | ||
|
||
#### Command line | ||
```shell | ||
python3 main.py <your config file> | ||
``` | ||
### GUI (experimental) | ||
You should install PyQT first, by | ||
```shell | ||
pip PyQt5 | ||
``` | ||
Then, run the following | ||
```shell | ||
python3 mainWindow.py | ||
``` | ||
This GUI allows you to load config, modify some commom stream and batch settings, and run. If you don't load extra config, you can still use the basic field to assign and run. |
Oops, something went wrong.