Changeset 4f3807d
- Timestamp:
- Jul 14, 2022, 4:57:30 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 847bb6f
- Parents:
- 1932e8a
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/FullBuild
r1932e8a r4f3807d 161 161 <p>${result}</p> 162 162 163 <p>- Performance ---------------------------------------------------------</p>164 165 <img src="https://cforall.uwaterloo.ca/jenkins/job/Cforall/job/master/plot/Compilation/getPlot?index=0" >166 <img src="https://cforall.uwaterloo.ca/jenkins/job/Cforall/job/master/plot/Compilation/getPlot?index=1" >167 168 163 <p>- Logs ----------------------------------------------------------------</p> 169 164 """ -
Jenkinsfile
r1932e8a r4f3807d 209 209 210 210 if( Settings.Publish && !Settings.RunBenchmark ) { echo 'No results to publish!!!' } 211 212 def groupCompile = new PlotGroup('Compilation', 'duration (s) - lower is better', true)213 def groupConcurrency = new PlotGroup('Concurrency', 'duration (n) - lower is better', false)214 215 //Then publish the results216 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile' , groupCompile , false, 'Compilation')217 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile.diff' , groupCompile , true , 'Compilation (relative)')218 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch' , groupConcurrency, false, 'Context Switching')219 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch.diff' , groupConcurrency, true , 'Context Switching (relative)')220 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex' , groupConcurrency, false, 'Mutual Exclusion')221 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex.diff' , groupConcurrency, true , 'Mutual Exclusion (relative)')222 do_plot(Settings.RunBenchmark && Settings.Publish, 'scheduling' , groupConcurrency, false, 'Internal and External Scheduling')223 do_plot(Settings.RunBenchmark && Settings.Publish, 'scheduling.diff', groupConcurrency, true , 'Internal and External Scheduling (relative)')224 211 } 225 212 } … … 376 363 this.GitNewRef = '' 377 364 this.GitOldRef = '' 378 }379 }380 381 class PlotGroup implements Serializable {382 public String name383 public String unit384 public boolean log385 386 PlotGroup(String name, String unit, boolean log) {387 this.name = name388 this.unit = unit389 this.log = log390 365 } 391 366 } … … 476 451 } 477 452 } 478 479 def do_plot(boolean new_data, String file, PlotGroup group, boolean relative, String title) {480 481 if(new_data) {482 echo "Publishing new data"483 }484 485 def series = new_data ? [[486 file: "${file}.csv",487 exclusionValues: '',488 displayTableFlag: false,489 inclusionFlag: 'OFF',490 url: ''491 ]] : [];492 493 echo "file is ${BuildDir}/benchmark/${file}.csv, group ${group}, title ${title}"494 dir("${BuildDir}/benchmark/") {495 plot csvFileName: "cforall-${env.BRANCH_NAME}-${file}.csv",496 csvSeries: series,497 group: "${group.name}",498 title: "${title}",499 style: 'lineSimple',500 exclZero: false,501 keepRecords: false,502 logarithmic: !relative && group.log,503 numBuilds: '120',504 useDescr: true,505 yaxis: group.unit,506 yaxisMaximum: '',507 yaxisMinimum: ''508 }509 }
Note: See TracChangeset
for help on using the changeset viewer.