Download the PHP package mtolhuys/laravel-request-benchmark without Composer
On this page you can find all versions of the php package mtolhuys/laravel-request-benchmark. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mtolhuys/laravel-request-benchmark
More information about mtolhuys/laravel-request-benchmark
Files in mtolhuys/laravel-request-benchmark
Package laravel-request-benchmark
Short Description Configurable middleware measuring your request's time and memory usage
License MIT
Homepage https://github.com/mtolhuys/laravel-request-benchmark
Informations about the package laravel-request-benchmark
Easily benchmark you're requests
This package comes with a benchmark middleware which, if included, will measure your requests time and memory usage.
Installation
You can install the package via composer:
Usage
Add the 'benchmark'
middleware to the routes you want to measure f.e.:
Out of the box this will create debug log entries f.e.:
As well as a overview page on route /request-benchmark
containing a table showing the results stored in request-benchmark.json
file.
This behavior is configurable with the included request-benchmark config file.
Run php artisan vendor:publish --provider="Mtolhuys\LaravelRequestBenchmark\LaravelRequestBenchmarkServiceProvider"
if you don't see it in your config/ folder.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Maarten Tolhuijs
- All Contributors
- Laravel Package Boilerplate
License
The MIT License (MIT). Please see License File for more information.