PHPackages                             serendipity\_hq/phpunit\_profiler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. serendipity\_hq/phpunit\_profiler

ActiveLibrary[Testing &amp; Quality](/categories/testing)

serendipity\_hq/phpunit\_profiler
=================================

PHPUnit loggers to profile tests.

3.0.1(9y ago)1690MITPHPPHP ^7.0|^7.1

Since Jan 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/SerendipityHQ/SHQ_PHPUnit_Profiler)[ Packagist](https://packagist.org/packages/serendipity_hq/phpunit_profiler)[ Docs](https://github.com/SerendipityHQ/SHQ_PHPUnit_Profiler)[ RSS](/packages/serendipity-hq-phpunit-profiler/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (5)Versions (15)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/283473b35236411122278022e37c72b9b02714eb6da48e87e83de35ea6be19b6/68747470733a2f2f706f7365722e707567782e6f72672f736572656e6469706974795f68712f706870756e69745f70726f66696c65722f762f737461626c65)](https://packagist.org/packages/serendipity_hq/phpunit_profiler)[![Build Status](https://camo.githubusercontent.com/4c7ba964cf796e82bf41b4b32b0f6fed146fb01a246343ebd6ac6d86a922d13c/68747470733a2f2f7472617669732d63692e6f72672f536572656e64697069747948512f5348515f504850556e69745f50726f66696c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SerendipityHQ/SHQ_PHPUnit_Profiler)[![Total Downloads](https://camo.githubusercontent.com/95ff68abc0fa614322948a70a44f2260b4bbe4e08314b44d61edebc1d7e28807/68747470733a2f2f706f7365722e707567782e6f72672f736572656e6469706974795f68712f706870756e69745f70726f66696c65722f646f776e6c6f616473)](https://packagist.org/packages/serendipity_hq/phpunit_profiler)[![License](https://camo.githubusercontent.com/1270963c33b041626373261c448624447a748cec66f9c6f3df551a13e9dfaa31/68747470733a2f2f706f7365722e707567782e6f72672f736572656e6469706974795f68712f706870756e69745f70726f66696c65722f6c6963656e7365)](https://packagist.org/packages/serendipity_hq/phpunit_profiler)[![Code Climate](https://camo.githubusercontent.com/78fbcf15f80a37aa1606af51c70bc0a13bc86718cd9422d52609b395671e8666/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f536572656e64697069747948512f5348515f504850556e69745f50726f66696c65722f6261646765732f6770612e737667)](https://codeclimate.com/github/SerendipityHQ/SHQ_PHPUnit_Profiler)[![Test Coverage](https://camo.githubusercontent.com/6c0f184afe252d2549b4fb5aba9dd3837662ca8305facfe84ba87dc3f3719477/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f536572656e64697069747948512f5348515f504850556e69745f50726f66696c65722f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/SerendipityHQ/SHQ_PHPUnit_Profiler/coverage)[![Issue Count](https://camo.githubusercontent.com/db87a59a06521c824da61d8d1c883d97f2328036c1478fe5fdb96c4b488bcf3d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f536572656e64697069747948512f5348515f504850556e69745f50726f66696c65722f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/SerendipityHQ/SHQ_PHPUnit_Profiler)[![StyleCI](https://camo.githubusercontent.com/24f1a01b7d5aeff6fc5d83bfba369025ddcd04472a1e89349cea3c7f6f2a1d61/68747470733a2f2f7374796c6563692e696f2f7265706f732f34393438383835362f736869656c64)](https://styleci.io/repos/49488856)[![SensioLabsInsight](https://camo.githubusercontent.com/9798575e9e17579ceb3b7411f9dbb3ed90929064607e22600c9c3c717885fe39/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30616436383365342d623239622d346438622d623936382d6366623631653631313765332f6d696e692e706e67)](https://insight.sensiolabs.com/projects/0ad683e4-b29b-4d8b-b968-cfb61e6117e3)[![Dependency Status](https://camo.githubusercontent.com/68ecc48d89c4f39322146d3f7199d0bc9bd2dd761b2ebe2c80089ebfcc55aac6/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3536616532613764376530336337303033646236393639372f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/56ae2a7d7e03c7003db69697)[![Coverage Status](https://camo.githubusercontent.com/308759d3e26391780ae3bc61ce226236107d6871fa84ded92e47f68ca4b67769/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f536572656e64697069747948512f5348515f504850556e69745f50726f66696c65722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/SerendipityHQ/SHQ_PHPUnit_Profiler?branch=master)

SHQ\_PHPUnit\_Profiler
======================

[](#shq_phpunit_profiler)

A PHPUnit listener to profile the execution of test suites and tests inside them.

This listener can show the time needed by each test and each test suite to complete and the memory used by each one of them.

Installation
------------

[](#installation)

Use Composer to install this listener:

```
$ composer require serendipity_hq/phpunit_profiler

```

To [configure the listener](https://phpunit.de/manual/current/en/appendixes.configuration.html#appendixes.configuration.test-listeners) you have to pass an array of options:

```

                true
                true
                true
                true

```

The listener will output the profiling information.

NOTE: As this is a [listener](https://phpunit.de/manual/current/en/extending-phpunit.html#extending-phpunit.PHPUnit_Framework_TestListener) and not a `ResultsPrinter`, it doesn't take care of the use of `--verbose` or `--debug` options.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~40 days

Recently: every ~130 days

Total

14

Last Release

3302d ago

Major Versions

0.0.5 → 1.0.02016-01-12

1.2.3 → 2.0.02016-01-15

2.0.1 → 3.0.02017-06-15

PHP version history (3 changes)2.0.0PHP ^5.6|^7.0

2.0.1PHP ^5.4|^7.0

3.0.0PHP ^7.0|^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd91a553e180dea3a2e726643704e33a1d7e4c818b65ead1516ddf2f4e23ea43?d=identicon)[Aerendir](/maintainers/Aerendir)

---

Top Contributors

[![Aerendir](https://avatars.githubusercontent.com/u/1968622?v=4)](https://github.com/Aerendir "Aerendir (45 commits)")

---

Tags

phpunitprofilingloggers

### Embed Badge

![Health badge](/badges/serendipity-hq-phpunit-profiler/health.svg)

```
[![Health](https://phpackages.com/badges/serendipity-hq-phpunit-profiler/health.svg)](https://phpackages.com/packages/serendipity-hq-phpunit-profiler)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k129.9M913](/packages/brianium-paratest)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69619.1M606](/packages/spatie-phpunit-snapshot-assertions)[facile-it/paraunit

paraunit

145802.1k15](/packages/facile-it-paraunit)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1489.3M94](/packages/ergebnis-phpunit-slow-test-detector)[allure-framework/allure-phpunit

Allure PHPUnit integration

6613.2M44](/packages/allure-framework-allure-phpunit)[lmc/steward

Steward - makes Selenium WebDriver + PHPUnit testing easy and robust

222165.9k1](/packages/lmc-steward)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
