Changeset 2c3562d
- Timestamp:
- Oct 2, 2020, 11:30:19 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0d72d45
- Parents:
- dd53f75
- Location:
- benchmark
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/Makefile.am
rdd53f75 r2c3562d 291 291 ctxswitch-python_coroutine$(EXEEXT): 292 292 $(BENCH_V_PY)echo "#!/bin/sh" > a.out 293 echo "python3 .7 $(srcdir)/ctxswitch/python_cor.py" >> a.out293 echo "python3 $(srcdir)/ctxswitch/python_cor.py \"$$""@\"" >> a.out 294 294 chmod a+x a.out 295 295 296 296 ctxswitch-nodejs_coroutine$(EXEEXT): 297 297 $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out 298 echo "nodejs $(srcdir)/ctxswitch/node_cor.js " >> a.out298 echo "nodejs $(srcdir)/ctxswitch/node_cor.js \"$$""@\"" >> a.out 299 299 chmod a+x a.out 300 300 301 301 ctxswitch-nodejs_await$(EXEEXT): 302 302 $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out 303 echo "nodejs $(srcdir)/ctxswitch/node_await.js " >> a.out303 echo "nodejs $(srcdir)/ctxswitch/node_await.js \"$$""@\"" >> a.out 304 304 chmod a+x a.out 305 305 … … 313 313 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java 314 314 echo "#!/bin/sh" > a.out 315 echo "java JavaThread " >> a.out315 echo "java JavaThread \"$$""@\"" >> a.out 316 316 chmod a+x a.out 317 317 … … 355 355 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java 356 356 echo "#!/bin/sh" > a.out 357 echo "java JavaThread " >> a.out357 echo "java JavaThread \"$$""@\"" >> a.out 358 358 chmod a+x a.out 359 359 … … 387 387 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java 388 388 echo "#!/bin/sh" > a.out 389 echo "java JavaThread " >> a.out389 echo "java JavaThread \"$$""@\"" >> a.out 390 390 chmod a+x a.out 391 391 … … 454 454 creation-python_coroutine$(EXEEXT): 455 455 $(BENCH_V_PY)echo "#!/bin/sh" > a.out 456 echo "python3 .7 $(srcdir)/creation/python_cor.py" >> a.out456 echo "python3 $(srcdir)/creation/python_cor.py \"$$""@\"" >> a.out 457 457 chmod a+x a.out 458 458 459 459 creation-nodejs_coroutine$(EXEEXT): 460 460 $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out 461 echo "nodejs $(srcdir)/creation/node_cor.js " >> a.out461 echo "nodejs $(srcdir)/creation/node_cor.js \"$$""@\"" >> a.out 462 462 chmod a+x a.out 463 463 … … 471 471 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java 472 472 echo "#!/bin/sh" > a.out 473 echo "java JavaThread " >> a.out473 echo "java JavaThread \"$$""@\"" >> a.out 474 474 chmod a+x a.out 475 475 -
benchmark/creation/JavaThread.java
rdd53f75 r2c3562d 47 47 } 48 48 public static void main(String[] args) throws InterruptedException { 49 if ( args.length > 2) System.exit( 1 );50 if ( args.length == 2 ) { times = Long.parseLong(args[1]); }49 if ( args.length > 1 ) System.exit( 1 ); 50 if ( args.length == 1 ) { times = Long.parseLong(args[0]); } 51 51 52 52 for (int i = Integer.parseInt("5"); --i >= 0 ; ) { -
benchmark/ctxswitch/JavaThread.java
rdd53f75 r2c3562d 40 40 } 41 41 public static void main(String[] args) throws InterruptedException { 42 if ( args.length > 2) System.exit( 1 );43 if ( args.length == 2 ) { times = Long.parseLong(args[1]); }42 if ( args.length > 1 ) System.exit( 1 ); 43 if ( args.length == 1 ) { times = Long.parseLong(args[0]); } 44 44 45 45 for (int i = Integer.parseInt("5"); --i >= 0 ; ) { -
benchmark/mutex/JavaThread.java
rdd53f75 r2c3562d 47 47 } 48 48 public static void main(String[] args) throws InterruptedException { 49 if ( args.length > 2) System.exit( 1 );50 if ( args.length == 2 ) { times = Long.parseLong(args[1]); }49 if ( args.length > 1 ) System.exit( 1 ); 50 if ( args.length == 1 ) { times = Long.parseLong(args[0]); } 51 51 52 52 for (int n = Integer.parseInt("5"); --n >= 0 ; ) { -
benchmark/schedint/JavaThread.java
rdd53f75 r2c3562d 75 75 } 76 76 public static void main(String[] args) throws InterruptedException { 77 if ( args.length > 2) System.exit( 1 );78 if ( args.length == 2 ) { times = Long.parseLong(args[1]); }77 if ( args.length > 1 ) System.exit( 1 ); 78 if ( args.length == 1 ) { times = Long.parseLong(args[0]); } 79 79 80 80 for (int n = Integer.parseInt("5"); --n >= 0 ; ) {
Note: See TracChangeset
for help on using the changeset viewer.