Re: [cp-patches] Patch: use StringBuilder for reading/writing property files

2005-11-11 Thread Mark Wielaard
On Wed, 2005-11-02 at 11:31 +0100, Christian Thalinger wrote: On Tue, 2005-11-01 at 22:16 +0100, Mark Wielaard wrote: That seems like an significant improvement. Could you test with a larger dataset (or just run the test in a loop 10 times)? I still haven't tried with gcj. If someone could

Re: [cp-patches] Patch: use StringBuilder for reading/writing property files

2005-11-01 Thread Christian Thalinger
On Tue, 2005-11-01 at 21:00 +0100, Christian Thalinger wrote: On Sun, 2005-10-30 at 12:28 +0100, Mark Wielaard wrote: position. Opinions? Volunteers? Anyone want to test against other runtimes? Or another test set? Hmm, just tested the patch with cacao. It finished in 1.48user with and

Re: [cp-patches] Patch: use StringBuilder for reading/writing property files

2005-10-28 Thread Mark Wielaard
Hi Anthony, On Thu, 2005-10-20 at 22:18 -0700, Anthony Green wrote: On Wed, 2005-10-19 at 14:53 -0700, Anthony Green wrote: On Wed, 2005-10-19 at 12:49 -0700, David Daney wrote: You also might want to look at comment #1 of: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21869

Re: [cp-patches] Patch: use StringBuilder for reading/writing property files

2005-10-27 Thread Robert Schuster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andrew, I suspect that Vector usage is from the time when Vector was the only storage class we had available. AFAIK ArrayList (which is IMHO Vector without locking) and friends have been introduced with 1.2 Could you find out where Vector is used

Re: [cp-patches] Patch: use StringBuilder for reading/writing property files

2005-10-26 Thread Andrew John Hughes
On Wed, 2005-10-19 at 12:24 -0700, Anthony Green wrote: Synchronization often shows up near the very top of gcj-compiled benchmarks. It turns out that, for benchmarks I've run, ~50% of the synchronization calls come from reading property files with StringBuffer. This should all go away if we

Re: [cp-patches] Patch: use StringBuilder for reading/writing property files

2005-10-21 Thread Tom Tromey
Anthony == Anthony Green [EMAIL PROTECTED] writes: Anthony I patched the FC rawhide GCC to use gnu.gcj.runtime.StringBuffer in Anthony java.util.Properties, and wrote a little program to read the locale Anthony property files from GNU Classpath. Reading the property files was Anthony about 10%

[cp-patches] Patch: use StringBuilder for reading/writing property files

2005-10-19 Thread Anthony Green
Synchronization often shows up near the very top of gcj-compiled benchmarks. It turns out that, for benchmarks I've run, ~50% of the synchronization calls come from reading property files with StringBuffer. This should all go away if we use StringBuilder instead. Ok? 2005-10-19 Anthony Green