| 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: |
| 16 | url: git://github.com/{github_user}/{github_name}.git |
| 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: |
| 27 | - liburcu_master_build |
| 28 | - lttng-tools_master_build |
| 29 | - lttng-ust_master_build |
| 30 | result: 'success' |
| 31 | |
| 32 | properties: |
| 33 | - inject: |
| 34 | properties-content: | |
| 35 | PROJECT_NAME=lttng-ust-benchmarks |
| 36 | - build-discarder: |
| 37 | num-to-keep: 7 |
| 38 | - github: |
| 39 | url: https://github.com/{github_user}/{github_name} |
| 40 | |
| 41 | |
| 42 | ## Templates |
| 43 | - job-template: |
| 44 | name: lttng-ust-benchmarks_{version}_{buildtype} |
| 45 | defaults: lttng-ust-benchmarks |
| 46 | |
| 47 | project-type: freestyle |
| 48 | node: amd64 |
| 49 | |
| 50 | builders: |
| 51 | - copyartifact: |
| 52 | project: liburcu_master_build/arch=amd64,build=std,conf=std |
| 53 | which-build: last-successful |
| 54 | stable: false |
| 55 | filter: 'build/**' |
| 56 | target: 'deps/liburcu' |
| 57 | do-not-fingerprint: true |
| 58 | - copyartifact: |
| 59 | project: babeltrace_{babeltrace_version}_build/arch=amd64,build=std,conf=std |
| 60 | which-build: last-successful |
| 61 | stable: false |
| 62 | filter: 'build/**' |
| 63 | target: 'deps/babeltrace' |
| 64 | do-not-fingerprint: true |
| 65 | - copyartifact: |
| 66 | project: lttng-tools_master_build/arch=amd64,babeltrace_version={babeltrace_version},build=std,conf=agents,liburcu_version=master,test_type=base |
| 67 | which-build: last-successful |
| 68 | stable: false |
| 69 | filter: 'build/**' |
| 70 | target: 'deps/lttng-tools' |
| 71 | do-not-fingerprint: true |
| 72 | - copyartifact: |
| 73 | project: lttng-ust_master_build/arch=amd64,build=std,conf=std,liburcu_version=master/ |
| 74 | which-build: last-successful |
| 75 | stable: false |
| 76 | filter: 'build/**' |
| 77 | target: 'deps/lttng-ust' |
| 78 | do-not-fingerprint: true |
| 79 | - shell: |
| 80 | !include-raw-escape: scripts/lttng-ust-benchmarks/build.sh |
| 81 | |
| 82 | # TODO: Scan for open tasks |
| 83 | publishers: |
| 84 | - archive: |
| 85 | artifacts: 'src/lttng-ust-benchmarks/benchmarks.json' |
| 86 | allow-empty: false |
| 87 | - plot: |
| 88 | - title: Process Start Time Overhead (app with 1 TP) |
| 89 | group: Benchmarks |
| 90 | yaxis: s |
| 91 | style: line |
| 92 | series: |
| 93 | - file: jenkins_plot_data/8_cpus.basic.tracing_disabled.start_overhead_s.properties |
| 94 | format: properties |
| 95 | - file: jenkins_plot_data/8_cpus.basic.tracing_enabled.start_overhead_s.properties |
| 96 | format: properties |
| 97 | - file: jenkins_plot_data/8_cpus.sha2.tracing_disabled.start_overhead_s.properties |
| 98 | format: properties |
| 99 | - file: jenkins_plot_data/8_cpus.sha2.tracing_enabled.start_overhead_s.properties |
| 100 | format: properties |
| 101 | - title: Event Overhead (app with 1 TP) |
| 102 | group: Benchmarks |
| 103 | yaxis: ns/event |
| 104 | style: line |
| 105 | series: |
| 106 | - file: jenkins_plot_data/8_cpus.basic.tracing_disabled.ns_per_event.properties |
| 107 | format: properties |
| 108 | - file: jenkins_plot_data/8_cpus.basic.tracing_enabled.ns_per_event.properties |
| 109 | format: properties |
| 110 | - file: jenkins_plot_data/8_cpus.sha2.tracing_disabled.ns_per_event.properties |
| 111 | format: properties |
| 112 | - file: jenkins_plot_data/8_cpus.sha2.tracing_enabled.ns_per_event.properties |
| 113 | format: properties |
| 114 | label: SHA-256 benchmark (tracing enabled) |
| 115 | - workspace-cleanup: |
| 116 | clean-if: |
| 117 | - failure: false |
| 118 | - not-built: false |
| 119 | |
| 120 | ## Project |
| 121 | - project: |
| 122 | name: lttng-ust-benchmarks |
| 123 | github_user: PSRCode |
| 124 | github_name: lttng-ust-benchmarks |
| 125 | version: |
| 126 | - master |
| 127 | jobs: |
| 128 | - 'lttng-ust-benchmarks_{version}_{buildtype}': |
| 129 | buildtype: build |
| 130 | babeltrace_version: stable-1.5 |
| 131 | |