This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta entry for b83080de5c42543809ce9004bcdbcd3162a00e70.
authorCraig A. Berry <craigberry@mac.com>
Fri, 18 Feb 2011 00:02:06 +0000 (18:02 -0600)
committerCraig A. Berry <craigberry@mac.com>
Fri, 18 Feb 2011 00:02:06 +0000 (18:02 -0600)
pod/perldelta.pod

index 3050a89..56c3e88 100644 (file)
@@ -705,6 +705,21 @@ middle of toke.c, and it was not clear that it was generated code.
 A lot of tests have been ported from Test to Test::More, e.g. in
 3842ad6.
 
+=item * Increase default PerlIO buffer size. (b83080d)
+
+The previous default size of a PerlIO buffer (4096 bytes) has been increased
+to the larger of 8192 bytes and your local BUFSIZ.  Benchmarks show that doubling
+this decade-old default increases read and write performance in the neighborhood
+of 25% to 50% when using the default layers of perlio on top of unix.  To choose
+a non-default size, such as to get back the old value or to obtain and even
+larger value, configure with:
+
+     ./Configure -Accflags=-DPERLIOBUF_DEFAULT_BUFSIZ=N
+
+where N is the desired size in bytes; it should probably be a multiple of
+your page size.
+
+
 =item *
 
 XXX