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
15# This file is a simplified version of fruit_wiki_benchs_{fruit,boost_di}.yml used to debug benchmarking code.
16# When using this, the benchmarks will run much faster, but the results will be unreliable and incomplete.
17
18global:
19  max_runs: 20
20  max_hours_per_combination: 2
21
22# These values are ignored, they are here just to be referenced below.
23constants:
24  compilers: &compilers
25    - "g++-9"
26    - "clang++-10"
27  num_classes: &num_classes
28    - 100
29
30benchmarks:
31  - name:
32    - "new_delete_run_time"
33    - "simple_di_compile_time"
34    - "simple_di_compile_memory"
35    - "simple_di_incremental_compile_time"
36    - "simple_di_run_time"
37    - "simple_di_startup_time"
38    - "simple_di_executable_size"
39    - "simple_di_with_interfaces_compile_time"
40    - "simple_di_with_interfaces_compile_memory"
41    - "simple_di_with_interfaces_incremental_compile_time"
42    - "simple_di_with_interfaces_run_time"
43    - "simple_di_with_interfaces_startup_time"
44    - "simple_di_with_interfaces_executable_size"
45    - "simple_di_with_interfaces_and_new_delete_compile_time"
46    - "simple_di_with_interfaces_and_new_delete_compile_memory"
47    - "simple_di_with_interfaces_and_new_delete_incremental_compile_time"
48    - "simple_di_with_interfaces_and_new_delete_run_time"
49    - "simple_di_with_interfaces_and_new_delete_startup_time"
50    - "simple_di_with_interfaces_and_new_delete_executable_size"
51    loop_factor: 1.0
52    num_classes:
53      - 100
54    compiler: *compilers
55    cxx_std: "c++11"
56    additional_cmake_args:
57      - []
58    benchmark_generation_flags:
59      - []
60
61  - name:
62    - "simple_di_executable_size_without_exceptions_and_rtti"
63    - "simple_di_with_interfaces_executable_size_without_exceptions_and_rtti"
64    - "simple_di_with_interfaces_and_new_delete_executable_size_without_exceptions_and_rtti"
65    loop_factor: 1.0
66    num_classes:
67      - 100
68    compiler: *compilers
69    cxx_std: "c++11"
70    additional_cmake_args:
71      - ['-DCMAKE_CXX_FLAGS=-fno-exceptions -fno-rtti']
72    benchmark_generation_flags:
73      - []
74