grpc/tools/profiling
AJ Heller 4ea47d6ae3
Fix python3 performance tests - incomplete migration from python2 (#25734)
This fixes a crash in the grpc_performance_profile_* and grpc_e2e_performance_* tests.

Example failure: https://source.cloud.google.com/results/invocations/2112f2d5-db91-4901-87cb-cc9865f351f1/targets

The daily performance test passes with this fixit branch:
http://sponge2/23d4df20-f4dd-48ee-8789-4cd96b078ed5.

Additional fixes:

reorder imports according to the google style guide
replace deprecated cgi.escape library method with html.escape
In case it comes up, with respect to upgrading from py2 to py3, the iter{items,keys,values} methods are intentionally replaced with the less-efficient-in-python2 non-iter versions. This is a recommended practice even when supporting both python versions, and this is not performance-critical code.

Additional note: there is no performance difference btw py2 and py3 (~80 minutes to finish)
2021-03-16 16:49:30 -07:00
..
bloat Migrate the bm_diff benchmarks to python3 (#25619) 2021-03-09 15:44:00 +01:00
ios_bin Python3 ios_bin/binary_size.py 2020-11-12 18:48:46 -08:00
latency_profile Fix python3 performance tests - incomplete migration from python2 (#25734) 2021-03-16 16:49:30 -07:00
microbenchmarks Migrate the bm_diff benchmarks to python3 (#25619) 2021-03-09 15:44:00 +01:00
perf auto-fix most of licenses 2017-06-08 11:22:41 +02:00
qps Yapf all target python sources 2020-01-03 09:25:10 -08:00