Changeset 28bc8c8 for doc/papers/general/evaluation
- Timestamp:
- Mar 8, 2018, 3:16:30 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 9d6f011
- Parents:
- fb2ce27
- Location:
- doc/papers/general/evaluation
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/papers/general/evaluation/cfa-bench.c
rfb2ce27 r28bc8c8 3 3 #include "cfa-pair.h" 4 4 5 int main( int argc, char * argv[]) {5 int main() { 6 6 int max = 0, val = 42; 7 7 stack( int ) si, ti; -
doc/papers/general/evaluation/cfa-stack.c
rfb2ce27 r28bc8c8 12 12 stack_node(T) ** crnt = &s.head; 13 13 for ( stack_node(T) * next = t.head; next; next = next->next ) { 14 *crnt = malloc();14 *crnt = alloc(); 15 15 ((*crnt)->value){ next->value }; 16 16 crnt = &(*crnt)->next; … … 31 31 32 32 forall(otype T) void push( stack(T) & s, T value ) with( s ) { 33 stack_node(T)* n = malloc();33 stack_node(T)* n = alloc(); 34 34 (*n){ value, head }; 35 35 head = n; -
doc/papers/general/evaluation/timing.dat
rfb2ce27 r28bc8c8 1 1 "400 million repetitions" "C" "\\CFA{}" "\\CC{}" "\\CC{obj}" 2 "push\nint" 2976 2225 1522 3266 3 "copy\nnt" 2932 7072 1526 3110 4 "clear\nint" 1380 731 750 1488 5 "pop\nint" 1444 1196 756 5156 6 "push\npair" 3695 2257 953 6840 7 "copy\npair" 6034 6650 994 7224 8 "clear\npair" 2832 848 742 3297 9 "pop\npair" 3009 5348 797 25235 10 2 "push\nint" 3002 2459 1520 3305 3 "copy\nint" 2985 2057 1521 3152 4 "clear\nint" 1374 827 718 1469 5 "pop\nint" 1416 1221 717 5467 6 "push\npair" 4214 2752 946 6826 7 "copy\npair" 6127 2105 993 7330 8 "clear\npair" 2881 885 711 3564 9 "pop\npair" 3046 5434 783 26538
Note: See TracChangeset
for help on using the changeset viewer.