Kernel::WebApp::Plugin::1140DebuggerPerlGlobalProfiler

NAME

Kernel::WebApp::Plugin::1140DebuggerPerlGlobalProfiler – Perl global profiler support

PUBLIC INTERFACE

register()

provides request-level profiling for the web server based on Devel::NYTProf.

To enable the profiler, please:

1. Activate enable_debugger_perl_profiler in WebApp.conf,

2. Start your server with:

    # Development:
    PERL5OPT=-d:NYTProf NYTPROF='trace=0:start=no' scripts/DevelopmentWebserver.pl

    # Service:
    # Environment="PERL5OPT=-d:NYTProf" "NYTPROF='trace=0:start=no:addpid=1:slowops=0'"

At this point, the profiling is in standby mode.

To trigger the start of recording, create this file (which will get auto removed):

    nytprof/work/start

To trigger the end of recording, create this file (which will get auto removed):

    nytprof/work/stop

Open the resulting file(s) in var/tmp/nytprof to view the results.

Scroll to Top