repos
/
benchmark
/ annotate_shade
summary
|
shortlog
|
log
|
tree
|
commit
|
commitdiff
|
headdiff
|
annotate
|
headblob
|
headfilediff
|
filehistory
normal
|
plain
|
shade
|
zebra
add signal-slot benchmark & better graphs
Annotate for file benchmark.cpp
2009-05-25 tobias
1
#include "benchmark.h"
14:59:32 '
2
'
3
#include <QByteArray>
'
4
'
5
static QByteArray array("foobar");
'
6
'
7
extern "C" {
'
8
2009-06-19 tobias
9
CL_SMOKE_BENCHMARK_EXPORT void
2009-05-25 tobias
10
cl_smoke_benchmark_byte_array_size(size_t iterations)
14:59:32 '
11
{
'
12
for(size_t i=0; i< iterations; i++)
2009-06-19 tobias
13
array.at(0);
2009-05-25 tobias
14
}
14:59:32 '
15
'
16
} // extern "C"