Changes in / [61cfae2:0d92e5c]
- Files:
-
- 10 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r61cfae2 r0d92e5c 106 106 107 107 def build() { 108 // build_stage('Build', true) {109 // // Build outside of the src tree to ease cleaning110 // dir (BuildDir) {111 // //Configure the conpilation (Output is not relevant)112 // //Use the current directory as the installation target so nothing escapes the sandbox113 // //Also specify the compiler by hand114 // targets=""115 // if( Settings.RunAllTests || Settings.RunBenchmark ) {116 // targets="--with-target-hosts='host:debug,host:nodebug'"117 // } else {118 // targets="--with-target-hosts='host:debug'"119 // }120 121 // sh "${SrcDir}/configure CXX=${Settings.Compiler.CXX} CC=${Settings.Compiler.CC} ${Settings.Architecture.flags} ${targets} --quiet"122 123 // //Compile the project124 // sh 'make -j 8 --no-print-directory'125 // }126 // }127 128 108 debug = true 129 109 release = Settings.RunAllTests || Settings.RunBenchmark … … 195 175 dir (BuildDir) { 196 176 //Append bench results 197 sh "make --no-print-directory -C benchmark jenkins "177 sh "make --no-print-directory -C benchmark jenkins arch=${Settings.Architecture.name}" 198 178 } 199 179 } … … 221 201 222 202 //Then publish the results 223 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile' , groupCompile , 'Compilation') 224 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch', groupConcurrency, 'Context Switching') 225 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex' , groupConcurrency, 'Mutual Exclusion') 226 do_plot(Settings.RunBenchmark && Settings.Publish, 'signal' , groupConcurrency, 'Internal and External Scheduling') 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') 227 211 } 228 212 } -
benchmark/Makefile.am
r61cfae2 r0d92e5c 52 52 # NEED AT LEAST 4 DATA VALUES FOR BENCHMARKS BECAUSE THE MAX AND MIN VALUES ARE REMOVED 53 53 repeats = 5 # 31 for benchmarks 54 arch = x64 54 55 skipcompile = no 55 56 TIME_FORMAT = "%E" … … 100 101 @DOifskipcompile@ 101 102 @+make compile.csv 103 @-+make compile.diff.csv 102 104 @DOendif@ 103 105 @+make ctxswitch.csv 106 @-+make ctxswitch.diff.csv 104 107 @+make mutex.csv 108 @-+make mutex.diff.csv 105 109 @+make signal.csv 110 @-+make signal.diff.csv 106 111 @DOifskipcompile@ 107 @cat compile.csv 112 cat compile.csv 113 -cat compile.diff.csv 108 114 @DOendif@ 109 @cat ctxswitch.csv 110 @cat mutex.csv 111 @cat signal.csv 115 cat ctxswitch.csv 116 -cat ctxswitch.diff.csv 117 cat mutex.csv 118 -cat mutex.diff.csv 119 cat signal.csv 120 -cat signal.diff.csv 112 121 113 122 compile.csv: … … 143 152 @+make waitfor-cfa2.runquiet >> $@ 144 153 @$(srcdir)/fixcsv.sh $@ 154 155 %.diff.csv: %.csv 156 @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false) 157 @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@ 158 145 159 146 160 ## ========================================================================================================= -
benchmark/Makefile.in
r61cfae2 r0d92e5c 398 398 # NEED AT LEAST 4 DATA VALUES FOR BENCHMARKS BECAUSE THE MAX AND MIN VALUES ARE REMOVED 399 399 repeats = 5 # 31 for benchmarks 400 arch = x64 400 401 skipcompile = no 401 402 TIME_FORMAT = "%E" … … 762 763 @DOifskipcompile@ 763 764 @+make compile.csv 765 @-+make compile.diff.csv 764 766 @DOendif@ 765 767 @+make ctxswitch.csv 768 @-+make ctxswitch.diff.csv 766 769 @+make mutex.csv 770 @-+make mutex.diff.csv 767 771 @+make signal.csv 772 @-+make signal.diff.csv 768 773 @DOifskipcompile@ 769 @cat compile.csv 774 cat compile.csv 775 -cat compile.diff.csv 770 776 @DOendif@ 771 @cat ctxswitch.csv 772 @cat mutex.csv 773 @cat signal.csv 777 cat ctxswitch.csv 778 -cat ctxswitch.diff.csv 779 cat mutex.csv 780 -cat mutex.diff.csv 781 cat signal.csv 782 -cat signal.diff.csv 774 783 775 784 compile.csv: … … 806 815 @$(srcdir)/fixcsv.sh $@ 807 816 817 %.diff.csv: %.csv 818 @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false) 819 @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@ 820 808 821 loop$(EXEEXT): 809 822 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
Note: See TracChangeset
for help on using the changeset viewer.