Did you catch it? -----Original Message----- From: Mikhail Loenko [mailto:[EMAIL PROTECTED] Sent: Sun Mar 26 21:09:31 2006 To: harmony-dev@incubator.apache.org; [EMAIL PROTECTED] Subject: Re: More helpful error messages
I've made another test: I've called various methods 5'000'000 times test1: static void a() { i++; } test2: static void a() throws Exception { i++; throw new Exception(""); } test3: static void a() throws Exception { i++; throw e; } The times were: test1: 60 test2: 12500 test3: 700 So, the most performnace-expensive operation is creating a new object. Thanks, Mikhail