Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

performance of java applications on PDA  RSS feed

 
kumm redd
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
any comments please?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
any comments?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!