Changeset dc33b5b for benchmark/creation


Ignore:
Timestamp:
Jun 23, 2019, 3:53:46 PM (3 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:
d4e68a6
Parents:
49dee5e
Message:

update benchmarks and add benchmarks for qthreads

Location:
benchmark/creation
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • benchmark/creation/cfa_cor.cfa

    r49dee5e rdc33b5b  
    1010#endif
    1111}
    12 void main(MyCoroutine & this) {}
     12void main(MyCoroutine &) {}
    1313
    1414int main(int argc, char* argv[]) {
    1515        BENCH(
    16                 for (size_t i = 0; i < n; i++) {
     16                for ( i; n ) {
    1717                        MyCoroutine m;
    1818                },
     
    2020        )
    2121
    22         printf("%llu\n", result);
     22        printf("%g\n", result);
    2323}
  • benchmark/creation/cfa_thrd.cfa

    r49dee5e rdc33b5b  
    55
    66thread MyThread {};
    7 void main(MyThread & this) {}
     7void main(MyThread &) {}
    88
    99int main(int argc, char* argv[]) {
    1010        BENCH(
    11                 for (size_t i = 0; i < n; i++) {
     11                for ( i; n ) {
    1212                        MyThread m;
    1313                },
     
    1515        )
    1616
    17         printf("%llu\n", result);
     17        printf("%g\n", result);
    1818}
  • benchmark/creation/pthreads.c

    r49dee5e rdc33b5b  
    2525        )
    2626
    27         printf("%llu\n", result);
     27        printf("%g\n", result);
    2828}
  • benchmark/creation/upp_cor.cc

    r49dee5e rdc33b5b  
    1515        )
    1616
    17         printf("%llu\n", result);
     17        printf("%g\n", result);
    1818}
  • benchmark/creation/upp_thrd.cc

    r49dee5e rdc33b5b  
    1515        )
    1616
    17         printf("%llu\n", result);
     17        printf("%g\n", result);
    1818}
Note: See TracChangeset for help on using the changeset viewer.