source: doc/generic_types/evaluation/cpp-bench.cpp @ 75ac87e

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 75ac87e was 309be81, checked in by Aaron Moss <a3moss@…>, 7 years ago

Started evaluation benchmarks for paper (CFA version doesn't compile yet)

  • Property mode set to 100644
File size: 183 bytes
Line 
1#include <stdlib.h>
2#include "bench.h"
3#include "cpp-stack.h"
4
5int main(int argc, char** argv) {
6        srand(20171025);
7
8        stack<int> s;
9
10        REPEAT_TIMED( "push_int",
11                s.push( rand() );
12        )
13}
Note: See TracBrowser for help on using the repository browser.