We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26903
    • 1,336 Posts
    Hi,

    Has anybody done this for MODx? I use the PHP Xdebug tool and the Kcachegrind analysis tool to produce output like the following :-

    http://bitez.hobby-site.com/assets/site/software/misc/snapshot1.png

    This was a simple page load from 0.9.6.2 standard install, all options , of page 15(Features) of the test site.

    Any page load can be profiled and analyzed, inside manager, outside etc.

    Sorry if this is noise but I searched the forums for ’profiling’ and came up with nothing.

      Use MODx, or the cat gets it!
      • 22303 MODX Staff
      • 10,725 Posts
      Not noise at all -- those tools were invaluable to me in developing Revolution.  And will continue to be important to help keep the software running as efficiently as possible.

      BTW, there is also WinCacheGrind for those stuck on the windoze platform.
        • 26903
        • 1,336 Posts
        Ok OpenGeek, I was just wondering how you guys did this, actually it wasn’t the profiling I was initially after although this is good stuff, I was more interested in producing some call graphs of the major manager functions e.g. login, logout, refresh doc tree, new doc etc. so I could get a quick overview of the main code paths.

        If you guys have these already are they available?

        If not I’ll put some of these together using my toolset and publish them somehow, possibly on the wiki maybe.

        I often find these give a good high level intro into non-trivial codebases like MODx for developers etc.
          Use MODx, or the cat gets it!
          • 25663 MODX Staff
          • 12,272 Posts
          shamblett, that’d be helpful to see indeed. Please go ahead, and feel free to offer suggestions as to how to make things better. Much appreciated. smiley
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me