[E-Lang] Reflection invoke() timing measurement
Will Glozer
wglozer@yahoo.com
Thu, 19 Jul 2001 09:04:07 -0700
[Forwarded with permission. Or, rather, not originally sent to the list by
accident. --MarkM]
Hi, I ran Michael's invoke() benchmark on a Pentium III 1ghz
running Windows2000.
jdk1.3.1: build 1.3.1-b24
jdk1.4beta: build 1.4.0-beta-b65
--
\jdk1.3\bin\java InvokeTimer
Microseconds per invoke: 2.5
\jdk1.4\bin\java InvokeTimer
Microseconds per invoke: 1.1
-- and a bit more repetitions --
\jdk1.3\bin\java InvokeTimer 10000000
Microseconds per invoke: 2.3044
\jdk1.4\bin\java InvokeTimer 10000000
Microseconds per invoke: 0.7931
Quite an improvement apparently.
Regards,
Will