github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/README.md (about)

     1  # Examples
     2  Choose a language folder to select an example for your language of choice
     3  
     4  # How Pyroscope works
     5  Pyroscope identifies performance issues in your application by continuously profiling the code.
     6  
     7  If you've never used a profiler before, then welcome!
     8  
     9  If you are familiar with profiling and flame graphs, then you'll be happy to know that Pyroscope:
    10  - Requires very minimal overhead
    11  - Can store years of perf data down to 10 second granularity
    12  - Uses a unique, inverted flame graph for increased readability
    13  
    14  There are two main components that allow Pyroscope to run smoothly and quickly:
    15  ## Pyroscope agent
    16  Every .01 seconds, the Pyroscope agent wraps around your Python, Ruby, or Go application to poll the stacktrace and calculate which function is consuming your CPU resources.
    17  ![agent_server_diagram_10](https://user-images.githubusercontent.com/23323466/153685751-0aac3cd6-bbc1-4ab4-8350-8f4dc7f7c193.svg)