Skip to content

spaulg/cardio

Repository files navigation

Cardio

Cardio is a PHP profiler. Written in C++, it is loaded as a PHP extension.

It's a work in progress and doesn't yet have a stable implementation or UI.

Requirements

  • C++17 compiler
  • PHP 7.1+ (ZTS or NTS)
  • libcurl

Compiling

Release build

cmake -B build -S .
cmake --build build --parallel

Debug build

cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug
cmake --build build --parallel --config Debug 

Rebuilding a specific target

cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug
cmake --build build --parallel --target php_probe --config Debug 

Running tests

ctest --test-dir build

Testing a specific target

cd build/probe/php
ctest

Installation

cmake --install build

About

Cardio PHP profiler

Resources

License

Stars

Watchers

Forks

Packages

No packages published