| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous default size of a PerlIO buffer (4096 bytes) was
chosen many years ago before PerlIO was even the default I/O scheme
for Perl. 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.
The only situation without a noticeable performance benefit so
far appears to be when physical I/O is so slow that it dwarfs
any savings from the reduction in layer shuffling, but there
is also no performance penalty in this case.
BUFSIZ will be chosen in the unlikely event that it's larger
than 8192 on the assumption that the system maintainers would
not set such a value without good reason.
If the new size causes problems, or to try an even bigger size,
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.
|
|
|
|
|
|
|
|
|
| |
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81904]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81904 >
Signed-off-by: Abigail <abigail@abigail.be>
|
|
|
|
|
|
|
| |
PERLIO_BUFSIZ was already in use by Encode::Unicode for the
PerlIOEncode_xxx layer, so it makes sense to specify that this
macro is for the PerlIOBuf_xxx layer and that it is a default
value that may eventually be settable at run-time.
|
|
|
|
|
|
|
|
|
|
|
| |
The 4K buffer size was chosen way back in bb9950b. Significant performance
improvements are seen with larger buffer sizes, though the optimum size
likely varies by architecture and workload. For starters, we'll leave the
default as-is but make the buffer size a macro and thus user-configurable via:
sh Configure -Accflags=-DPERLIO_BUFSIZ=<number>
Choosing a better (larger) default is still TODO.
|
|
|
| |
p4raw-id: //depot/perl@32793
|
|
|
| |
p4raw-id: //depot/perl@32237
|
|
|
|
|
|
| |
files that generate .h files, so they'll be ready
next time.
p4raw-id: //depot/perl@29695
|
|
|
|
|
|
| |
Todo - store the in and out values under 2 keys, and avoid the need to
create a temporary mortal SV while checking it.
p4raw-id: //depot/perl@28258
|
|
|
|
|
|
| |
Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org>
Date: Fri, 3 Feb 2006 16:24:49 +0100
p4raw-id: //depot/perl@27065
|
|
|
| |
p4raw-id: //depot/perl@24552
|
|
|
|
|
| |
Message-ID: <20050519173256.GA29039@petdance.com>
p4raw-id: //depot/perl@24508
|
|
|
|
|
| |
Message-ID: <20050501200755.GA30259@petdance.com>
p4raw-id: //depot/perl@24365
|
|
|
|
|
| |
Message-ID: <20050427150243.GA21883@petdance.com>
p4raw-id: //depot/perl@24338
|
|
|
|
|
| |
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@24271
|
|
|
|
|
|
| |
From: "Larry Shatzer Jr." <larrysh@cpan.org>
Message-ID: <20041115225913.GA22373@zippy.zyx.net>
p4raw-id: //depot/perl@23500
|
|
|
|
|
|
| |
From: "Marcus Holland-Moritz" <mhx-perl@gmx.net>
Message-ID: <003701c322f2$517fb5e0$0c2f1fac@R2D2>
p4raw-id: //depot/perl@19620
|
|
|
|
|
| |
Message-ID: <533D273D4014D411AB1D00062938C4D90404653C@hotel.npl.co.uk>
p4raw-id: //depot/perl@19599
|
|
|
|
|
|
|
| |
(Lots of Perl 5 source code archaeology was involved.)
Larry didn't make strangled noises when I showed him
the patch, either :-)
p4raw-id: //depot/perl@19242
|
|
|
|
|
| |
at the PerlIO layer stack.
p4raw-id: //depot/perl@19203
|
|
|
| |
p4raw-id: //depot/perl@18801
|
|
|
|
|
| |
Message-ID: <533D273D4014D411AB1D00062938C4D904046299@hotel.npl.co.uk>
p4raw-id: //depot/perl@18556
|
|
|
|
|
|
|
|
| |
- PerlIO_importFILE and PerlIO_exportFILE now documented as taking
const char *mode.
- Other 'flags' field changed to U32
- Discouraging words written about ":raw".
p4raw-id: //depot/perlio@17258
|
|
|
|
|
|
|
|
|
|
| |
English.t seems to fail on an errno test, and socketpair blathers
about something.
Basic fix is to stop PERL_IMPLICIT_SYS turning on USE_PERLIO by the
back door, and instead have perlsdio.h vector stdio via iperlsys.h
function tables (latter was done in earlier change).
Update comments in Makefile.mk
p4raw-id: //depot/perlio@16367
|
|
|
|
|
| |
All but ../lib/Unicode/UCD.t pass.
p4raw-id: //depot/perlio@14412
|
|
|
|
|
| |
be true if value is "special" i.e. NOT an SV.
p4raw-id: //depot/perlio@14257
|
|
|
| |
p4raw-id: //depot/perlio@13854
|
|
|
| |
p4raw-id: //depot/perlio@13072
|
|
|
| |
p4raw-id: //depot/perl@12757
|
|
|
|
|
|
|
|
| |
for them. Call explicit cleanup during destruct process.
- one binmode test is failing
- also ext/threads/t/basic.t fails under make test, and is noisy under
harness. (Threads results are intermingled and don't match order expected.)
p4raw-id: //depot/perlio@12547
|
|
|
| |
p4raw-id: //depot/perlio@12544
|
|
|
|
|
| |
Use for non-PERLIO fdupopen().
p4raw-id: //depot/perlio@12532
|
|
|
|
|
| |
Still-passes all tests non-threaded (well it would wouldn't it!)
p4raw-id: //depot/perlio@12451
|
|
|
|
|
|
|
|
|
| |
indent -kr -nce -psl -sc -TSV -TAV -THV -TGV -TIV -TUV -TNV -TMAGIC -TFILE -TPerlIO -TPerlIO_list_t -TPerlIO_funcs -TPerlIO_pair_t
(GNU indent). Note that wholesale re-indenting might
be nice, but that would break nice formatting/alignment
of assignments, equality testing, and complex boolean
expressions with lots of &s and |s.
p4raw-id: //depot/perl@12052
|
|
|
| |
p4raw-id: //depot/perl@11160
|
|
|
| |
p4raw-id: //depot/perl@10643
|
|
|
|
|
| |
and using that instead (name lookups are sequential search for now).
p4raw-id: //depot/perlio@10564
|
|
|
|
|
| |
Message-Id: <a05100e0ab734816701a5@[172.16.52.1]>
p4raw-id: //depot/perl@10218
|
|
|
|
|
| |
akin to PerlIO::Scalar.
p4raw-id: //depot/perlio@9431
|
|
|
|
|
|
|
| |
layers in perl code. In such cases layers need to be popped before
we loose the ability to run perl code.)
Also back-out "PerlIO::object" hook - it isn't going to work like that...
p4raw-id: //depot/perlio@9346
|
|
|
|
|
|
|
|
|
|
|
|
| |
- open process creates AV of layer/arg pairs
(appends layers from open() or open.pm to default list).
- push arg is now an SV.
- layer ->Open get passed the AV
- open is no longer mandatory method.
- topmost layer that has ->Open method does the open
- any layers above are pushed once that returns.
- vtable re-ordered so dummy layers need only provide push/pop methods.
p4raw-id: //depot/perlio@9314
|
|
|
| |
p4raw-id: //depot/perlio@9305
|
|
|
|
|
|
| |
-Uuseperlio now works again.
-Duseperlio is still poorly. Don't merge yet...
p4raw-id: //depot/perlio@9303
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
open($fh,">&STDOUT!")
type code.
- Invent PerlIO_openn() - which has "lots" of args a bit like do_openn() which
is its main caller. In particular now has access to "extra" args, and
can tell when an open handle is "reopened" (or duped?).
- In -Duseperlio PerlIO_open() et. al. are now wrappers on PerlIO_openn().
- In -Uuseperlio (untested as yet) PerlIO_openn() is a wrapper on
PerlIO_open() et. al. (i.e. other way round).
- Collapse "vtable" entries for layers - was fdopen/open/reopen now just open
with args close to PerlIO_openn().
p4raw-id: //depot/perlio@9302
|
|
|
|
|
|
|
| |
- make PERLIO_NOT_STDIO 0 (co-existance) default for non PERL_CORE case.
- Add FILE * T_STDIO typemap.
- Finish PerlIO_findFILE() and PerlIO_extprtFILE()
p4raw-id: //depot/perlio@8356
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.10.10101051813220.340-100000@mojo.covalent.net>
p4raw-id: //depot/perl@8344
|
|
|
|
|
| |
Message-Id: <p04330102b661bc01daba@[172.16.52.1]>
p4raw-id: //depot/perl@8190
|
|
|
|
|
|
|
|
| |
Allow arg to layers e.g. open($fh,"<:encode(iso8859-15)",$name)
syntax is modelled on attributes.
Untested fix for io/utf8 on Win32 etc.
Very clumsy start to the encode layer.
p4raw-id: //depot/perlio@8076
|
|
|
|
|
| |
Should fix, OS/2, VMS, (sfio??)
p4raw-id: //depot/perlio@8025
|
|
|
| |
p4raw-id: //depot/perlio@7983
|
|
|
| |
p4raw-id: //depot/perlio@7970
|