Commit | Line | Data |
---|---|---|
b3fc12e8 MJ |
1 | - defaults: |
2 | name: lttng-ust-benchmarks | |
3 | description: | | |
4 | ||
5 | <p>Job is managed by Jenkins Job Builder.</p> | |
6 | ||
7 | project-type: freestyle | |
8 | ||
9 | wrappers: | |
10 | - workspace-cleanup | |
11 | - timestamps | |
12 | - ansicolor | |
13 | ||
14 | scm: | |
15 | - git: | |
4d27af8f | 16 | url: https://github.com/{github_user}/{github_name}.git |
b3fc12e8 MJ |
17 | browser: githubweb |
18 | browser-url: https://github.com/{github_user}/{github_name} | |
19 | branches: | |
20 | - origin/{version} | |
21 | basedir: src/lttng-ust-benchmarks | |
22 | skip-tag: true | |
23 | ||
24 | triggers: | |
25 | - reverse: | |
26 | jobs: | |
d9e3cd99 MJ |
27 | - liburcu_master_linuxbuild |
28 | - lttng-tools_master_linuxbuild | |
29 | - lttng-ust_master_linuxbuild | |
b3fc12e8 MJ |
30 | result: 'success' |
31 | ||
32 | properties: | |
33 | - inject: | |
34 | properties-content: | | |
35 | PROJECT_NAME=lttng-ust-benchmarks | |
36 | - build-discarder: | |
3b228cdd MJ |
37 | num-to-keep: 10 |
38 | artifact-num-to-keep: 2 | |
b3fc12e8 MJ |
39 | - github: |
40 | url: https://github.com/{github_user}/{github_name} | |
41 | ||
42 | ||
43 | ## Templates | |
44 | - job-template: | |
45 | name: lttng-ust-benchmarks_{version}_{buildtype} | |
46 | defaults: lttng-ust-benchmarks | |
47 | ||
48 | project-type: freestyle | |
d9e3cd99 | 49 | node: deb12-amd64 |
b3fc12e8 MJ |
50 | |
51 | builders: | |
52 | - copyartifact: | |
d9e3cd99 | 53 | project: liburcu_master_linuxbuild/platform=deb12-amd64,build=std,conf=std |
b3fc12e8 | 54 | which-build: last-successful |
3522265a | 55 | stable: false |
b3fc12e8 MJ |
56 | filter: 'build/**' |
57 | target: 'deps/liburcu' | |
58 | do-not-fingerprint: true | |
59 | - copyartifact: | |
d9e3cd99 | 60 | project: babeltrace_{babeltrace_version}_linuxbuild/platform=deb12-amd64,build=std,conf=std |
b3fc12e8 | 61 | which-build: last-successful |
3522265a | 62 | stable: false |
b3fc12e8 MJ |
63 | filter: 'build/**' |
64 | target: 'deps/babeltrace' | |
65 | do-not-fingerprint: true | |
66 | - copyartifact: | |
d9e3cd99 | 67 | project: lttng-tools_master_linuxbuild/platform=deb12-amd64,babeltrace_version={babeltrace_version},build=std,conf=agents,liburcu_version=master |
b3fc12e8 | 68 | which-build: last-successful |
3522265a | 69 | stable: false |
b3fc12e8 MJ |
70 | filter: 'build/**' |
71 | target: 'deps/lttng-tools' | |
72 | do-not-fingerprint: true | |
73 | - copyartifact: | |
d9e3cd99 | 74 | project: lttng-ust_master_linuxbuild/platform=deb12-amd64,build=std,conf=std,liburcu_version=master/ |
b3fc12e8 | 75 | which-build: last-successful |
3522265a | 76 | stable: false |
b3fc12e8 MJ |
77 | filter: 'build/**' |
78 | target: 'deps/lttng-ust' | |
79 | do-not-fingerprint: true | |
80 | - shell: | |
81 | !include-raw-escape: scripts/lttng-ust-benchmarks/build.sh | |
82 | ||
83 | # TODO: Scan for open tasks | |
84 | publishers: | |
85 | - archive: | |
86 | artifacts: 'src/lttng-ust-benchmarks/benchmarks.json' | |
87 | allow-empty: false | |
88 | - plot: | |
89 | - title: Process Start Time Overhead (app with 1 TP) | |
90 | group: Benchmarks | |
91 | yaxis: s | |
92 | style: line | |
93 | series: | |
94 | - file: jenkins_plot_data/8_cpus.basic.tracing_disabled.start_overhead_s.properties | |
95 | format: properties | |
96 | - file: jenkins_plot_data/8_cpus.basic.tracing_enabled.start_overhead_s.properties | |
97 | format: properties | |
98 | - file: jenkins_plot_data/8_cpus.sha2.tracing_disabled.start_overhead_s.properties | |
99 | format: properties | |
100 | - file: jenkins_plot_data/8_cpus.sha2.tracing_enabled.start_overhead_s.properties | |
101 | format: properties | |
102 | - title: Event Overhead (app with 1 TP) | |
103 | group: Benchmarks | |
104 | yaxis: ns/event | |
105 | style: line | |
106 | series: | |
107 | - file: jenkins_plot_data/8_cpus.basic.tracing_disabled.ns_per_event.properties | |
108 | format: properties | |
109 | - file: jenkins_plot_data/8_cpus.basic.tracing_enabled.ns_per_event.properties | |
110 | format: properties | |
111 | - file: jenkins_plot_data/8_cpus.sha2.tracing_disabled.ns_per_event.properties | |
112 | format: properties | |
113 | - file: jenkins_plot_data/8_cpus.sha2.tracing_enabled.ns_per_event.properties | |
114 | format: properties | |
115 | label: SHA-256 benchmark (tracing enabled) | |
116 | - workspace-cleanup: | |
117 | clean-if: | |
118 | - failure: false | |
119 | - not-built: false | |
120 | ||
121 | ## Project | |
122 | - project: | |
123 | name: lttng-ust-benchmarks | |
98338d4c | 124 | github_user: lttng |
b3fc12e8 MJ |
125 | github_name: lttng-ust-benchmarks |
126 | version: | |
127 | - master | |
128 | jobs: | |
129 | - 'lttng-ust-benchmarks_{version}_{buildtype}': | |
d9e3cd99 | 130 | buildtype: linuxbuild |
5b3f523d | 131 | babeltrace_version: stable-2.0 |
b3fc12e8 | 132 |