Login   Register  
PHP Classes
elePHPant
Icontem

Solace profiler

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Zubov Ilya
Name: Zubov Ilya <e-mail contact>
Packages: 3 Browse all classes by Zubov Ilya Browse all classes by
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 35
All time rank: 48610 in Russian Federation Russian Federation
Week rank: 837 Down16 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
This class is meant to generate profile reports by analysing the time spent executing each part of a PHP script, adding the number of PHP interpreter passes and overall time in percentage for each line.

It may be useful to find slow or unused code, compare the speed of different code implementations, track loop counts and conditions, etc..

It may generate reports in plain text or HTML format.

It supports includes, evals and asserts. This class is compatible with both PHP 4 and PHP 5. It does not require any special extensions.

  Classes of Zubov Ilya  >  Solace profiler  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Solace profiler
Base name: solace_profiler
Description: Profiler to analyse the time spent by a script
Version: -
PHP version: -
License: Freeware
All time users: 1265 users
All time rank: 2652
Week users: 1 user
Week rank: 2054 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Statistics Collecting, processing and reporting statistical data View top rated classes
Group folder image Utilities and Tools General purpose tools to simplify software development View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
May 2004
Number 4

Prize: One book of choice by O'Reilly
Sometimes it is necessary to invest some effort in optimizing applications that make significant use of hardware resources to reduce the costs of maintaining the sites where the applications are hosted.

When the applications are large it is not always easy to tell what exactly needs to be optimized. The solution consists on finding the which parts of the application consume most of the time to execute. This is the goal of application profiling tools.

This class provide a solution for profiling PHP scripts. It uses the ticks callback handler functions to locate which parts of the application are executing and how long it is taking to finish.

With this information it can produce reports that can give the developer a better idea of which are the expensive parts of their application that may be more worth investing optimization effort.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (95.8%)
Good (87.5%)
-
Sufficient (79.2%)
-
-
Sufficient (64.6%)
494
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.solace.profiler.php Class Profiler class
Accessible without login Plain text file example.html Output Profiler report
Accessible without login Plain text file example.php Example Example script with profiling
Accessible without login Plain text file example_include.php Example Example included script

Download all files: solace_profiler.tar.gz solace_profiler.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.