[wing] pipelistener: increase the default buffer size to 8192
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wing] pipelistener: increase the default buffer size to 8192
- Date: Wed, 28 Nov 2018 08:10:06 +0000 (UTC)
commit 63772ce02aef21d20ad4cdf180f0fa99292fe70f
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Tue Nov 27 12:04:52 2018 +0100
pipelistener: increase the default buffer size to 8192
This is the size that internally glib uses for reads so better
to use the same size so we avoid interal useless pipe allocations.
Moreover from my tests it seems to be make the pipes faster
by this small change.
wing/wingnamedpipelistener.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/wing/wingnamedpipelistener.c b/wing/wingnamedpipelistener.c
index 8150ddd..8a19463 100644
--- a/wing/wingnamedpipelistener.c
+++ b/wing/wingnamedpipelistener.c
@@ -24,7 +24,7 @@
#include <windows.h>
#include <sddl.h>
-#define DEFAULT_PIPE_BUF_SIZE 4096
+#define DEFAULT_PIPE_BUF_SIZE 8192
typedef struct
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]