Changeset c6f1f3e
- Timestamp:
- Jul 31, 2019, 3:33:44 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0d92e5c
- Parents:
- 1d76f8a4
- Files:
-
- 10 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r1d76f8a4 rc6f1f3e 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
r1d76f8a4 rc6f1f3e 51 51 STATS = ${abs_top_srcdir}/tools/stat.py 52 52 repeats = 3 # 30 53 arch = x64 53 54 skipcompile = no 54 55 TIME_FORMAT = "%E" … … 99 100 @DOifskipcompile@ 100 101 @+make compile.csv 102 @-+make compile.diff.csv 101 103 @DOendif@ 102 104 @+make ctxswitch.csv 105 @-+make ctxswitch.diff.csv 103 106 @+make mutex.csv 107 @-+make mutex.diff.csv 104 108 @+make signal.csv 109 @-+make signal.diff.csv 105 110 @DOifskipcompile@ 106 @cat compile.csv 111 cat compile.csv 112 -cat compile.diff.csv 107 113 @DOendif@ 108 @cat ctxswitch.csv 109 @cat mutex.csv 110 @cat signal.csv 114 cat ctxswitch.csv 115 -cat ctxswitch.diff.csv 116 cat mutex.csv 117 -cat mutex.diff.csv 118 cat signal.csv 119 -cat signal.diff.csv 111 120 112 121 compile.csv: … … 142 151 @+make waitfor-cfa2.runquiet >> $@ 143 152 @$(srcdir)/fixcsv.sh $@ 153 154 %.diff.csv: %.csv 155 @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false) 156 @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@ 157 144 158 145 159 ## ========================================================================================================= -
benchmark/Makefile.in
r1d76f8a4 rc6f1f3e 397 397 STATS = ${abs_top_srcdir}/tools/stat.py 398 398 repeats = 3 # 30 399 arch = x64 399 400 skipcompile = no 400 401 TIME_FORMAT = "%E" … … 761 762 @DOifskipcompile@ 762 763 @+make compile.csv 764 @-+make compile.diff.csv 763 765 @DOendif@ 764 766 @+make ctxswitch.csv 767 @-+make ctxswitch.diff.csv 765 768 @+make mutex.csv 769 @-+make mutex.diff.csv 766 770 @+make signal.csv 771 @-+make signal.diff.csv 767 772 @DOifskipcompile@ 768 @cat compile.csv 773 cat compile.csv 774 -cat compile.diff.csv 769 775 @DOendif@ 770 @cat ctxswitch.csv 771 @cat mutex.csv 772 @cat signal.csv 776 cat ctxswitch.csv 777 -cat ctxswitch.diff.csv 778 cat mutex.csv 779 -cat mutex.diff.csv 780 cat signal.csv 781 -cat signal.diff.csv 773 782 774 783 compile.csv: … … 805 814 @$(srcdir)/fixcsv.sh $@ 806 815 816 %.diff.csv: %.csv 817 @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false) 818 @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@ 819 807 820 loop$(EXEEXT): 808 821 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
Note: See TracChangeset
for help on using the changeset viewer.