summaryrefslogtreecommitdiff
path: root/selftest.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-02-01 15:52:41 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-02-01 15:52:41 -0800
commit26aaf253acf115e67ab969f95e002ce1074df13e (patch)
tree6158943185d81ef0c68d4bf9f159983a08f97371 /selftest.cpp
parent51715376bf6cb5c8251ea77e799dcf194bf8efcd (diff)
downloadinfinitytier-26aaf253acf115e67ab969f95e002ce1074df13e.tar.gz
infinitytier-26aaf253acf115e67ab969f95e002ce1074df13e.zip
Allow us to build a semi-dynamic official binary that works back to CentOS 6, at least on x64, and is very fast since we can build it with newer clang or icc.
Diffstat (limited to 'selftest.cpp')
-rw-r--r--selftest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/selftest.cpp b/selftest.cpp
index cf3bbdeb..03f587b0 100644
--- a/selftest.cpp
+++ b/selftest.cpp
@@ -660,6 +660,7 @@ static int testOther()
std::cout << " " << InetAddress("").toString(buf);
std::cout << std::endl;
+#if 0
std::cout << "[other] Benchmarking memcpy... "; std::cout.flush();
{
unsigned char *bb = (unsigned char *)::malloc(1234567);
@@ -681,6 +682,7 @@ static int testOther()
::free((void *)bb);
::free((void *)cc);
}
+#endif
std::cout << "[other] Benchmarking ZT_FAST_MEMCPY... "; std::cout.flush();
{