Skip to main content

Command Palette

Search for a command to run...

Pinpointing the hottest Perl code paths in OpenResty/Nginx servers (using OpenResty XRay)

Published
1 min read
Pinpointing the hottest Perl code paths in OpenResty/Nginx servers (using OpenResty XRay)

OpenResty XRay can also analyze any Perl application in a non-invasive way. As always, you do NOT need to install any special Perl modules, use any particular Perl interpreters, or restart the Perl processes already running online (for a long time).

We published a new video tutorial to YouTube: https://youtu.be/bAhypg4zlfk

This video walks you step by step on how to quickly locate the most CPU-intensive Perl hot code paths online, with line-level accuracy.

OpenResty XRay automatically analyzes the Perl language-level and VM C-level CPU flame graphs and uses a large language model (LLM) to automatically interpret these code paths and functions and provide optimization suggestions.