Changes in Jenkinsfile [3221a2b:c6f1f3e]
- File:
-
- 1 edited
-
Jenkinsfile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r3221a2b rc6f1f3e 197 197 if( Settings.Publish && !Settings.RunBenchmark ) { echo 'No results to publish!!!' } 198 198 199 def groupCompile = new PlotGroup('Compilation', ' duration (s) - lower is better', true)200 def groupConcurrency = new PlotGroup('Concurrency', ' duration (n) - lower is better', false)199 def groupCompile = new PlotGroup('Compilation', 'seconds', true) 200 def groupConcurrency = new PlotGroup('Concurrency', 'nanoseconds', false) 201 201 202 202 //Then publish the results 203 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile' , groupCompile , false,'Compilation')204 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile .diff' , groupCompile , true , 'Compilation (relative)')205 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch' , groupConcurrency, false,'Context Switching')206 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch .diff', groupConcurrency, true , 'Context Switching (relative)')207 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex' , groupConcurrency, false,'Mutual Exclusion')208 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex .diff' , groupConcurrency, true , 'Mutual Exclusion (relative)')209 do_plot(Settings.RunBenchmark && Settings.Publish, 'signal' , groupConcurrency, false,'Internal and External Scheduling')210 do_plot(Settings.RunBenchmark && Settings.Publish, 'signal .diff' , groupConcurrency, true , 'Internal and External Scheduling (relative)')203 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile' , groupCompile , 'Compilation') 204 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile-diff' , groupCompile , 'Compilation Speed-Up') 205 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch' , groupConcurrency, 'Context Switching') 206 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch-diff', groupConcurrency, 'Context Switching Speed-Up') 207 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex' , groupConcurrency, 'Mutual Exclusion') 208 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex-diff' , groupConcurrency, 'Mutual Exclusion Speed-Up') 209 do_plot(Settings.RunBenchmark && Settings.Publish, 'signal' , groupConcurrency, 'Internal and External Scheduling') 210 do_plot(Settings.RunBenchmark && Settings.Publish, 'signal-diff' , groupConcurrency, 'Internal and External Scheduling Speed-Up') 211 211 } 212 212 } … … 466 466 } 467 467 468 def do_plot(boolean new_data, String file, PlotGroup group, boolean relative,String title) {468 def do_plot(boolean new_data, String file, PlotGroup group, String title) { 469 469 470 470 if(new_data) { … … 489 489 exclZero: false, 490 490 keepRecords: false, 491 logarithmic: !relative &&group.log,491 logarithmic: group.log, 492 492 numBuilds: '120', 493 493 useDescr: true,
Note:
See TracChangeset
for help on using the changeset viewer.