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