• 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++-8"
23    - "clang++-6.0"
24  num_classes: &num_classes
25    - 100
26    - 1000
27
28benchmarks:
29  - name: "fruit_single_file_compile_time"
30    num_bindings:
31      - 20
32      - 80
33      - 320
34    compiler: *compilers
35    cxx_std: "c++11"
36    additional_cmake_args:
37      - []
38    benchmark_generation_flags:
39      - []
40
41  - name:
42      - "new_delete_run_time"
43      - "fruit_compile_time"
44      - "fruit_incremental_compile_time"
45      - "fruit_run_time"
46      - "fruit_executable_size"
47    loop_factor: 1.0
48    num_classes: *num_classes
49    compiler: *compilers
50    cxx_std: "c++11"
51    additional_cmake_args:
52      - []
53    benchmark_generation_flags:
54      - []
55
56  - name:
57      - "fruit_compile_time"
58      - "fruit_incremental_compile_time"
59      - "fruit_run_time"
60      - "fruit_executable_size"
61    loop_factor: 1.0
62    num_classes: *num_classes
63    compiler: *compilers
64    cxx_std: "c++11"
65    additional_cmake_args:
66      - ['-DFRUIT_USES_BOOST=False']
67      - ["-DBUILD_SHARED_LIBS=False"]
68    benchmark_generation_flags:
69      - []
70