|
reSIProcate/rutil
9694
|

Go to the source code of this file.
Functions | |
| int | main () |
| int main | ( | void | ) |
Definition at line 7 of file testDataPerformance.cxx.
References resip::Random::getRandomHex(), and resip::Data::Preallocate.
{
Data data = Random::getRandomHex(8);
for (int j=0; j<100; j++)
{
Data output(1000000, Data::Preallocate);
DataStream strm(output);
for (int i=0; i<100000; i++)
{
strm << data;
strm << 'c';
strm << "chars";
}
}
return 0;
}

1.7.5.1