1# Copyright 2016 Google Inc. All Rights Reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS-IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15global:
16  max_runs: 20
17  max_hours_per_combination: 2
18
19# These values are ignored, they are here just to be referenced below.
20constants:
21  compilers: &compilers
22    - "g++-9"
23    - "clang++-10"
24
25benchmarks:
26  - name:
27      - "boost_di_compile_time"
28      - "boost_di_compile_memory"
29      - "boost_di_incremental_compile_time"
30      - "boost_di_run_time"
31      - "boost_di_startup_time"
32      - "boost_di_executable_size"
33    loop_factor: 1.0
34    num_classes:
35      - 100
36      - 250
37      - 1000
38    compiler: *compilers
39    cxx_std: "c++14"
40    additional_cmake_args:
41      - []
42    benchmark_generation_flags:
43      - []
44
45  - name:
46      - "boost_di_executable_size_without_exceptions_and_rtti"
47    loop_factor: 1.0
48    num_classes:
49      - 100
50      - 250
51      - 1000
52    compiler: *compilers
53    cxx_std: "c++14"
54    additional_cmake_args:
55      - ['-DCMAKE_CXX_FLAGS=-fno-exceptions -fno-rtti']
56    benchmark_generation_flags:
57      - []
58
59