Skip to content

Commit

Permalink
Fixing python benchmark continuous test (#10420)
Browse files Browse the repository at this point in the history
* Fixing bad syntax

* Revert runtime fix

* Second try at benchmarks
  • Loading branch information
mkruskal-google authored Aug 17, 2022
1 parent beb7bbf commit b39e9b3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions kokoro/linux/benchmark/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ set -ex
export OUTPUT_DIR=testoutput
repo_root="$(pwd)"

# Setup python virtual environment.
apt-get update -y
apt-get install -y --no-install-recommends python3 python3-venv
python3 -m venv venv
source venv/bin/activate
# Setup python environment.
pyenv install -v 3.9.5 -s
pyenv global 3.9.5
pyenv versions
python --version
python -m venv "venv"
source "venv/bin/activate"

# TODO(jtattermusch): Add back support for benchmarking with tcmalloc for C++ and python.
# This feature was removed since it used to use tcmalloc from https://github.com/gperftools/gperftools.git
Expand Down

0 comments on commit b39e9b3

Please sign in to comment.