[llvm-commits] [test-suite] r107081 - /test-suite/trunk/SingleSource/Benchmarks/Misc/lowercase.c
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Jun 28 15:09:58 PDT 2010
Author: stoklund
Date: Mon Jun 28 17:09:58 2010
New Revision: 107081
URL: http://llvm.org/viewvc/llvm-project?rev=107081&view=rev
Log:
Speed up test for SMALL_TEST_SIZE
Modified:
test-suite/trunk/SingleSource/Benchmarks/Misc/lowercase.c
Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/lowercase.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/lowercase.c?rev=107081&r1=107080&r2=107081&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/lowercase.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/lowercase.c Mon Jun 28 17:09:58 2010
@@ -40,7 +40,11 @@
printf("iterations (%ld characters)\n", numberOfIterations, numberOfCharacters);
memset(result, 0, sizeof(UChar) * testDataLength);
+#ifdef SMALL_PROBLEM_SIZE
+ for (i = 0; i < 100000; i++)
+#else
for (i = 0; i < 10000000; i++)
+#endif
lower_StringImpl(testData, numberOfCharacters, result);
}
More information about the llvm-commits
mailing list