Commit Graph

19 Commits

Author SHA1 Message Date
Jan Tattermusch a923eff71f
Rename experimental benchmark job from "..._v2" to "..._gke_experimental" (#27869)
* make it obvious which gke benchmark script is experimental

* add cfg file for new kokoro jobs with a more fitting name

* update performance readme after renaming _v2 benchmark job

* fix typo
2021-11-02 05:52:02 -07:00
Jan Tattermusch b3a1f68606
Reorganize docs for end2end benchmarks (#27484)
* Reorganize docs for end2end benchmarks

* Update README.md

* Restore heading "gRPC OSS benchmarks" (#27646)

This heading is used in cross-references from other repositories and sites. Also fix formatting.

Co-authored-by: Paulo Castello da Costa <6579971+paulosjca@users.noreply.github.com>
2021-10-08 19:37:04 +02:00
Paulo Castello da Costa 28ec34ac68
Update README. (#26572)
Updates the README file for performance tests.
2021-06-30 16:39:18 -07:00
Paulo Castello da Costa 8c9f3c2b30
Update tools in preparation for load test timeouts. (#26505)
- Support multiline strings in template generation (as already supported in config generation, supporting roundtrip).
- Ignore substitution of variables that are set by the controller at runtime (`DRIVER_PORT`, `KILL_AFTER`, `POD_TIMEOUT`).
2021-06-21 12:06:30 -07:00
Paulo Castello da Costa e76afe5457
Update load test template and config generation. (#26398)
* Update load test template and config generation.

This change includes the following features and fixes:

* Add a script to generate load test examples.
* Update template generation logic to support round trip from configs to templates (handling of repeated clients and servers for the same language and of named clients and servers in source configs).
* Integrate safe language names from scenario config.
* Update template and config formatting (now that we generate in round trip).
* Fix shellcheck lint warnings.
* Update README.md.
2021-06-02 12:57:32 -07:00
Paulo Castello da Costa 28e73716c7
Support for multiple clients and other improvements in load test config generation. (#26350)
This change adds the following features and improvements to load test generation:

* Multiple client instances are supported by setting the option `--instances_per_client`.
* `python_asyncio` is supported as a separate language.
* `php` is renamed to `php7` to match the scenario language names.
* Client and server names are shortened by the introduction of an index (`0`, `1`, ... with an optional prefix). This index replaces the uuid added to pod names when no component name is specified.
* Driver pool and image substitution are added to template generation.
* Empty entries are removed from the final configuration.

NOTE: Controller is currently not respecting driver settings from configuration, so driver is still named with a uuid. This will be addressed separately.
2021-05-25 10:13:33 -07:00
AJ Heller 12372fb69f
Fix invalid argument in README example for loadtest_config.py (#26277)
This example crashes the driver process, since `bq_upload_result.py` expects
the `big_query_table` argument to have the format `<dataset name>.<table name>`.
The project ID is already encoded in the script.

```
+ python3 /src/code/tools/run_tests/performance/bq_upload_result.py --bq_result_table=grpc-testing.e2e_benchmarks.experimental_results_hork_x5
Traceback (most recent call last):
  File "/src/code/tools/run_tests/performance/bq_upload_result.py", line 177, in <module>
    dataset_id, table_id = args.bq_result_table.split('.', 2)
ValueError: too many values to unpack (expected 2)
```
2021-05-20 08:53:37 -07:00
Paulo Castello da Costa 44a4a2ea62
Fix typos and format of LoadTest generator output. (#26149)
This change fixes typos and makes minor changes to the format of the generated yaml files for LoadTest configuration (embedded scenarios end in newline, and element lists are indented). The templates generated earlier are also updated.
2021-05-03 00:07:20 -07:00
Paulo Castello da Costa 4c7bd972d3
Fix saving results to BigQuery from Kokoro in OSS benchmarks. (#26049) 2021-04-22 09:41:09 +02:00
Paulo Castello da Costa 16897e94d3
Delete duplicate paragraph and fix typos in README. (#26052) 2021-04-22 09:39:30 +02:00
Paulo Castello da Costa bb418da2b5
Run example benchmarks v2 test in continuous build. (#25976)
This commit includes the following changes:

1. A new load test template generator (loadtest_template.py) is added. The template generator combines existing configurations or templates for several languages into a single template that can be used to generate configurations for different languages or combinations of languages.

2. A basic template generated from the example tests in grpc/test-infra (loadtest_template_basic_all_languages.yaml) is added.

3. The load test config generator is updated to use the combined template.

4. An example run consisting of a single test (generated from the combined template) is added and set up to run continuously.
2021-04-20 21:50:35 -07:00
Paulo Castello da Costa 3ad2e3185f
LoadTest generator for OSS benchmarks framework. (#25781)
* LoadTest generator for OSS benchmarks framework.

This change adds a LoadTest configuration generator for the OSS
benchmarks framework. The output of the generator is a multipart
YAML file that specifies uniquely named LoadTest resources that
can be applied to a kubernetes cluster.

For the benchmarks framework, see  https://github.com/github/test-infra.
2021-04-06 15:19:17 -07:00
Patrice Chalin 891ca8a443 Guides links updates 2020-06-16 08:58:33 -04:00
Ben Reed 01457b2b5a
Add ignore android flag in performance README.md
The tools/run_tests/performance/README.md file provides an example to
run workers in Java.  However, this example does not work out of the
box, because the Java build requires an Android SDK. This change adds a
Gradle flag `-PskipAndroid=true` to the existing example, allowing it to
work as intended.

Signed-off-by: Ben Reed <benreed@google.com>
2020-01-30 14:17:10 -08:00
chentanjun 4ecc1fe6a4 fix the wrong word 2019-10-01 05:13:33 +08:00
Alexander Polcyn a2160f547f Wait a configurable amount of time for benchmark channels to become ready 2018-07-26 10:45:12 -07:00
Mehrdad Afshari bb3d95b643 Use https://grpc.io consistently as the canonical URL 2017-07-10 22:24:28 +00:00
Alexander Polcyn 679981069d add notes to build and run workers in different languages 2017-03-29 21:37:04 -07:00
Alexander Polcyn b9d9512d8a Doc perf tests 2017-03-29 10:13:20 -07:00