-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Storage: Move benchwrapper directory into 'tests/perf/'. (#9246)
- Loading branch information
Showing
8 changed files
with
352 additions
and
288 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,21 @@ | ||
# storage benchwrapp | ||
|
||
main.py is a gRPC wrapper around the storage library for benchmarking purposes. | ||
|
||
## Running | ||
|
||
```bash | ||
$ export STORAGE_EMULATOR_HOST=http://localhost:8080 | ||
$ pip install grpcio | ||
$ cd storage | ||
$ pip install -e . # install google.cloud.storage locally | ||
$ cd tests/perf | ||
$ python3 benchwrapper.py --port 8081 | ||
``` | ||
|
||
## Re-generating protos | ||
|
||
```bash | ||
$ pip install grpcio-tools | ||
$ python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. *.proto | ||
``` |
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
File renamed without changes.
Oops, something went wrong.