Changes in benchmark/Makefile.am [dfda49f:abec2f8]
- File:
-
- 1 edited
-
benchmark/Makefile.am (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/Makefile.am
rdfda49f rabec2f8 11 11 ## Created On : Sun May 31 09:08:15 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Tue Mar 10 11:41:18 202014 ## Update Count : 25813 ## Last Modified On : Mon Jul 29 18:02:19 2019 14 ## Update Count : 54 15 15 ############################################################################### 16 16 … … 28 28 BENCH_V_CFA = $(__bench_v_CFA_$(__quiet)) 29 29 BENCH_V_CXX = $(__bench_v_CXX_$(__quiet)) 30 BENCH_V_GOC = $(__bench_v_GOC_$(__quiet)) 31 BENCH_V_JAVAC = $(__bench_v_JAVAC_$(__quiet)) 30 32 BENCH_V_UPP = $(__bench_v_UPP_$(__quiet)) 31 BENCH_V_GOC = $(__bench_v_GOC_$(__quiet))32 BENCH_V_PY = $(__bench_v_PY_$(__quiet))33 BENCH_V_RUSTC = $(__bench_v_RUSTC_$(__quiet))34 BENCH_V_NODEJS = $(__bench_v_NODEJS_$(__quiet))35 BENCH_V_JAVAC = $(__bench_v_JAVAC_$(__quiet))36 33 37 34 __quiet = verbose … … 39 36 __bench_v_CFA_quiet = @ 40 37 __bench_v_CXX_quiet = @ 38 __bench_v_GOC_quiet = @ 39 __bench_v_JAVAC_quiet = @ 41 40 __bench_v_UPP_quiet = @ 42 __bench_v_GOC_quiet = @43 __bench_v_RUSTC_quiet = @44 __bench_v_JAVAC_quiet = @45 41 __bench_v_CC_verbose = $(AM_V_CC) 46 42 __bench_v_CFA_verbose = $(AM_V_CFA) 47 43 __bench_v_CXX_verbose = $(AM_V_CXX) 44 __bench_v_GOC_verbose = $(AM_V_GOC) 45 __bench_v_JAVAC_verbose = $(AM_V_JAVAC) 48 46 __bench_v_UPP_verbose = $(AM_V_UPP) 49 __bench_v_GOC_verbose = $(AM_V_GOC)50 __bench_v_PY_verbose = $(AM_V_PY)51 __bench_v_RUSTC_verbose = $(AM_V_RUST)52 __bench_v_NODEJS_verbose = $(AM_V_NODEJS)53 __bench_v_JAVAC_verbose = $(AM_V_JAVAC)54 47 55 48 … … 58 51 STATS = ${abs_top_srcdir}/tools/stat.py 59 52 # NEED AT LEAST 4 DATA VALUES FOR BENCHMARKS BECAUSE THE MAX AND MIN VALUES ARE REMOVED 60 repeats = 13# 31 for benchmarks53 repeats = 5 # 31 for benchmarks 61 54 arch = x64 62 55 skipcompile = no … … 69 62 70 63 dummyC.c: 71 echo "int main() { return 0; }" > ${@}64 @echo "int main() { return 0; }" > ${@} 72 65 73 66 dummyCXX.cpp: 74 echo "int main() { return 0; }" > ${@} 75 76 .SILENT: # do not print recipe 67 @echo "int main() { return 0; }" > ${@} 68 77 69 .NOTPARALLEL: 78 .PHONY: jenkins cleancsv 79 80 ## ========================================================================================================= 81 82 all : basic$(EXEEXT) ctxswitch$(EXEEXT) mutex$(EXEEXT) schedint$(EXEEXT) schedext$(EXEEXT) creation$(EXEEXT) 83 84 basic_loop_DURATION = 15000000000 85 basic_function_DURATION = 10000000000 86 basic_tls_fetch_add_DURATION = 10000000000 87 basic_DURATION = 250000000 88 89 ctxswitch_pthread_DURATION = 25000000 90 ctxswitch_rust_thread_DURATION = $(ctxswitch_pthread_DURATION) 91 ctxswitch_cfa_generator_DURATION = 5000000000 92 ctxswitch_nodejs_await_DURATION = 5000000 93 ctxswitch_DURATION = 100000000 94 95 #mutex_java_DURATION = 10000000 96 mutex_DURATION = 50000000 97 98 schedint_pthread_DURATION = 1000000 99 schedint_java_DURATION = $(schedint_pthread_DURATION) 100 schedint_rust_DURATION = $(schedint_pthread_DURATION) 101 schedint_DURATION = 10000000 102 103 schedext_DURATION = 10000000 104 105 creation_pthread_DURATION = 250000 106 creation_rust_thread_DURATION = ${creation_pthread_DURATION} 107 creation_java_thread_DURATION = ${creation_pthread_DURATION} 108 creation_cfa_coroutine_DURATION = 100000000 109 creation_cfa_coroutine_eager_DURATION = 10000000 110 creation_cfa_generator_DURATION = 1000000000 111 creation_upp_coroutine_DURATION = ${creation_cfa_coroutine_eager_DURATION} 112 creation_cfa_thread_DURATION = 10000000 113 creation_upp_thread_DURATION = ${creation_cfa_thread_DURATION} 114 creation_DURATION = 10000000 70 .PHONY: compile.csv ctxswitch.csv mutex.csv signal.csv 71 72 ## ========================================================================================================= 73 all : ctxswitch$(EXEEXT) mutex$(EXEEXT) signal$(EXEEXT) waitfor$(EXEEXT) creation$(EXEEXT) 115 74 116 75 %.run : %$(EXEEXT) ${REPEAT} 117 rm -f .result.log 118 echo "------------------------------------------------------" 119 echo $< 120 ${REPEAT} ${repeats} -- ./a.out\ 121 $(if ${$(subst -,_,$(basename $@))_DURATION},\ 122 ${$(subst -,_,$(basename $@))_DURATION},\ 123 ${$(firstword $(subst -, ,$(basename $@)))_DURATION}) | tee -a .result.log 124 ${STATS} .result.log 125 echo "------------------------------------------------------" 126 rm -f a.out .result.log *.class 127 128 # ${REPEAT} ${repeats} -- /usr/bin/time -f "%Uu %Ss %Er %Mkb" ./a.out 76 @rm -f .result.log 77 @echo "------------------------------------------------------" 78 @echo $< 79 @${REPEAT} ${repeats} ./a.out | tee -a .result.log 80 @${STATS} .result.log 81 @echo "------------------------------------------------------" 82 @rm -f a.out .result.log *.class 129 83 130 84 %.runquiet : 131 +make $(basename $@) CFLAGS="-w" __quiet=quiet132 taskset -c 1 ./a.out133 rm -f a.out85 @+make $(basename $@) CFLAGS="-w" __quiet=quiet 86 @taskset -c 1 ./a.out 87 @rm -f a.out 134 88 135 89 %.make : 136 printf "${PRINT_FORMAT}" $(basename $(subst compile-,,$@))137 +/usr/bin/time -f ${TIME_FORMAT} make $(basename $@) 2>&190 @printf "${PRINT_FORMAT}" $(basename $(subst compile-,,$@)) 91 @+/usr/bin/time -f ${TIME_FORMAT} make $(basename $@) 2>&1 138 92 139 93 ${REPEAT} : 140 +make -C ${abs_top_builddir}/tools repeat94 @+make -C ${abs_top_builddir}/tools repeat 141 95 142 96 ## ========================================================================================================= … … 144 98 FIX_NEW_LINES = cat $@ | tr "\n" "\t" | sed -r 's/\t,/,/' | tr "\t" "\n" > $@ 145 99 146 cleancsv: 147 rm -f compile.csv basic.csv ctxswitch.csv mutex.csv scheduling.csv 148 149 jenkins$(EXEEXT): cleancsv 100 jenkins$(EXEEXT): 150 101 @DOifskipcompile@ 151 +make compile.csv152 -+make compile.diff.csv102 @+make compile.csv 103 @-+make compile.diff.csv 153 104 @DOendif@ 154 +make ctxswitch.csv155 -+make ctxswitch.diff.csv156 +make mutex.csv157 -+make mutex.diff.csv158 +make scheduling.csv159 -+make scheduling.diff.csv105 @+make ctxswitch.csv 106 @-+make ctxswitch.diff.csv 107 @+make mutex.csv 108 @-+make mutex.diff.csv 109 @+make signal.csv 110 @-+make signal.diff.csv 160 111 @DOifskipcompile@ 161 112 cat compile.csv … … 166 117 cat mutex.csv 167 118 -cat mutex.diff.csv 168 cat s cheduling.csv169 -cat s cheduling.diff.csv119 cat signal.csv 120 -cat signal.diff.csv 170 121 171 122 compile.csv: 172 echo "building $@" 173 echo "array,attributes,empty,expression,io,monitor,operators,typeof" > $@ 174 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-array.make >> $@ 175 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@ 176 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-empty.make >> $@ 177 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-expression.make >> $@ 178 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-io.make >> $@ 179 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-monitor.make >> $@ 180 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-operators.make >> $@ 181 +make TIME_FORMAT='%e' PRINT_FORMAT='' compile-typeof.make >> $@ 182 $(srcdir)/fixcsv.sh $@ 123 @echo "array,attributes,empty,expression,io,monitor,operators,typeof" > $@ 124 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-array.make >> $@ 125 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@ 126 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-empty.make >> $@ 127 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-expression.make >> $@ 128 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-io.make >> $@ 129 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-monitor.make >> $@ 130 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-operators.make >> $@ 131 @+make TIME_FORMAT='%e' PRINT_FORMAT='' compile-typeof.make >> $@ 132 @$(srcdir)/fixcsv.sh $@ 183 133 184 134 ctxswitch.csv: 185 echo "building $@" 186 echo "generator,coroutine,thread" > $@ 187 +make ctxswitch-cfa_generator.runquiet >> $@ && echo -n ',' >> $@ 188 +make ctxswitch-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@ 189 +make ctxswitch-cfa_thread.runquiet >> $@ 190 $(srcdir)/fixcsv.sh $@ 135 @echo "generator,coroutine,thread" > $@ 136 @+make ctxswitch-cfa_generator.runquiet >> $@ && echo -n ',' >> $@ 137 @+make ctxswitch-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@ 138 @+make ctxswitch-cfa_thread.runquiet >> $@ 139 @$(srcdir)/fixcsv.sh $@ 191 140 192 141 mutex.csv: 193 echo "building $@" 194 echo "1-monitor,2-monitor" > $@ 195 +make mutex-cfa1.runquiet >> $@ && echo -n ',' >> $@ 196 +make mutex-cfa2.runquiet >> $@ 197 $(srcdir)/fixcsv.sh $@ 198 199 scheduling.csv: 200 echo "building $@" 201 echo "schedint-1,schedint-2,schedext-1,schedext-2" > $@ 202 +make schedint-cfa1.runquiet >> $@ && echo -n ',' >> $@ 203 +make schedint-cfa2.runquiet >> $@ && echo -n ',' >> $@ 204 +make schedext-cfa1.runquiet >> $@ && echo -n ',' >> $@ 205 +make schedext-cfa2.runquiet >> $@ 206 $(srcdir)/fixcsv.sh $@ 142 @echo "1-monitor,2-monitor" > $@ 143 @+make mutex-cfa1.runquiet >> $@ && echo -n ',' >> $@ 144 @+make mutex-cfa2.runquiet >> $@ 145 @$(srcdir)/fixcsv.sh $@ 146 147 signal.csv: 148 @echo "signal-1,signal-2,waitfor-1,waitfor-2" > $@ 149 @+make signal-cfa1.runquiet >> $@ && echo -n ',' >> $@ 150 @+make signal-cfa2.runquiet >> $@ && echo -n ',' >> $@ 151 @+make waitfor-cfa1.runquiet >> $@ && echo -n ',' >> $@ 152 @+make waitfor-cfa2.runquiet >> $@ 153 @$(srcdir)/fixcsv.sh $@ 207 154 208 155 %.diff.csv: %.csv 209 test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false) 210 $(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@ 211 212 ## ========================================================================================================= 213 214 BASIC_DEPEND = \ 215 basic-loop.run \ 216 basic-function.run \ 217 basic-fetch_add.run \ 218 basic-ttst_lock.run \ 219 basic-tls-fetch_add.run 220 221 basic-loop$(EXEEXT): 222 $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/loop.c 223 224 basic-function$(EXEEXT): 225 $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/function.c 226 227 basic-fetch_add$(EXEEXT): 228 $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/fetch_add.c 229 230 basic-ttst_lock$(EXEEXT): 231 $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/ttst_lock.c 232 233 basic-tls-fetch_add$(EXEEXT): 234 $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/tls_fetch_add.c 235 236 basic$(EXEEXT): $(BASIC_DEPEND) 237 238 ## ========================================================================================================= 239 240 CTXSWITCH_DEPEND = \ 156 @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false) 157 @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@ 158 159 160 ## ========================================================================================================= 161 loop$(EXEEXT): 162 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c 163 164 function$(EXEEXT): 165 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c 166 167 fetch_add$(EXEEXT): 168 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000 $(srcdir)/fetch_add.c 169 170 ttst_lock$(EXEEXT): 171 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000 $(srcdir)/ttst_lock.c 172 173 tls-fetch_add$(EXEEXT): 174 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000 $(srcdir)/tls-fetch_add.c 175 176 ## ========================================================================================================= 177 CTXSWITCH_DEPEND = \ 178 loop.run \ 179 function.run \ 180 fetch_add.run \ 181 ttst_lock.run \ 182 tls-fetch_add.run \ 183 ctxswitch-pthread.run \ 241 184 ctxswitch-cfa_generator.run \ 242 185 ctxswitch-cfa_coroutine.run \ … … 245 188 ctxswitch-upp_coroutine.run \ 246 189 ctxswitch-upp_thread.run \ 247 ctxswitch-python_coroutine.run \ 248 ctxswitch-nodejs_coroutine.run \ 249 ctxswitch-nodejs_await.run \ 250 ctxswitch-goroutine_thread.run \ 251 ctxswitch-rust_thread.run \ 252 ctxswitch-nodejs_coroutine.run \ 253 ctxswitch-java_thread.run \ 254 ctxswitch-pthread.run 190 ctxswitch-goroutine.run \ 191 ctxswitch-java_thread.run 192 255 193 256 194 if WITH_LIBFIBRE 257 CTXSWITCH_DEPEND += \258 ctxswitch-kos_fibre.run \195 CTXSWITCH_DEPEND += \ 196 ctxswitch-kos_fibre.run \ 259 197 ctxswitch-kos_fibre2.run 198 260 199 261 200 ctxswitch-kos_fibre$(EXEEXT): … … 268 207 ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND) 269 208 209 ctxswitch-pthread$(EXEEXT): 210 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c 211 270 212 ctxswitch-cfa_generator$(EXEEXT): 271 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_gen.cfa213 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_gen.cfa 272 214 273 215 ctxswitch-cfa_coroutine$(EXEEXT): 274 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_cor.cfa216 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa 275 217 276 218 ctxswitch-cfa_thread$(EXEEXT): 277 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_thrd.cfa219 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa 278 220 279 221 ctxswitch-cfa_thread2$(EXEEXT): 280 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_thrd2.cfa222 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa 281 223 282 224 ctxswitch-upp_coroutine$(EXEEXT): 283 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/ctxswitch/upp_cor.cc225 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc 284 226 285 227 ctxswitch-upp_thread$(EXEEXT): 286 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/ctxswitch/upp_thrd.cc 287 288 ctxswitch-python_coroutine$(EXEEXT): 289 $(BENCH_V_PY)echo "#!/bin/sh" > a.out 290 echo "python3.7 $(srcdir)/ctxswitch/python_cor.py" >> a.out 291 chmod a+x a.out 292 293 ctxswitch-nodejs_coroutine$(EXEEXT): 294 $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out 295 echo "nodejs $(srcdir)/ctxswitch/node_cor.js" >> a.out 296 chmod a+x a.out 297 298 ctxswitch-nodejs_await$(EXEEXT): 299 $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out 300 echo "nodejs $(srcdir)/ctxswitch/node_await.js" >> a.out 301 chmod a+x a.out 302 303 ctxswitch-goroutine_thread$(EXEEXT): 228 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc 229 230 ctxswitch-goroutine$(EXEEXT): 304 231 $(BENCH_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go 305 306 ctxswitch-rust_thread$(EXEEXT):307 $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/ctxswitch/rust_thrd.rs308 232 309 233 ctxswitch-java_thread$(EXEEXT): 310 234 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java 311 echo "#!/bin/sh" > a.out 312 echo "java JavaThread" >> a.out 313 chmod a+x a.out 314 315 ctxswitch-pthread$(EXEEXT): 316 $(BENCH_V_CC)$(COMPILE) $(srcdir)/ctxswitch/pthreads.c 317 318 ## ========================================================================================================= 319 320 mutex$(EXEEXT) : \ 235 @echo "#!/bin/sh" > a.out 236 @echo "java JavaThread" >> a.out 237 @chmod a+x a.out 238 239 ## ========================================================================================================= 240 mutex$(EXEEXT) :\ 241 loop.run \ 242 function.run \ 243 fetch_add.run \ 244 mutex-pthread_lock.run \ 245 mutex-upp.run \ 321 246 mutex-cfa1.run \ 322 247 mutex-cfa2.run \ 323 248 mutex-cfa4.run \ 324 mutex-upp.run \ 325 mutex-go.run \ 326 mutex-rust.run \ 327 mutex-java.run \ 328 mutex-pthread.run 329 330 mutex-pthread$(EXEEXT): 331 $(BENCH_V_CC)$(COMPILE) $(srcdir)/mutex/pthreads.c 249 mutex-java_thread.run 250 251 mutex-pthread_lock$(EXEEXT): 252 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c 253 254 mutex-upp$(EXEEXT): 255 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc 332 256 333 257 mutex-cfa1$(EXEEXT): 334 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa1.cfa258 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa1.cfa 335 259 336 260 mutex-cfa2$(EXEEXT): 337 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa2.cfa261 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa2.cfa 338 262 339 263 mutex-cfa4$(EXEEXT): 340 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa4.cfa 341 342 mutex-upp$(EXEEXT): 343 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/mutex/upp.cc 344 345 mutex-go$(EXEEXT): 346 $(BENCH_V_GOC)go build -o a.out $(srcdir)/mutex/goroutine.go 347 348 mutex-rust$(EXEEXT): 349 $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/mutex/rust.rs 350 351 mutex-java$(EXEEXT): 264 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa4.cfa 265 266 mutex-java_thread$(EXEEXT): 352 267 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java 353 echo "#!/bin/sh" > a.out 354 echo "java JavaThread" >> a.out 355 chmod a+x a.out 356 357 ## ========================================================================================================= 358 359 schedint$(EXEEXT) : \ 360 schedint-cfa1.run \ 361 schedint-cfa2.run \ 362 schedint-cfa4.run \ 363 schedint-upp.run \ 364 schedint-rust.run \ 365 schedint-java.run \ 366 schedint-pthread.run 367 368 schedint-cfa1$(EXEEXT): 369 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa1.cfa 370 371 schedint-cfa2$(EXEEXT): 372 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa2.cfa 373 374 schedint-cfa4$(EXEEXT): 375 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa4.cfa 376 377 schedint-upp$(EXEEXT): 378 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/schedint/upp.cc 379 380 schedint-rust$(EXEEXT): 381 $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/schedint/rust.rs 382 383 schedint-java$(EXEEXT): 268 @echo "#!/bin/sh" > a.out 269 @echo "java JavaThread" >> a.out 270 @chmod a+x a.out 271 272 ## ========================================================================================================= 273 signal$(EXEEXT) :\ 274 signal-pthread_cond.run \ 275 signal-upp.run \ 276 signal-cfa1.run \ 277 signal-cfa2.run \ 278 signal-cfa4.run \ 279 signal-java_thread.run 280 281 signal-pthread_cond$(EXEEXT): 282 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000 $(srcdir)/schedint/pthreads.c 283 284 signal-upp$(EXEEXT): 285 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc 286 287 signal-cfa1$(EXEEXT): 288 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa1.cfa 289 290 signal-cfa2$(EXEEXT): 291 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa2.cfa 292 293 signal-cfa4$(EXEEXT): 294 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa4.cfa 295 296 signal-java_thread$(EXEEXT): 384 297 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java 385 echo "#!/bin/sh" > a.out 386 echo "java JavaThread" >> a.out 387 chmod a+x a.out 388 389 schedint-pthread$(EXEEXT): 390 $(BENCH_V_CC)$(COMPILE) $(srcdir)/schedint/pthreads.c 391 392 ## ========================================================================================================= 393 394 schedext$(EXEEXT) : \ 395 schedext-cfa1.run \ 396 schedext-cfa2.run \ 397 schedext-cfa4.run \ 398 schedext-upp.run \ 399 schedext-goroutine.run 400 401 schedext-cfa1$(EXEEXT): 402 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa1.cfa 403 404 schedext-cfa2$(EXEEXT): 405 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa2.cfa 406 407 schedext-cfa4$(EXEEXT): 408 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa4.cfa 409 410 schedext-upp$(EXEEXT): 411 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/schedext/upp.cc 412 413 schedext-goroutine$(EXEEXT): 414 $(BENCH_V_GOC)go build -o a.out $(srcdir)/schedext/goroutine.go 415 416 417 ## ========================================================================================================= 418 419 creation$(EXEEXT) : \ 420 creation-cfa_generator.run \ 298 @echo "#!/bin/sh" > a.out 299 @echo "java JavaThread" >> a.out 300 @chmod a+x a.out 301 302 303 ## ========================================================================================================= 304 waitfor$(EXEEXT) :\ 305 waitfor-upp.run \ 306 waitfor-cfa1.run \ 307 waitfor-cfa2.run \ 308 waitfor-cfa4.run 309 310 waitfor-upp$(EXEEXT): 311 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc 312 313 waitfor-cfa1$(EXEEXT): 314 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa1.cfa 315 316 waitfor-cfa2$(EXEEXT): 317 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa2.cfa 318 319 waitfor-cfa4$(EXEEXT): 320 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa4.cfa 321 322 ## ========================================================================================================= 323 creation$(EXEEXT) :\ 324 creation-pthread.run \ 421 325 creation-cfa_coroutine.run \ 422 326 creation-cfa_coroutine_eager.run \ … … 424 328 creation-upp_coroutine.run \ 425 329 creation-upp_thread.run \ 426 creation-python_coroutine.run \ 427 creation-nodejs_coroutine.run \ 428 creation-goroutine_thread.run \ 429 creation-rust_thread.run \ 430 creation-java_thread.run \ 431 creation-pthread.run 432 433 creation-cfa_generator$(EXEEXT): 434 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_gen.cfa 330 creation-goroutine.run \ 331 creation-java_thread.run 435 332 436 333 creation-cfa_coroutine$(EXEEXT): 437 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_cor.cfa334 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa 438 335 439 336 creation-cfa_coroutine_eager$(EXEEXT): 440 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_cor.cfa -DEAGER337 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa -DEAGER 441 338 442 339 creation-cfa_thread$(EXEEXT): 443 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_thrd.cfa340 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.cfa 444 341 445 342 creation-upp_coroutine$(EXEEXT): 446 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/creation/upp_cor.cc343 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc 447 344 448 345 creation-upp_thread$(EXEEXT): 449 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/creation/upp_thrd.cc 450 451 creation-python_coroutine$(EXEEXT): 452 $(BENCH_V_PY)echo "#!/bin/sh" > a.out 453 echo "python3.7 $(srcdir)/creation/python_cor.py" >> a.out 454 chmod a+x a.out 455 456 creation-nodejs_coroutine$(EXEEXT): 457 $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out 458 echo "nodejs $(srcdir)/creation/node_cor.js" >> a.out 459 chmod a+x a.out 460 461 creation-goroutine_thread$(EXEEXT): 346 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc 347 348 creation-pthread$(EXEEXT): 349 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=250000 $(srcdir)/creation/pthreads.c 350 351 creation-goroutine$(EXEEXT): 462 352 $(BENCH_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go 463 464 creation-rust_thread$(EXEEXT):465 $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/creation/rust_thrd.rs466 353 467 354 creation-java_thread$(EXEEXT): 468 355 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java 469 echo "#!/bin/sh" > a.out 470 echo "java JavaThread" >> a.out 471 chmod a+x a.out 472 473 creation-pthread$(EXEEXT): 474 $(BENCH_V_CC)$(COMPILE) $(srcdir)/creation/pthreads.c 475 476 ## ========================================================================================================= 477 478 compile$(EXEEXT) : \ 356 @echo "#!/bin/sh" > a.out 357 @echo "java JavaThread" >> a.out 358 @chmod a+x a.out 359 360 ## ========================================================================================================= 361 362 compile$(EXEEXT) :\ 479 363 compile-array.make \ 480 364 compile-attributes.make \ … … 486 370 compile-typeof.make 487 371 372 488 373 testdir = $(top_srcdir)/tests 489 374 490 375 compile-array$(EXEEXT): 491 $(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa376 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa 492 377 493 378 compile-attributes$(EXEEXT): 494 $(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa379 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa 495 380 496 381 compile-empty$(EXEEXT): 497 $(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa382 @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa 498 383 499 384 compile-expression$(EXEEXT): 500 $(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa385 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa 501 386 502 387 compile-io$(EXEEXT): 503 $(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa388 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa 504 389 505 390 compile-monitor$(EXEEXT): 506 $(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa391 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa 507 392 508 393 compile-operators$(EXEEXT): 509 $(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa394 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa 510 395 511 396 compile-thread$(EXEEXT): 512 $(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa397 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa 513 398 514 399 compile-typeof$(EXEEXT): 515 $(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa 516 517 ## ========================================================================================================= 518 519 size$(EXEEXT) : size-cfa.runquiet 520 521 size-cfa$(EXEEXT): 522 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/size/size.cfa 400 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa
Note:
See TracChangeset
for help on using the changeset viewer.