bvanhoekelen/performance
bvanhoekelen/performance has 520 GitHub stars and 39 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-12 08:58 UTC. Last push 2026-02-21.
⏱ 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.
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- Recopilando historial
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original⏱ PHP Performance tool 🛠

Highlight
- Measure easily the performance of your PHP script across multiple platforms
- Support for Laravel framework » Laravel
- Support interface web, web console and command line
- Export results to class, file or json string » how to use query logging
- Print information about PHP version, max exaction time and max memory
- Display current user and process id » how to display username and process id
- Support multiple points » how to use multiple points
- Measure time, memory usage and memory peak
- Switch automatically between interfaces
- Log database queries » how to use query logging
- Live function » how to use
- Easy to install » installation
- Support PHP version 5.6, 7.0, 7.1, 7.2
- Clearly and active wiki » Wiki
- Love feedback » backlog or create issues
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.
Web preview

Command line preview

Web console

See how to export data.
See more info over data review.
Functions
Set measuring point with or without label
Performance::point( <optional:label> );
Finish previous measuring point
Performance::finish();
Finish all measuring points and return test results
Performance::results();
See the function overview for more.
Command line
Run the performance test for the command line
// 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.
Installation
Install with Laravel
Get PHP performance tool by running the Composer command in the command line.
$ composer require bvanhoekelen/performance
Open your file for the performance test.
// 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.
$ composer require bvanhoekelen/performance
Open your file for the performance test.
// 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();
Explorar proyectos relacionados
Asabeneh/30-Days-Of-Python
El reto de programación 30 Days of Python es una guía paso a paso para aprender el lenguaje de programación Python en 30 días. Este reto puede llevar más de 100 días. Sigue tu propio ritmo. Estos vídeos también pueden ayudarte: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,560 estrellasgrafana/grafana
Plataforma abierta y componible de observabilidad y visualización de datos. Visualiza métricas, registros y trazas de múltiples fuentes, como Prometheus, Loki, Elasticsearch, InfluxDB, Postgres y muchas más.
77,830 estrellasredis/redis
Para los desarrolladores que crean aplicaciones en tiempo real basadas en datos, Redis es la opción preferida, la más rápida y la de más funciones como caché, servidor de estructuras de datos y motor de consultas de documentos y vectores.
77,395 estrellasapache/superset
Apache Superset es una plataforma de visualización y exploración de datos.
75,473 estrellas