[pango] [test] Reduce test-pangocairo-thread work by 8x
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] [test] Reduce test-pangocairo-thread work by 8x
- Date: Thu, 17 Aug 2017 01:26:21 +0000 (UTC)
commit da4cea5b1d8e0448c478c3fe8e47f84eb9e8b6f7
Author: Behdad Esfahbod <behdad behdad org>
Date: Wed Aug 16 18:26:00 2017 -0700
[test] Reduce test-pangocairo-thread work by 8x
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=786379
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 4f1c4a2..6462a0e 100644
--- a/tests/test-pangocairo-threads.c
+++ b/tests/test-pangocairo-threads.c
@@ -7,7 +7,7 @@
#define HEIGHT 100
const char *text = "Hamburgerfonts\nวิวิวิวิวิวิ\nبهداد";
-int num_iters = 200;
+int num_iters = 50;
GMutex mutex;
@@ -68,7 +68,7 @@ thread_func (gpointer data)
int
main (int argc, char **argv)
{
- int num_threads = 10;
+ int num_threads = 5;
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]