Hej,
Af nysgerighed min egen (ikke videnskabelige, men fingerpegs givende) test:
------------------
System Information
------------------
Time of this report: 2/8/2004, 00:49:12
Operating System: Windows 2000 Professional (5.0, Build 2195) Service
Pack 3
Language: English (Regional Setting: Danish)
System Manufacturer: ASUSTeK Computer INC.
System Model: A7N8X
BIOS: Phoenix - AwardBIOS v6.00PG
Processor: AMD Athlon(tm) XP 2700+, MMX, 3DNow, ~2.2GHz
Memory: 1024MB RAM
Page File: 129MB used, 2332MB available
Windows Dir: C:\WINNT
DirectX Version: DirectX 9.0b (4.09.0000.0902)
DX Setup Parameters: Not found
DxDiag Version: 5.03.0001.0902 32bit Unicode
----------------------
Test Benchmark Applet:
----------------------
http://www.ibiblio.org/javafaq/newsletter/TakApplet.html
--------------
Microsoft WM
--------------
IE 6.0 Microsoft VM - Integer
Completed 10000 passes in 4.516 seconds
2214.3489813994684 calls per second
IE 6.0 Microsoft VM - Float
Completed 10000 passes in 6.234 seconds
1604.1065126724413 calls per second
IE 6.0 Microsoft VM - Integer
Completed 100000 passes in 45.578 seconds
2194.0409846855937 calls per second
IE 6.0 Microsoft VM - Float
Completed 100000 passes in 62.875 seconds
1590.4572564612326 calls per second
----------------
SUN J2SDK 1.4.2
----------------
IE 6.0 SUN VM - Integer
Completed 10000 passes in 4.125 seconds
2424.242424242424 calls per second
IE 6.0 SUN VM - Float
Completed 10000 passes in 7.719 seconds
1295.5045990413266 calls per second
IE 6.0 SUN VM - Integer
Completed 100000 passes in 41.047 seconds
2436.231636904037 calls per second
IE 6.0 SUN VM - Float
Completed 100000 passes in 76.844 seconds
1301.3377752329395 calls per second
Mozilla Firebird - Integer
Completed 100000 passes in 40.969 seconds
2440.869926041641 calls per second
Mozilla Firebird - Float
Completed 100000 passes in 77.375 seconds
1292.4071082390954 calls per second
Det ser ud som om, at Microsofts har en svag fordel ved floating point
operationer. De har sikkert en subrutine, der er tættere integreret med
windows i denne situation. Til gengæld har Suns en svag fordel ved integer
operationer. Generelt set har de ikke meget at lade hinanden høre.
Så min konklusion er, at Microsofts VM ikke er hurtigere end Suns.
Det kunne være interessant med en LINUX test i mozilla for at sammenligne,
hvis der er nogen af jer, der har mod på det?
- Nikolaj Hansen