GitXplorerGitXplorer
s

phrofiler

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
e6040e3df81facedb64b9bcb746023edb8fc7567

Add readme

ssharils committed 9 years ago
Unverified
dffe139a470780ff890b9304ef9a051d644b2233

Merge branch 'phrofiler'

ssharils committed 9 years ago
Unverified
8a9f633fd259badecc2cae0fdda3fe6199661059

Show only snippet error

ssharils committed 9 years ago
Unverified
530201a561295e8410e42cdb8dd3b11092fefdae

Avoid array_map warning on throw

ssharils committed 9 years ago
Unverified
2eb222c4e3cdb1d7cbbb1f07258fd8de5d6a9dab

Fix array to string conversion

ssharils committed 9 years ago
Unverified
234bccf78e859b39771ffbc4f861783fbdabe996

Fix undefined severity

ssharils committed 9 years ago

README

The README file for this repository.

phrofiler

PHP snippet profiler.

Install

composer require sharils/phrofiler

Example

./vendor/bin/phrofiler -s'$a = 4;' '$a === null' '!isset($a)' 'is_null($a)'
      snippet: $a === null
 timeFilename: /tmp/php-phrofiler-time-dc5a5e959c87e239e305ba72a7a461fd
wholeFilename: /tmp/php-phrofiler-whole-dc5a5e959c87e239e305ba72a7a461fd
         time: 0.0029055833816528 (average seconds)
        ratio: 100%

      snippet: !isset($a)
 timeFilename: /tmp/php-phrofiler-time-7466ec99408428ca9ad95b453d3c55fb
wholeFilename: /tmp/php-phrofiler-whole-7466ec99408428ca9ad95b453d3c55fb
         time: 0.0034789085388184 (average seconds)
        ratio: 84%

      snippet: is_null($a)
 timeFilename: /tmp/php-phrofiler-time-c848003afeaf7dd06e8d2c830fe63a4a
wholeFilename: /tmp/php-phrofiler-whole-c848003afeaf7dd06e8d2c830fe63a4a
         time: 0.0079437255859374 (average seconds)
        ratio: 37%