Add an entrypoint for kokoro to run benchmarks. (#511)

This commit is contained in:
dlorenc 2019-01-08 17:26:16 -08:00 committed by GitHub
parent 5f6fbfe74f
commit 1b9e74334b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

18
benchmark.sh Normal file
View File

@ -0,0 +1,18 @@
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#!/bin/bash
set -ex
export BENCHMARK=true
./integration-test.sh