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 today

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 46% 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

3744d 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.

78111.3M80](/packages/zenstruck-foundry)[zenstruck/messenger-test

Assertions and helpers for testing your symfony/messenger queues.

2744.6M10](/packages/zenstruck-messenger-test)[zenstruck/browser

A fluent interface for your Symfony functional tests.

2272.1M13](/packages/zenstruck-browser)[zenstruck/mailer-test

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

46641.2k2](/packages/zenstruck-mailer-test)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8111.4k2](/packages/phpbenchmark-phpbenchmark)[unigen/unigen-bundle

Symfony bundle for unigen test generator

1227.8k](/packages/unigen-unigen-bundle)

PHPackages © 2026

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