Changeset 2316525 for benchmark/creation


Ignore:
Timestamp:
Jan 19, 2020, 4:16:27 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
f090750
Parents:
9e63a2b
Message:

update benchmarks for concurrency paper

Location:
benchmark/creation
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • benchmark/creation/cfa_cor.cfa

    r9e63a2b r2316525  
    55
    66coroutine MyCoroutine {};
    7 void ?{} (MyCoroutine & this) {
     7void ?{}( MyCoroutine & this ) {
    88#ifdef EAGER
    9         resume(this);
     9        resume( this );
    1010#endif
    1111}
    12 void main(MyCoroutine &) {}
     12void main( MyCoroutine & ) {}
    1313
    1414int main( int argc, char * argv[] ) {
    1515        BENCH_START()
    1616        BENCH(
    17                 for ( i; times ) {
    18                         MyCoroutine m;
     17                for ( times ) {
     18                        MyCoroutine c;
    1919                },
    2020                result
  • benchmark/creation/cfa_thrd.cfa

    r9e63a2b r2316525  
    1010        BENCH_START()
    1111        BENCH(
    12                 for ( i; times ) {
     12                for ( times ) {
    1313                        MyThread m;
    1414                },
  • benchmark/creation/node_cor.js

    r9e63a2b r2316525  
    44if ( argc == 3 ) times = Number( process.argv[2] )
    55
    6 function * coroutine() {
    7 }
     6function * coroutine() {}
    87var hrstart = process.hrtime()
    98for ( var i = 0; i < times; i += 1 ) {
Note: See TracChangeset for help on using the changeset viewer.