Test
This commit is contained in:
parent
6dd93155cc
commit
6e22717a81
8 changed files with 576 additions and 0 deletions
26
LSString/main.cpp
Normal file
26
LSString/main.cpp
Normal file
|
@ -0,0 +1,26 @@
|
|||
#include <iostream>
|
||||
#include "LSString.h"
|
||||
#include "Timer.h"
|
||||
|
||||
#define RUNS 50U
|
||||
#define PAYLOAD "187"
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("LSString:\n");
|
||||
printf("Number of runs: %d:\n", (int)RUNS);
|
||||
Timer ttt;
|
||||
for (size_t zRun = 1; zRun <= RUNS; zRun++)
|
||||
{
|
||||
printf("Run: %2d: ", (int)zRun);
|
||||
|
||||
Timer tt;
|
||||
LSString s("361");
|
||||
|
||||
for (size_t z = 0; z < RUNS * 187; z++)
|
||||
{
|
||||
s.Append(PAYLOAD);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue