Jump to content
Excelsior Forums

hejhej

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About hejhej

  • Rank
    Newbie
  • Birthday 01/01/01
  1. Hi. I'm doing a raytracer in a course, and i choose java as the language to code it in (perhaps that wasn't too wise ). I just found JET today and thought it could be a cool way to make the program faster (raytracing is slow, so speed-optimizations are good). It takes about 39 seconds to render a small pic with sun's java-compiler. BUT with the JET-compilers optimized code it takes about 65 seconds..! Allmost twice the time! So the optimizer produces slower code, which i guess wasn't the idea Is JET generally making slow code or am i doing something wrong? ---------------- My settings when compiling to native code was pretty much the default settings. JIT is disabled, inline expansion set to HIGH, runtime mode is set to "classic". I've tried messing around with some of the parameters, but it doesn't improve the speed. My program doesn't output anything to the screen, doesn't do any GUI-stuff, doesn't create any additional threads and doesn't do any IO-communication. It's more or less just a lot of method-calls, loops, floating-point calculations and object creations.
×