• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  num_classes: &num_classes
25    - 100
26    - 250
27    - 1000
28
29benchmarks:
30  - name: "fruit_single_file_compile_time"
31    num_bindings:
32      - 20
33      - 80
34      - 320
35    compiler: *compilers
36    cxx_std: "c++11"
37    additional_cmake_args:
38      - []
39    benchmark_generation_flags:
40      - []
41
42  - name:
43      - "fruit_compile_time"
44      - "fruit_compile_memory"
45      - "fruit_incremental_compile_time"
46      - "fruit_run_time"
47      - "fruit_startup_time"
48      - "fruit_startup_time_with_normalized_component"
49      - "fruit_executable_size"
50    loop_factor: 1.0
51    num_classes: *num_classes
52    compiler: *compilers
53    cxx_std: "c++11"
54    additional_cmake_args:
55      - []
56    benchmark_generation_flags:
57      - []
58
59  - name:
60      - "fruit_executable_size_without_exceptions_and_rtti"
61    loop_factor: 1.0
62    num_classes: *num_classes
63    compiler: *compilers
64    cxx_std: "c++11"
65    additional_cmake_args:
66      - ['-DCMAKE_CXX_FLAGS=-fno-exceptions -fno-rtti']
67    benchmark_generation_flags:
68      - []
69
70  - name:
71      - "fruit_compile_time"
72      - "fruit_compile_memory"
73      - "fruit_incremental_compile_time"
74      - "fruit_run_time"
75      - "fruit_startup_time"
76      - "fruit_startup_time_with_normalized_component"
77      - "fruit_executable_size"
78    loop_factor: 1.0
79    num_classes: *num_classes
80    compiler: *compilers
81    cxx_std: "c++11"
82    additional_cmake_args:
83      - ['-DFRUIT_USES_BOOST=False']
84      - ["-DBUILD_SHARED_LIBS=False"]
85    benchmark_generation_flags:
86      - []
87
88  - name:
89      - "fruit_executable_size_without_exceptions_and_rtti"
90    loop_factor: 1.0
91    num_classes: *num_classes
92    compiler: *compilers
93    cxx_std: "c++11"
94    additional_cmake_args:
95      - ['-DFRUIT_USES_BOOST=False', '-DCMAKE_CXX_FLAGS=-fno-exceptions -fno-rtti']
96      - ["-DBUILD_SHARED_LIBS=False", '-DCMAKE_CXX_FLAGS=-fno-exceptions -fno-rtti']
97    benchmark_generation_flags:
98      - []
99