summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-02-27 09:28:06 +0100
committerPierre Ossman <ossman@cendio.se>2015-02-27 09:28:06 +0100
commite36f6e0f3d158178a174b2bb6e48e322e7226142 (patch)
tree04989f6b849a63b63c5f84751544edda766c6ee6
parentd0565ec9946fbfadc2f585da214f74be8b513a2c (diff)
parent13cfb510714150590d5bd79ad0bf624b019f58b4 (diff)
downloadtigervnc-e36f6e0f3d158178a174b2bb6e48e322e7226142.tar.gz
tigervnc-e36f6e0f3d158178a174b2bb6e48e322e7226142.zip
Merge branch 'perf' of https://github.com/dcommander/tigervnc
-rw-r--r--tests/decperf.cxx4
-rw-r--r--tests/encperf.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/decperf.cxx b/tests/decperf.cxx
index 6714cb10..1d0c80c4 100644
--- a/tests/decperf.cxx
+++ b/tests/decperf.cxx
@@ -145,9 +145,9 @@ static double runTest(const char *fn)
CConn *cc;
double time;
- cc = new CConn(fn);
-
try {
+ cc = new CConn(fn);
+
while (true)
cc->processMsg();
} catch (rdr::EndOfStream e) {
diff --git a/tests/encperf.cxx b/tests/encperf.cxx
index 2628b46a..bbaa8fb5 100644
--- a/tests/encperf.cxx
+++ b/tests/encperf.cxx
@@ -337,9 +337,9 @@ static double runTest(const char *fn, double& ratio, unsigned long long& bytes,
CConn *cc;
double time;
- cc = new CConn(fn);
-
try {
+ cc = new CConn(fn);
+
while (true)
cc->processMsg();
} catch (rdr::EndOfStream e) {