Changeset 7ac3151


Ignore:
Timestamp:
Jan 23, 2020, 5:11:06 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
052dfc3
Parents:
8b16980
Message:

add nodejs await experiment to benchmarks

Location:
benchmark
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    r8b16980 r7ac3151  
    1111## Created On       : Sun May 31 09:08:15 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Tue Jan 21 17:56:31 2020
    14 ## Update Count     : 250
     13## Last Modified On : Thu Jan 23 12:42:58 2020
     14## Update Count     : 253
    1515###############################################################################
    1616
     
    8989ctxswitch_rust_thread_DURATION = $(ctxswitch_pthread_DURATION)
    9090ctxswitch_cfa_generator_DURATION = 5000000000
     91ctxswitch_nodejs_await_DURATION = 1000000 # otherwise out of memory
    9192ctxswitch_DURATION = 100000000
    9293
     
    248249        ctxswitch-python_coroutine.run  \
    249250        ctxswitch-nodejs_coroutine.run  \
     251        ctxswitch-nodejs_await.run      \
    250252        ctxswitch-goroutine_thread.run  \
    251253        ctxswitch-rust_thread.run       \
     
    294296        echo "#!/bin/sh" > a.out
    295297        echo "nodejs $(srcdir)/ctxswitch/node_cor.js" >> a.out
     298        chmod a+x a.out
     299
     300ctxswitch-nodejs_await$(EXEEXT):
     301        echo "#!/bin/sh" > a.out
     302        echo "nodejs $(srcdir)/ctxswitch/node_await.js" >> a.out
    296303        chmod a+x a.out
    297304
  • benchmark/Makefile.in

    r8b16980 r7ac3151  
    426426ctxswitch_rust_thread_DURATION = $(ctxswitch_pthread_DURATION)
    427427ctxswitch_cfa_generator_DURATION = 5000000000
     428ctxswitch_nodejs_await_DURATION = 1000000 # otherwise out of memory
    428429ctxswitch_DURATION = 100000000
    429430
     
    456457        ctxswitch-cfa_thread2.run ctxswitch-upp_coroutine.run \
    457458        ctxswitch-upp_thread.run ctxswitch-python_coroutine.run \
    458         ctxswitch-nodejs_coroutine.run ctxswitch-goroutine_thread.run \
    459         ctxswitch-rust_thread.run ctxswitch-nodejs_coroutine.run \
    460         ctxswitch-java_thread.run ctxswitch-pthread.run \
    461         $(am__append_1)
     459        ctxswitch-nodejs_coroutine.run ctxswitch-nodejs_await.run \
     460        ctxswitch-goroutine_thread.run ctxswitch-rust_thread.run \
     461        ctxswitch-nodejs_coroutine.run ctxswitch-java_thread.run \
     462        ctxswitch-pthread.run $(am__append_1)
    462463testdir = $(top_srcdir)/tests
    463464all: all-am
     
    939940        chmod a+x a.out
    940941
     942ctxswitch-nodejs_await$(EXEEXT):
     943        echo "#!/bin/sh" > a.out
     944        echo "nodejs $(srcdir)/ctxswitch/node_await.js" >> a.out
     945        chmod a+x a.out
     946
    941947ctxswitch-goroutine_thread$(EXEEXT):
    942948        $(BENCH_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go
Note: See TracChangeset for help on using the changeset viewer.