Slashdot Mirror


Build Your Own Java Performance Profiling Tool

An anonymous reader writes "IBM DeveloperWorks has an interesting look at creating a custom profiler using Java 5 and AOP. From the article: 'Profiling is a technique for measuring where software programs consume resources, including CPU time and memory. This article provides a list of best-of-breed features you might look for in an ideal profiler and explains why aspect-oriented techniques are well suited to achieving some of those features. It also introduces you to the JDK 5.0 agent interface and walks you through the steps of using it to build your own aspect-oriented profiler.'"

5 of 153 comments (clear)

  1. Obligatory by Bastard+of+Subhumani · · Score: 0, Funny

    Coming up later: high performance tuning tips for Citroen 2CV owners.

    --
    Only three things are certain; death, taxes, and apocryphal quotations - Ben Franklin.
  2. Re:My Java Profiler Written in C by Anonymous Coward · · Score: 1, Funny
    i wrote one like that for C, it goes like th#@$(JAWDj12309iDAW--

    --shit, sorry, must have trashed a pointer somewhere. hang on, this'll just take a minute...

    ;)

  3. Re:Why? by animaal · · Score: 5, Funny

    I agree totally. Java is dead. We just have to get the message through to the huge numbers of organizations and developers who depend on the technology to get their jobs done. Oh, and then we have to come up with something better to replace it. Give me a little while... ;)

  4. here's my profiler by cygnus · · Score: 3, Funny
    public class HomegrownProfiler {
    public static void main(String[] args) {
    while (true) {
    System.out.println("Some people say this'll never be quite as fast as hand-tuned C.");
    }
    }
    }
    --
    Just raise the taxes on crack.
  5. best-of-breed by teneighty · · Score: 3, Funny

    Never use the word "best-of-breed" again. Or else.