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 3w 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 41% 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

3837d 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/browser

A fluent interface for your Symfony functional tests.

2262.5M38](/packages/zenstruck-browser)[zenstruck/messenger-test

Assertions and helpers for testing your symfony/messenger queues.

2755.4M20](/packages/zenstruck-messenger-test)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

51390.8k2](/packages/web-auth-webauthn-framework)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

65474.5k9](/packages/web-auth-webauthn-symfony-bundle)[zenstruck/mailer-test

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

45719.0k6](/packages/zenstruck-mailer-test)

PHPackages © 2026

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