Jump to content
Excelsior Forums
Sign in to follow this  

slow console i/o

Recommended Posts

I did a bench mark on a program that expands html static macros in

4300 files. see http://mindprod.com/jgloss/htmlstaticmacros.html

The result were surprising.

Java 1.5 26 seconds

Java 1.6 23 seconds

Jet 35 seconds

I made a small change, removing some console I/O of a mere 3700 charcters done a character at a time.? That changed things considerably.? I gather that is not an area Sun or Jet have spent time optimising.

The effect was surprising.

Java 1.5 25 seconds

Java 1.6 21 seconds

Jet 26 seconds

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this