[pango] Speed up test-pangocairo-threads
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Speed up test-pangocairo-threads
- Date: Sun, 5 Apr 2015 22:14:20 +0000 (UTC)
commit 0da76d1b427629f4e671b502d7034595ae9ac568
Author: Behdad Esfahbod <behdad behdad org>
Date: Sun Apr 5 15:14:02 2015 -0700
Speed up test-pangocairo-threads
tests/test-pangocairo-threads.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test-pangocairo-threads.c b/tests/test-pangocairo-threads.c
index f5a8b02..515fbd1 100644
--- a/tests/test-pangocairo-threads.c
+++ b/tests/test-pangocairo-threads.c
@@ -7,7 +7,7 @@
#define HEIGHT 100
const char *text = "The quick brown fox jumped over the lazy dog!";
-int num_iters = 100;
+int num_iters = 200;
GMutex mutex;
@@ -68,7 +68,7 @@ thread_func (gpointer data)
int
main (int argc, char **argv)
{
- int num_threads = 100;
+ int num_threads = 10;
int i;
GPtrArray *threads = g_ptr_array_new ();
GPtrArray *surfaces = g_ptr_array_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]