[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/32541] New: Buffering in OutputStreamWriter speeds up dac
From: |
robin dot garner at anu dot edu dot au |
Subject: |
[Bug classpath/32541] New: Buffering in OutputStreamWriter speeds up dacapo xalan |
Date: |
29 Jun 2007 03:22:24 -0000 |
On JikesRVM (and possibly other VMs), dacapo xalan performs lots of small IO
using the default character encoding. OutputStreamWriter currently buffers
characters when converting between character sets, but bypasses this when not
converting. Applying the buffering uniformly speeds up dacapo xalan by 2x on
JikesRVM.
ALso, for single character IO, a new char array is allocated per IO operation.
Avoiding this allocation gives a ~5% speedup.
--
Summary: Buffering in OutputStreamWriter speeds up dacapo xalan
Product: classpath
Version: 0.95
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: robin dot garner at anu dot edu dot au
GCC host triplet: all
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32541
- [Bug classpath/32541] New: Buffering in OutputStreamWriter speeds up dacapo xalan,
robin dot garner at anu dot edu dot au <=