Skip to content
/ pyroscope Public
forked from grafana/pyroscope

πŸ”₯ Continuous Profiling Platform πŸ”₯ Debug performance issues down to a single line of code

License

Notifications You must be signed in to change notification settings

Mu-L/pyroscope

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Pyroscope

Go Tests Status JS Tests Status Go Report Apache 2 License Latest release DockerHub GoDoc

Website β€’ Docs β€’ Demo β€’ Examples β€’ Slack

Read this in other languages.

δΈ­ζ–‡ (Simplified)

Pyroscope is an open source continuous profiling platform. It will help you:

  • Find performance issues in your code
  • Resolve issues with high CPU utilization
  • Understand the call tree of your application
  • Track changes over time

πŸ”₯ Pyroscope Live Demo πŸ”₯

Pyroscope GIF Demo

Features

  • Can store years of profiling data from multiple applications
  • You can look at years of data at a time or zoom in on specific events
  • Low CPU overhead
  • Efficient compression, low disk space requirements
  • Snappy UI
  • Support for Go, Ruby and Python

Try Pyroscope locally in 3 steps:

# install pyroscope
brew install pyroscope-io/brew/pyroscope

# start pyroscope server:
pyroscope server

# in a separate tab, start profiling your app:
pyroscope exec python manage.py runserver # If using Python
pyroscope exec rails server               # If using Ruby

# If using Pyroscope cloud add flags for server address and auth token
# pyroscope exec -server-address "https://your_company.pyroscope.cloud" -auth-token "ps-key-1234567890" python manage.py runserver

Documentation

For more information on how to use Pyroscope with other programming languages, install it on Linux, or use it in production environment, check out our documentation:

Deployment Diagram

Deployment Diagram

Downloads

You can download the latest version of pyroscope for macOS, linux and Docker from our Downloads page.

Supported Integrations

  • Ruby (via rbspy)
  • Python (via py-spy)
  • Go (via pprof)
  • Linux eBPF (via profile.py from bcc-tools)
  • PHP (via phpspy)
  • .NET (via dotnet trace)
  • Java (coming soon)

Let us know what other integrations you want to see in our issues or in our slack.

Credits

Pyroscope is possible thanks to the excellent work of many people, including but not limited to:

  • Brendan Gregg β€” inventor of Flame Graphs
  • Julia Evans β€” creator of rbspy β€” sampling profiler for Ruby
  • Vladimir Agafonkin β€” creator of flamebearer β€” fast flamegraph renderer
  • Ben Frederickson β€” creator of py-spy β€” sampling profiler for Python
  • Adam Saponara β€” creator of phpspy β€” sampling profiler for PHP
  • Alexei Starovoitov, Brendan Gregg, and many others who made BPF based profiling in Linux kernel possible

Contributing

To start contributing, check out our Contributing Guide

Thanks to the contributors of Pyroscope!

About

πŸ”₯ Continuous Profiling Platform πŸ”₯ Debug performance issues down to a single line of code

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 75.5%
  • JavaScript 17.7%
  • SCSS 3.5%
  • Shell 1.7%
  • Dockerfile 0.8%
  • Makefile 0.7%
  • HTML 0.1%