• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Test a benchmark for me...

tfinch2

Lifer
If you want, and you have Java on your machine, please test this class for me and post your score and complete systems specs. It's for a Discrete Math project.

Link

EDIT: Please test the original version because I am using it for class. I plan on making various changes to the code later on for comparisions but I need results for the original!
 
AMD Sempron 2400+ @ 2.0 ghz
ECS Nforce2 mobo
1 gb RAM @ 200 FSB
40 GB Maxtor 7200 RPM 2 MB cache HDD
SB Audigy1
ATI 9700

Score: 2535
 
All currently running stock speeds:
AMD Athlon FX-55
1gb Corsair XMS
Gigabyte K8NF-9 nForce4
300GB Maxtor DiamondMax Plus 10
ATI Radeon X800 XT
Creative Sound Blaster Audigy 2 ZS

System Score: 3810.
 
E:\>"D:\Benchmark.class"
Exception in thread "main" java.lang.NoClassDefFoundError: D:\Benchmark/class


I obviously suck at java
 
Exception in thread "main" java.lang.NoClassDefFoundError: Benchmark/class

hunh?

Exception in thread "main" java.lang.UnsupportedClassVersionError: Benchmark (Un
supported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Oh, that makes more sense
😕
 
Originally posted by: Pepsi90919
ummmmm what is this file

It generates some random strings (10). Then it loops through generating lots of random strings until it generates the same random string as before. Repeat * 10.
 
Originally posted by: myusername
Exception in thread "main" java.lang.NoClassDefFoundError: Benchmark/class

hunh?

Exception in thread "main" java.lang.UnsupportedClassVersionError: Benchmark (Un
supported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Oh, that makes more sense
😕

 
AMD Barton 2500+ @ 2.21GHz (210FSB)
Asus A7N8X Deluxe (NF2) mobo
2x512MB PC3500 @ 210

System score: 2790
 
Originally posted by: myusername
Exception in thread "main" java.lang.NoClassDefFoundError: Benchmark/class

hunh?

Exception in thread "main" java.lang.UnsupportedClassVersionError: Benchmark (Un
supported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Oh, that makes more sense
😕

 
Originally posted by: amdskip
Originally posted by: myusername
Exception in thread "main" java.lang.NoClassDefFoundError: Benchmark/class

hunh?

Exception in thread "main" java.lang.UnsupportedClassVersionError: Benchmark (Un
supported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Oh, that makes more sense
😕

 
maybe the op should tell us the version of jdk used to compile this for those who are getting that error. did you use 1.5 to compile this?


barton xp 2500xp @3200xp speed
512mb pc3200 ddr sdram
abit nf2-s mobo

system score 2670
 
>java Benchmark
Exception in thread "main" java.lang.UnsupportedClassVersionError: Benchmark (Un
supported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)


>java -version
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
 
Pentium M 1.6GHz
1GB RAM
Toshiba Satellite M45-S331 laptop
I had several other programs open while running the benchmark.
Score: 2395
 
Athlon XP (Barton) 2500+ (currently running stock).
1024mb of pc3200
Abit NF7-S
Seagate 200GB SATA drive

Average of two runs of your original benchmark: 2230

Average of two runs of a tweaked version of your benchmark: 4832.5

A few simple changes really make your code much better 🙂
 
Originally posted by: Kilrsat
Athlon XP (Barton) 2500+ (currently running stock).
1024mb of pc3200
Abit NF7-S
Seagate 200GB SATA drive

Average of two runs of your original benchmark: 2230

Average of two runs of a tweaked version of your benchmark: 4832.5

A few simple changes really make your code much better 🙂

where's the tweaked version??? or did you tweak the decompiled src yourself?
 
Back
Top