Patch: java.io.PrintStream
Michael Koch
konqueror@gmx.de
Tue Jun 10 15:06:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Montag, 9. Juni 2003 09:48 schrieb Michael Koch:
> Am Montag, 9. Juni 2003 00:21 schrieben Sie:
> > >>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:
> >
> > Michael> I would like to merge java.io.PrintStream from
> > Michael> classpath. This basically uses a PrintWriter object
> > Michael> internally instead of doing it all alone.
> >
> > Could you verify that this doesn't cause a performance
> > regression? I ask only because System.out is a PrintStream, so it
> > is probably used pretty frequently.
>
> I will do some performance tests.
>
> > I suspect this change won't matter. But I'd rather we know that
> > ahead of time. If it doesn't cause a regression, go ahead.
>
> Lets see what the test results are ....
I did some testing with the attached java app and got now perfermance
regessions. In fact I got the same time values for both.
Ok to commit now ?
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+5fSTWSOgCCdjSDsRAnKQAJ9u/2XSpug0kHLmgz3kyY3/gqlyDwCfdZOI
C+tsl0q2Gkn1N5oq3oyCAQ0=
=dKCU
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PrintStreamTest.java
Type: text/x-java
Size: 185 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030610/301cbbd5/attachment.bin>
More information about the Java-patches
mailing list