PHPackages                             comodojo/dispatcher.plugin.performer - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. comodojo/dispatcher.plugin.performer

AbandonedArchivedDispatcher-plugin[HTTP &amp; Networking](/categories/http)

comodojo/dispatcher.plugin.performer
====================================

Service performance plugin for comodojo/dispatcher.framework

1.0.0(11y ago)01151GPL-3.0+PHP

Since Aug 3Pushed 11y ago1 watchersCompare

[ Source](https://github.com/comodojo/dispatcher.plugin.performer)[ Packagist](https://packagist.org/packages/comodojo/dispatcher.plugin.performer)[ Docs](http://dispatcher.comodojo.org)[ RSS](/packages/comodojo-dispatcherpluginperformer/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (1)

dispatcher.plugin.performer
===========================

[](#dispatcherpluginperformer)

A service performance plugin for comodojo/dispatcher.framework.

If enabled, this plugin will inject 4 different headers in a service response:

- D-Request-Sec: time spent by framework to model request
- D-Route-Sec: routing time
- D-Result-Sec: service execution time
- D-Total-Sec: total time, from request to response

Values are calculated in microseconds.

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

[](#installation)

Just require lib in a dispatcher.project installation (current version: 1.0.0):

```
composer require comodojo/dispatcher.plugin.performer 1.0.*

```

Usage
-----

[](#usage)

To enable performer in a single service, add `'perform' => true` into service parameters (routing-config.php), like:

```
	$dispatcher->setRoute( "test_performance", "ROUTE", "performed.php", array ( 'perform' => true ) );
```

To enable performer for all services, add `DISPATCHER_PERFORM_EVERYTHING` constant into dispatcher-config.php file:

```
	define('DISPATCHER_PERFORM_EVERYTHING', true);
```

Demo
----

[](#demo)

[Dispatcher test environment](https://github.com/comodojo/dispatcher.servicebundle.test) contains a "Dispatcher performance" case.

Test environment is also available on the [online demo](http://demo.comodojo.org/dispatcher/).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Unknown

Total

1

Last Release

4298d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4cc933c2d1b92f7fd32abb459387bff69fc8a87158b1474171ccf26139904706?d=identicon)[comodojo](/maintainers/comodojo)

---

Tags

httpperformanceservicecomodojodispatcherperformer

### Embed Badge

![Health badge](/badges/comodojo-dispatcherpluginperformer/health.svg)

```
[![Health](https://phpackages.com/badges/comodojo-dispatcherpluginperformer/health.svg)](https://phpackages.com/packages/comodojo-dispatcherpluginperformer)
```

###  Alternatives

[symfony/web-link

Manages links between resources

1.4k99.0M250](/packages/symfony-web-link)[hhxsv5/laravel-s

🚀 LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

3.9k676.0k10](/packages/hhxsv5-laravel-s)[kevinrob/guzzle-cache-middleware

A HTTP/1.1 Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack. (RFC 7234)

43117.4M104](/packages/kevinrob-guzzle-cache-middleware)[northwoods/broker

Dead simple PSR-15 middleware dispatcher

27101.3k3](/packages/northwoods-broker)[pecee/tinder-sdk

Easy to use PHP SDK for accessing Tinder data.

191.3k](/packages/pecee-tinder-sdk)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

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