Ref T202, Ref T189 samples (based on RW's review and discussion)

This commit is contained in:
Klaus Basan
2017-12-21 19:17:07 +01:00
parent 379c53e0cc
commit 69d1897f62
3 changed files with 105 additions and 7 deletions

View File

@@ -53,6 +53,7 @@ int main(int argc, char *argv[])
qtout << "6d .. JSON model performance (database vs. own JSON)" << endl;
qtout << "6e .. string utils vs.regex" << endl;
qtout << "6f .. string concatenation (+=, arg, ..)" << endl;
qtout << "6g .. const &QString vs. QStringLiteral" << endl;
qtout << "7 .. Algorithms" << endl;
qtout << "-----" << endl;
qtout << "x .. Bye" << endl;
@@ -68,6 +69,7 @@ int main(int argc, char *argv[])
else if (s.startsWith("6d")) { CSamplesPerformance::samplesJsonModel(qtout); }
else if (s.startsWith("6e")) { CSamplesPerformance::samplesStringUtilsVsRegEx(qtout); }
else if (s.startsWith("6f")) { CSamplesPerformance::samplesStringConcat(qtout); }
else if (s.startsWith("6g")) { CSamplesPerformance::samplesStringLiteralVsConstQString(qtout); }
else if (s.startsWith("7")) { CSamplesAlgorithm::samples(); }
else if (s.startsWith("x")) { break; }
}