Ignore:
Timestamp:
Feb 19, 2020, 4:06:08 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
13d2dac, 40cac90
Parents:
32ce9b7
Message:

Fixed headers for benchmarks in Python, Rust and NodeJs?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    r32ce9b7 r1d72a11  
    3030BENCH_V_UPP = $(__bench_v_UPP_$(__quiet))
    3131BENCH_V_GOC = $(__bench_v_GOC_$(__quiet))
     32BENCH_V_PY = $(__bench_v_PY_$(__quiet))
    3233BENCH_V_RUSTC = $(__bench_v_RUSTC_$(__quiet))
    3334BENCH_V_NODEJS = $(__bench_v_NODEJS_$(__quiet))
     
    4748__bench_v_UPP_verbose = $(AM_V_UPP)
    4849__bench_v_GOC_verbose = $(AM_V_GOC)
    49 __bench_v_RUSTC_verbose = $(AM_V_RUSTC)
     50__bench_v_PY_verbose = $(AM_V_PY)
     51__bench_v_RUSTC_verbose = $(AM_V_RUST)
    5052__bench_v_NODEJS_verbose = $(AM_V_NODEJS)
    5153__bench_v_JAVAC_verbose = $(AM_V_JAVAC)
     
    179181        $(srcdir)/fixcsv.sh $@
    180182
    181 # basic.csv:
    182 #       echo "$@"
    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 $@
    188 
    189183ctxswitch.csv:
    190184        echo "building $@"
     
    292286
    293287ctxswitch-python_coroutine$(EXEEXT):
    294         echo "#!/bin/sh" > a.out
     288        $(BENCH_V_PY)echo "#!/bin/sh" > a.out
    295289        echo "python3.7 $(srcdir)/ctxswitch/python_cor.py" >> a.out
    296290        chmod a+x a.out
    297291
    298292ctxswitch-nodejs_coroutine$(EXEEXT):
    299         echo "#!/bin/sh" > a.out
     293        $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out
    300294        echo "nodejs $(srcdir)/ctxswitch/node_cor.js" >> a.out
    301295        chmod a+x a.out
    302296
    303297ctxswitch-nodejs_await$(EXEEXT):
    304         echo "#!/bin/sh" > a.out
     298        $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out
    305299        echo "nodejs $(srcdir)/ctxswitch/node_await.js" >> a.out
    306300        chmod a+x a.out
     
    455449
    456450creation-python_coroutine$(EXEEXT):
    457         echo "#!/bin/sh" > a.out
     451        $(BENCH_V_PY)echo "#!/bin/sh" > a.out
    458452        echo "python3.7 $(srcdir)/creation/python_cor.py" >> a.out
    459453        chmod a+x a.out
    460454
    461455creation-nodejs_coroutine$(EXEEXT):
    462         echo "#!/bin/sh" > a.out
     456        $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out
    463457        echo "nodejs $(srcdir)/creation/node_cor.js" >> a.out
    464458        chmod a+x a.out
Note: See TracChangeset for help on using the changeset viewer.