Skip to content
@tracewick

Tracewick

Always-on, low-overhead production profiler for PHP. Flame graphs from live traffic, built on ext-excimer.

Tracewick

Continuous sampling profiles for PHP.
Flame graphs from live traffic, built on ext-excimer.


What it is

Tracewick samples PHP stacks with ext-excimer and exports wall-time or CPU profiles to Grafana Pyroscope. Applications write a local spool; the Go agent handles aggregation, pprof encoding and network delivery outside the request path. The library bounds its work and reports runtime failures through diagnostics.

Why

Most performance problems only show up under real traffic, with real data and real concurrency. Staging profiles and one-off traces miss them. Tracewick gives you continuous, low-cost visibility into where production time actually goes, per endpoint and per release.

Status

Core, agent and Symfony bundle 1.0.0-rc.1 are published. These are release candidates for 1.0, not final stable releases. Pin candidate versions explicitly and read the migration notes when upgrading from 0.2. The core supports PHP 8.2–8.5; sampling requires ext-excimer.

The Symfony bundle supports core ^0.2 || ^1.0. For the candidate pair, install both tracewick/symfony-bundle:1.0.0-rc.1 and tracewick/tracewick:1.0.0-rc.1 explicitly; see the Symfony installation guide. The Flex recipe is awaiting upstream review; use the documented manual configuration until it is available.

Projects

Project Description Status
tracewick/tracewick PHP sampling, runtimes and local spool 1.0.0-rc.1
tracewick/agent Recommended delivery sidecar; Linux amd64/arm64, binaries and GHCR 1.0.0-rc.1
tracewick/symfony-bundle HTTP, Console and opt-in Messenger integration 1.0.0-rc.1
tracewick/benchmarks Reproducible overhead, accuracy, recovery and soak evidence Published reports and raw data

Laravel integration remains planned. Automatic OpenTelemetry trace/span correlation is deferred with no target release.

Delivery and installation

Use the core quick start to write spool v2, then follow the agent installation guide. Run one normal reader per spool with compatible UID/GID. Delivery is at least once; spool admission is soft, so operators set disk limits through volumes or quotas. PHP tracewick-drain remains supported for cron, one-shot delivery and as a reference reader.

The RC releases include SBOMs and keyless signatures. Verification instructions: core · agent archives and images · Symfony bundle. Composer does not verify these signatures automatically. Agent RC images have versioned tags and do not replace the stable latest image.

Measured results

  • 72-hour RoadRunner + agent soak: 2,592,001 requests at 10 RPS, no HTTP failures or reported profiler drops; PHP worker RSS and CPU per request remained stable in that run.
  • Current-development campaign: three equal-work baseline/on pairs measured a median +0.462% PHP CPU per request at sample rate 0.1, plus recovery and real Symfony delivery checks.

Reports record exact source pins, workloads and limitations. The campaigns use different revisions; these measurements are not universal overhead or leak-free guarantees.

All Tracewick projects are open source under the Apache License 2.0.

Pinned Loading

  1. tracewick tracewick Public

    Sampling profiler for PHP built on ext-excimer: flame graphs, pprof and continuous profiling exports (alpha).

    PHP 1

Repositories

Showing 6 of 6 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…