Changeset 2316525 for benchmark/creation
- Timestamp:
- Jan 19, 2020, 4:16:27 PM (5 years ago)
- 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:
- f090750
- Parents:
- 9e63a2b
- Location:
- benchmark/creation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified benchmark/creation/cfa_cor.cfa ¶
r9e63a2b r2316525 5 5 6 6 coroutine MyCoroutine {}; 7 void ?{} (MyCoroutine & this) {7 void ?{}( MyCoroutine & this ) { 8 8 #ifdef EAGER 9 resume( this);9 resume( this ); 10 10 #endif 11 11 } 12 void main( MyCoroutine &) {}12 void main( MyCoroutine & ) {} 13 13 14 14 int main( int argc, char * argv[] ) { 15 15 BENCH_START() 16 16 BENCH( 17 for ( i;times ) {18 MyCoroutine m;17 for ( times ) { 18 MyCoroutine c; 19 19 }, 20 20 result -
TabularUnified benchmark/creation/cfa_thrd.cfa ¶
r9e63a2b r2316525 10 10 BENCH_START() 11 11 BENCH( 12 for ( i;times ) {12 for ( times ) { 13 13 MyThread m; 14 14 }, -
TabularUnified benchmark/creation/node_cor.js ¶
r9e63a2b r2316525 4 4 if ( argc == 3 ) times = Number( process.argv[2] ) 5 5 6 function * coroutine() { 7 } 6 function * coroutine() {} 8 7 var hrstart = process.hrtime() 9 8 for ( var i = 0; i < times; i += 1 ) {
Note: See TracChangeset
for help on using the changeset viewer.