BASE

Perforator

Perforator

Self-hosted development platform · Free

A cluster-wide continuous profiler: it collects application profiles and helps find CPU bottlenecks and optimize your services' code.

Also known as: yandex/perforator; perforator

Resource illustration: Perforator

Open resource ↗

What you can use for free

Code and local use under Apache-2.0.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under Apache-2.0. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Find service CPU bottlenecks using continuous profiles
  • Collect profiles and identify the application's most expensive execution sections

Example workflow

A possible workflow; this is not a report of hands-on testing.

Find service CPU bottlenecks using continuous profiles.

Before you start

  • One working workflow and test data.
  • The project's server environment and integrations.

Steps

  1. Define services and the cluster requiring continuous profiling.
  2. Collect profiles and identify the application's most expensive execution sections.
  3. Configure permissions, backups, and monitoring before production use.

Check your result

  • The workflow works with minimal permissions and error handling.
  • Compare the chosen hosting method's terms with the task; account for infrastructure and external service costs.

Choosing Perforator

Find service CPU bottlenecks using continuous profiles

Choose this when

  • Find service CPU bottlenecks using continuous profiles
  • Collect profiles and identify the application's most expensive execution sections

Requirements

  • The README specifies 64-bit x86 Linux. C, C++, Go, and Rust are listed as supported; Java and Python are experimental.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: Apache-2.0 for the main portion; eBPF unwinder source and parts of OpenJDK profiling support are GPLv2. Third-party components retain their own terms.
  • The main portion is Apache-2.0, but eBPF unwinder source and parts of OpenJDK profiling support are separately GPLv2.

Frequently asked questions

What can you use for free in Perforator?

Code and local use under Apache-2.0.

What additional costs might arise with Perforator?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Perforator?

Apache-2.0 for the main portion; eBPF unwinder source and parts of OpenJDK profiling support are GPLv2. Third-party components retain their own terms.

How do you get started with Perforator?

Define services and the cluster requiring continuous profiling. Collect profiles and identify the application's most expensive execution sections. Configure permissions, backups, and monitoring before production use.

What does Perforator require for profiling?

Perforator collects kernel and userspace stacks through eBPF and displays CPU flame graphs. Stack capture requires neither frame pointers nor debug symbols on the host. Local CLI recording and Helm deployment are available.

License

Apache-2.0 for the main portion; eBPF unwinder source and parts of OpenJDK profiling support are GPLv2. Third-party components retain their own terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Perforator
  • service
  • Development

Sources

Other resources