Giter Club home page Giter Club logo

php-profiler-extension's Introduction

Tideways PHP Profiler Extension

Build Status

The Profiler extension contains functions for finding performance bottlenecks in PHP code. The extension is one core piece of functionality for the Tideways Profiler Platform. It solves the problem of efficiently collecting, aggregating and analyzing the profiling data when running a Profiler in production.

Requirements

  • PHP 5.3, 5.4, 5.5, 5.6 or 7.0
  • cURL and PCRE Dev Headers (apt-get install libcurl4-openssl-dev libpcre3-dev)
  • Tested with Linux i386, amd64 architectures

Installation

You can install the Tideways extension from source or download pre-compiled binaries from the Tideways Downloads page.

Building from source is straightforward:

git clone https://github.com/tideways/php-profiler-extension.git
cd php-profiler-extension
phpize
./configure
make
sudo make install

You also need the latest Tideways.php if you want to use the Profiler in combination with our daemon and UI. Download the file from Github. Put this file into your extension directory. You can find the location by calling:

$ php -r 'echo ini_get("extension_dir")."\n";'
$ cp Tideways.php /path/to/php/lib

Afterwards you need to enable the extension in your php.ini:

extension=tideways.so
tideways.api_key=set your key

Usage without tideways.io UI

Important: If you don't want to use Tideways platform, just as a XHPROF alternative, you should also add the following ini configuration to your php.ini:

extension=tideways.so
tideways.auto_prepend_library=0

Documentation

You can find the documentation on the Tidways Profiler website.

php-profiler-extension's People

Contributors

beberlei avatar billf avatar kdambekalns avatar scottmac avatar rarst avatar stof avatar davidsklar avatar erikwebb avatar krakjoe avatar martinsupiot avatar c9s avatar c0refast avatar robocoder avatar bcremer avatar draco2003 avatar danez avatar dshafik avatar silverfire avatar nousefreak avatar glennpratt avatar enumag avatar oliworx avatar oerdnj avatar remicollet avatar webdevel avatar teameh avatar tolry avatar vincent-- avatar imageoptimiser avatar joedevon avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.