Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatisticsListener #744

Merged
merged 2 commits into from
Nov 3, 2017
Merged

StatisticsListener #744

merged 2 commits into from
Nov 3, 2017

Conversation

siad007
Copy link
Member

@siad007 siad007 commented Jul 23, 2017

Added a statiscs listener inspired by codehaus/antomology

Example output:



                         Project Statistics

name                 count    average        total          %      
-------------------------------------------------------------------
Phing Build Tests    1        2.99191 sec    2.99191 sec    100    


           Target Statistics - Phing Build Tests

name          count    average        total          %     
-----------------------------------------------------------
configure     1        0.01383 sec    0.01383 sec    1     
initialize    1        0.00016 sec    0.00016 sec    0     
reports       1        2.36982 sec    2.36982 sec    99    


             Task Statistics - Phing Build Tests

name           count    average        total          %     
------------------------------------------------------------
adhoc          2        0.00181 sec    0.00361 sec    0     
delete         1        0.02953 sec    0.02953 sec    1     
echo           3        0.00045 sec    0.00135 sec    0     
fileset        1        0.00474 sec    0.00474 sec    0     
if             1        0.00376 sec    0.00376 sec    0     
includepath    1        0.00087 sec    0.00087 sec    0     
mkdir          3        0.00209 sec    0.00627 sec    0     
path           1        0.00292 sec    0.00292 sec    0     
phpunit        1        2.33222 sec    2.33222 sec    97    
property       5        0.00100 sec    0.00502 sec    0     
resolvepath    5        0.00092 sec    0.00458 sec    0     



Process finished with exit code 0

@mrook
Copy link
Member

mrook commented Jul 25, 2017

Looks good except for a few whitespace inconsistencies, can you clean those up?

@siad007
Copy link
Member Author

siad007 commented Jul 29, 2017

@mrook fixed ;)

@siad007 siad007 added this to the 3.0 milestone Aug 22, 2017
@mrook mrook merged commit 3e1511b into phingofficial:master Nov 3, 2017
@siad007 siad007 deleted the StatisticColletor branch November 4, 2017 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants