Thread: Mats, the java answers

  1. #1
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416

    Mats, the java answers

    from this thread:
    http://cboard.cprogramming.com/showthread.php?t=100764

    Have you actually verified this with a suitable benchmark? And where is it being slower (profiling)? I would expect that the XFree86 organization would be very interested in suggestions for improvement here.

    on my LFS builds I only build in support for the card on the system, the difference in load time is not significant for xorg, less than one second is about the increase when I checked.


    Doing what? I have run systems similar to yours with jre, and I haven't seen it in any profiling data - so what are you doing when it's running slower?


    install suns jre 1.6, enable java in seamonkey and start the browser. That was a major reduction in system performance. only installed the jre to try to attend a webcast on security.
    no profiling data, only counting of second blinks in the clock, 15 second load time with no java, 45 second load time with java.
    [ multiple jre options is a critical flaw in the java language in my opinion, and until one jre will run every java app as written, it is not usable. ( don't forget, sun broke backwards compatibility with their own jre between 1.12 and 1.14 so there is no true backwards compatibility in java* ) ]

    How about using oprofile to measure the difference, and point the code out to someone who can fix it, if it's that noticeable - assuming of course you are not using Java-code to do something, in which case I expect jre to appear somewhere on the profile.


    to do that, I would have to have actually been running a java app, not just one with support for java enabled. I didn't get as far as installing the client software for the webcast, as well as actually want java apps on my system. If it requires java, it is of no use, until java is open source, and has one jre with full backwards compatibility I'll not use any java app.


    *When I say backwards compatibility, I mean all java apps ever written, which is what Sun broke between sun jre-1.12 and sun jre1.14,( 1998 ) so java has zero backwards compatibility, by SUN's own design.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Jaqui View Post
    from this thread:
    http://cboard.cprogramming.com/showthread.php?t=100764

    Have you actually verified this with a suitable benchmark? And where is it being slower (profiling)? I would expect that the XFree86 organization would be very interested in suggestions for improvement here.

    on my LFS builds I only build in support for the card on the system, the difference in load time is not significant for xorg, less than one second is about the increase when I checked.
    So, you are saying that the improvement is in the load time of X, not the actual runtime once X has started? That makes sense, but for most intents and purposes isn't an important improvement. If you can make an improvement where the graphics actually draws quicker, then that would definitely be interesting.


    Doing what? I have run systems similar to yours with jre, and I haven't seen it in any profiling data - so what are you doing when it's running slower?


    install suns jre 1.6, enable java in seamonkey and start the browser. That was a major reduction in system performance. only installed the jre to try to attend a webcast on security.
    no profiling data, only counting of second blinks in the clock, 15 second load time with no java, 45 second load time with java.
    [ multiple jre options is a critical flaw in the java language in my opinion, and until one jre will run every java app as written, it is not usable. ( don't forget, sun broke backwards compatibility with their own jre between 1.12 and 1.14 so there is no true backwards compatibility in java* ) ]

    How about using oprofile to measure the difference, and point the code out to someone who can fix it, if it's that noticeable - assuming of course you are not using Java-code to do something, in which case I expect jre to appear somewhere on the profile.


    to do that, I would have to have actually been running a java app, not just one with support for java enabled. I didn't get as far as installing the client software for the webcast, as well as actually want java apps on my system. If it requires java, it is of no use, until java is open source, and has one jre with full backwards compatibility I'll not use any java app.


    *When I say backwards compatibility, I mean all java apps ever written, which is what Sun broke between sun jre-1.12 and sun jre1.14,( 1998 ) so java has zero backwards compatibility, by SUN's own design.
    Ok, I think I understand that. Not sure what the actual problem is, and on the systems I've used, I have mostly used FireFox, and not really familiar with Seamonkey.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. cs ab: java book
    By valis in forum Tech Board
    Replies: 3
    Last Post: 08-29-2005, 05:05 PM
  2. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  3. Analysis of Top Programming Languages Companies Need :: Inbelievable!
    By kuphryn in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 01-06-2003, 04:23 PM
  4. How Cool is Java
    By dukemarlon in forum A Brief History of Cprogramming.com
    Replies: 24
    Last Post: 11-28-2002, 05:24 PM
  5. Calling all Java programmers...
    By face_master in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 04-14-2002, 05:43 AM