2017 © Pedro Peláez
 

library performance

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

image

bvanhoekelen/performance

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  • Thursday, March 1, 2018
  • by Bart van Hoekelen
  • Repository
  • 14 Watchers
  • 216 Stars
  • 12,795 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 15 Forks
  • 0 Open issues
  • 19 Versions
  • 42 % Grown

The README.md

⏱ PHP Performance tool 🛠

Hex.pm GitHub release Packagist Github issues Travis branch Travis branch Build: Master|Develop, (*1)

PHP performance tool, (*2)

Highlight

Easy to use

// Add namespace at the top
use Performance\Performance;

// Set measure point
Performance::point();

//
// Run test code
//

// Finish all tasks and show test results
Performance::results();

See the function overview for more functions., (*3)

Web preview

PHP performance tool for web, (*4)

Command line preview

PHP performance tool for command line, (*5)

See how to use query logging., (*6)

Web console

PHP performance tool with full date review, (*7)

See how to use query logging., (*8)

See how to export data., (*9)

See more info over data review., (*10)

Functions

Set measuring point with or without label, (*11)

Performance::point( <optional:label> );

Finish previous measuring point, (*12)

Performance::finish();

Finish all measuring points and return test results, (*13)

Performance::results();

See the function overview for more., (*14)

Command line

Run the performance test for the command line, (*15)

// Normal
$ php your_script.php

// Or live version
$ php your_script.php --live 

Help, docs and links

Backlog & Feedback

If you have any suggestions to improve this performance tool? Please add your feature, bug or improvement to the BACKLOG.dm. Or create a issues. - Open backlog - Create issues, (*16)

Installation

Install with Laravel

Get PHP performance tool by running the Composer command in the command line. ```{r, engine='bash', count_lines} $ composer require bvanhoekelen/performance, (*17)


Open your file for the performance test. ```php // Add namespace at the top use Performance\Performance; // Set measure point Performance::point(); // // Run test code // // Finish all tasks and show test results Performance::results();

Install with Composer

Get PHP performance by running the Composer command in the command line. ```{r, engine='bash', count_lines} $ composer require bvanhoekelen/performance, (*18)


Open your file for the performance test. ```php // Require vender autoload require_once('../vendor/autoload.php'); // Add namespace at the top use Performance\Performance; // Set measure point Performance::point(); // // Run test code // // Finish all tasks and show test results Performance::results();

The Versions

01/03 2018

dev-master

9999999-dev

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache-2.0 Apache License 2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

01/03 2018

v2.3.5

2.3.5.0

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

01/03 2018

dev-develop

dev-develop

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache-2.0 Apache License 2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

08/02 2018

v2.3.4

2.3.4.0

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

20/11 2017

v2.3.2

2.3.2.0

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

14/09 2017

v2.3.1

2.3.1.0

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

17/08 2017

v2.2.1

2.2.1.0

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

17/07 2017

V2.2.0

2.2.0.0

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

28/06 2017

v2.1.0

2.1.0.0

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

18/05 2017

v2.0.2

2.0.2.0

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

27/04 2017

v2.0.1

2.0.1.0

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

database laravel php terminal command line query export time web performance memory compressor performance tool php performance tool php-performance analyser query log php performance analyser query analyser database query log

26/04 2017

v2.0.0

2.0.0.0

PHP performance tool analyser your script on time, memory and query. Support Laravel and Composer for web, web console and command line interfaces.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

laravel php terminal command line export time web performance memory compressor performance tool php performance tool php-performance analyser php performance analyser

20/04 2017

v1.0.7

1.0.7.0

PHP performance tool support Laravel and Composer for web, web console and command line interfaces. With built in export function to class, json and file.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

laravel php terminal command line export time web performance memory compressor performance tool php performance tool php-performance

17/04 2017

v1.0.6

1.0.6.0

PHP performance tool support Laravel and Composer for web, web console and command line interfaces. With built in export function to class, json and file.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

laravel php terminal command line export time web performance memory compressor performance tool php performance tool php-performance

17/04 2017

v1.0.5

1.0.5.0

PHP performance tool support Laravel and Composer for web, web console and command line interfaces. With built in export function to class, json and file.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

laravel php terminal command line export time web performance memory compressor performance tool php performance tool php-performance

17/04 2017

v1.0.4

1.0.4.0

PHP performance tool support Laravel and Composer for web, web console and command line interfaces. With built in export function to class, json and file.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

laravel php terminal command line export time web performance memory compressor performance tool php performance tool php-performance

16/04 2017

v1.0.3

1.0.3.0

PHP performance tool support Laravel and Composer for web, web console and command line interfaces. With built in export function to class, json and file.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

laravel php terminal command line export time web performance memory compressor performance tool php performance tool php-performance

23/03 2017

v1.0.2

1.0.2.0

PHP performance tool support Laravel and Composer for web, web console and command line interfaces. With built in export function to class, json and file.

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

laravel php terminal command line export time web performance memory compressor performance tool php performance tool php-performance

23/03 2017

v1.0.1

1.0.1.0

PHP performance tool support for Laravel and Composer

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

laravel php terminal command line export time web performance memory compressor performance tool php performance tool php-performance