PHPackages                             dawen/dic-service-benchmark-bundle - 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. dawen/dic-service-benchmark-bundle

ActiveSymfony-bundle[Testing &amp; Quality](/categories/testing)

dawen/dic-service-benchmark-bundle
==================================

Test the service instantiation time.

0.2.0(10y ago)16.8kMITPHPPHP &gt;=5.5.0

Since Dec 22Pushed 10y agoCompare

[ Source](https://github.com/da-wen/dic-service-benchmark-bundle)[ Packagist](https://packagist.org/packages/dawen/dic-service-benchmark-bundle)[ RSS](/packages/dawen-dic-service-benchmark-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

dic-service-benchmark-bundle
============================

[](#dic-service-benchmark-bundle)

This code will instantiate every registered service from the DIC and checks the time taken.

---

### Installation

[](#installation)

Require the dawen/dic-service-benchmark-bundle package in your composer.json and update your dependencies.

```
    $ composer require dawen/dic-service-benchmark-bundle
```

This bundle contains no code for Runtime, or any services. You don't have to add it to your AppKernel.

---

Usage
-----

[](#usage)

Check out where you phpunit is installed and run *(hint: disable coverage for this test)*:

```
    bin/phpunit -c app vendor/dawen/dic-service-benchmark-bundle/Dawen/Bundle/DicServiceBenchmarkBundle/Tests/DicServiceBenchmarkTest.php
```

This will print out a list of services and their time elapsed when instantiating. This test will fail, if services will take longer than 50ms.

If you want to ignore service id's you can add in your phpunit.xml a global war that holds all service id's colon separated.

```

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

3792d ago

### Community

Maintainers

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

---

Top Contributors

[![da-wen](https://avatars.githubusercontent.com/u/3296502?v=4)](https://github.com/da-wen "da-wen (6 commits)")

---

Tags

symfonybundletestservicedicbenchmarksmoke

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dawen-dic-service-benchmark-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dawen-dic-service-benchmark-bundle/health.svg)](https://phpackages.com/packages/dawen-dic-service-benchmark-bundle)
```

###  Alternatives

[zenstruck/foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.

78311.9M97](/packages/zenstruck-foundry)[zenstruck/messenger-test

Assertions and helpers for testing your symfony/messenger queues.

2774.8M13](/packages/zenstruck-messenger-test)[zenstruck/browser

A fluent interface for your Symfony functional tests.

2272.2M21](/packages/zenstruck-browser)[zenstruck/mailer-test

Alternative, opinionated helpers for testing emails sent with symfony/mailer.

46671.1k3](/packages/zenstruck-mailer-test)[unigen/unigen-bundle

Symfony bundle for unigen test generator

1227.8k](/packages/unigen-unigen-bundle)[beelab/test-bundle

A test library for Symfony framework

1928.8k1](/packages/beelab-test-bundle)

PHPackages © 2026

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