• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

performance of java applications on PDA

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi guys
As part of my graduation project I am planning to do a profiler for finding out performance bottlenecks of JavaApplications running on PDA .

Could anyone let me know whether there are already tools that serve this purpose..if so please list them..that would be very greatful to analyse them before engineering my tool.

so what you guys say about this ? is it gonna be useful for this rapid market?

Please vote YES NO before reply..like
YES
THEN TYPE THE MESSAGE.

hope that you will help me in making my graudation sucesfull.

cheers
reddy
 
kumm redd
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
any comments please?
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are there Java profilers? Yes, lots of them. OptimizeIt, JProbe, YourKit, and a host of others are all mature tools, and most if not all of them should work with programs using the J2ME APIs. How would yours be different.

Now, I don't know about profilers running directly in conjunction with a simulator, but that doesn't mean they don't exist. You'd probably have better luck in our J2ME forum.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Based on my limited experimentation, String display operations can really slow you down - for example, trying to do word-wrap.
Bill
 
kumm redd
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi ernst,

First let me thank you for reply.

yes there exists many profilers in market , ofcourse they might support j2me applications too...but the profiler i am gonna develop would be running on PDA's and measure the performance of applications running on them.

Take for example optimizeit, the system requirements to use this are
128 MB RAM recommended minimum
� 256 MB RAM recommended
� 50 MB hard disk space recommended minimum
(includes space required during install)
� CD-ROM drive
� SVGA or higher resolution (800x600, 256 color)
� Mouse or other pointing device

which are impossible on high-end PDA'S too.

so what would you suggest? is my reasoning to develop a new profiler is ok?
please comment on this.
No problem you can tell me if i am wrong,as i am a student and in learning phase and would like to more.

Thank you,
Reddy
 
kumm redd
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi william

thank you for your reply.could you plese explain me in detial that i am gonna face regarding string display operations that you were mentioning..i am very new to this performance related issues and currently a student,so please help me regarding this.

Thank you
Reddy
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are trying to create a nice display of text in a fixed display area you run into a word wrap problem. The natural breaks in the text are unlikely to fall neatly into the space available. You can see this sort of problem in action in newspapers where they are trying to lay out text in narrow columns.

Your choices include:
1. arbitrarily break the words - result is hard to read
2. work backward through the text to find a logical break for word wrap
This is not too bad for monospaced fonts, but they are hard to read and waste lots of display space. With proportional fonts you end up doing lots of calculations involving string display length based on font/character width - time consuming.
3. make a best guess at word wrap and provide horizontal scrolling - very inconvenient
Of course, small device CPUs and JVMs have gotten a lot faster so this may not be as big a problem as it was when I tackled it several years ago.
Bill
 
kumm redd
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi william

thanks for explanation ,.. could you please let me know if there are any profilers that could be installed on the PDA and used to check out the performance of running java applicaitons..if so please let me know ..

thanks
reddy
 
kumm redd
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
any comments?
 
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic