Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mako benchmark config template file. #5200

Merged
merged 2 commits into from
Apr 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions build_tools/mako/config/benchmark_template.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Copyright 2021 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
#
# https://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.

# This template is used to define/update Mako benchmarks. The input_value_info
# and metric_info_list should be updated according to the purpose of the
# benchmark. The benchmark_name and description must be updated. The
# benchmark_key should not be added before creating the benchmark. You have to
# fill the server-generated key which is returned by the Mako tool.
#
# For more details, see:
# https://github.com/google/mako/blob/master/docs/GUIDE.md#preparing-your-benchmark

# benchmark_key: "TBD"
benchmark_name: "BENCHMARK_NAME (PHONE) (UNIT)"
project_name: "iree"

# Only owners can write to the benchmark
owner_list: "[email protected]"
owner_list: "[email protected]"

# Define the name and type for x-axis of run charts
input_value_info: {
value_key: "t"
label: "time"
type: NUMERIC
}

# Three metrics, define the names for y-axis values of both run and aggregate
# charts.
metric_info_list: {
value_key: "cpu"
label: "DYLib_AOT"
}
metric_info_list: {
value_key: "vmla"
label: "VMLA"
}
metric_info_list: {
value_key: "vlk"
label: "Vulkan-SPIRV"
}

description: "IREE Benchmark Template"