Changes in / [0d92e5c:61cfae2]
- Files:
-
- 10 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r0d92e5c r61cfae2 106 106 107 107 def build() { 108 // build_stage('Build', true) { 109 // // Build outside of the src tree to ease cleaning 110 // dir (BuildDir) { 111 // //Configure the conpilation (Output is not relevant) 112 // //Use the current directory as the installation target so nothing escapes the sandbox 113 // //Also specify the compiler by hand 114 // 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 project 124 // sh 'make -j 8 --no-print-directory' 125 // } 126 // } 127 108 128 debug = true 109 129 release = Settings.RunAllTests || Settings.RunBenchmark … … 175 195 dir (BuildDir) { 176 196 //Append bench results 177 sh "make --no-print-directory -C benchmark jenkins arch=${Settings.Architecture.name}"197 sh "make --no-print-directory -C benchmark jenkins" 178 198 } 179 199 } … … 201 221 202 222 //Then publish the results 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') 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') 211 227 } 212 228 } -
benchmark/Makefile.am
r0d92e5c r61cfae2 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 = x6455 54 skipcompile = no 56 55 TIME_FORMAT = "%E" … … 101 100 @DOifskipcompile@ 102 101 @+make compile.csv 103 @-+make compile.diff.csv104 102 @DOendif@ 105 103 @+make ctxswitch.csv 106 @-+make ctxswitch.diff.csv107 104 @+make mutex.csv 108 @-+make mutex.diff.csv109 105 @+make signal.csv 110 @-+make signal.diff.csv111 106 @DOifskipcompile@ 112 cat compile.csv 113 -cat compile.diff.csv 107 @cat compile.csv 114 108 @DOendif@ 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 109 @cat ctxswitch.csv 110 @cat mutex.csv 111 @cat signal.csv 121 112 122 113 compile.csv: … … 152 143 @+make waitfor-cfa2.runquiet >> $@ 153 144 @$(srcdir)/fixcsv.sh $@ 154 155 %.diff.csv: %.csv156 @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false)157 @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@158 159 145 160 146 ## ========================================================================================================= -
benchmark/Makefile.in
r0d92e5c r61cfae2 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 = x64401 400 skipcompile = no 402 401 TIME_FORMAT = "%E" … … 763 762 @DOifskipcompile@ 764 763 @+make compile.csv 765 @-+make compile.diff.csv766 764 @DOendif@ 767 765 @+make ctxswitch.csv 768 @-+make ctxswitch.diff.csv769 766 @+make mutex.csv 770 @-+make mutex.diff.csv771 767 @+make signal.csv 772 @-+make signal.diff.csv773 768 @DOifskipcompile@ 774 cat compile.csv 775 -cat compile.diff.csv 769 @cat compile.csv 776 770 @DOendif@ 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 771 @cat ctxswitch.csv 772 @cat mutex.csv 773 @cat signal.csv 783 774 784 775 compile.csv: … … 815 806 @$(srcdir)/fixcsv.sh $@ 816 807 817 %.diff.csv: %.csv818 @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false)819 @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@820 821 808 loop$(EXEEXT): 822 809 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
Note: See TracChangeset
for help on using the changeset viewer.