This commit is contained in:
DirtyDuckEUW 2021-10-15 23:15:16 +02:00
parent 6dd93155cc
commit 6e22717a81
8 changed files with 576 additions and 0 deletions

26
LSString/main.cpp Normal file
View 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;
}