[pypy-commit] pypy vmprof: use a bigger buffer

fijal noreply at buildbot.pypy.org
Mon Mar 23 14:16:24 CET 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: vmprof
Changeset: r76512:88804f9f0357
Date: 2015-03-23 15:16 +0200
http://bitbucket.org/pypy/pypy/changeset/88804f9f0357/

Log:	use a bigger buffer

diff --git a/pypy/module/_vmprof/src/vmprof.c b/pypy/module/_vmprof/src/vmprof.c
--- a/pypy/module/_vmprof/src/vmprof.c
+++ b/pypy/module/_vmprof/src/vmprof.c
@@ -39,7 +39,7 @@
 
 
 static int profile_file = 0;
-static char profile_write_buffer[4096];
+static char profile_write_buffer[10000];
 static int profile_buffer_position = 0;
 void* vmprof_mainloop_func;
 static ptrdiff_t mainloop_sp_offset;


More information about the pypy-commit mailing list