PHPackages                             kanti/server-timing - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. kanti/server-timing

ActiveTypo3-cms-extension[Logging &amp; Monitoring](/categories/logging)

kanti/server-timing
===================

Show timings of Database and HTTP Calls (send them to Sentry)

1.12.2(12mo ago)1235.4k↓33.9%1[4 issues](https://github.com/Kanti/server-timing/issues)[1 PRs](https://github.com/Kanti/server-timing/pulls)GPL-2.0-or-laterPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0CI passing

Since Aug 15Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Kanti/server-timing)[ Packagist](https://packagist.org/packages/kanti/server-timing)[ RSS](/packages/kanti-server-timing/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (40)Used By (0)

EXT:server\_timing - see your performance
=========================================

[](#extserver_timing---see-your-performance)

[![Server-Timing](./Documentation/Server-Timing.png)](./Documentation/Server-Timing.png)

installation
------------

[](#installation)

`composer require kanti/server-timing`

at the moment there is nothing to configure

> Server timings are not displayed in production for users who are not logged into the backend.

Included measurements:
----------------------

[](#included-measurements)

- `php`: from start of php call to the register shutdown function
- `console.command`: from start of the console command call
- `middleware.in`: will show how much time was spend in a middleware to prepare the Request
- `middleware.out`: will show how much time was spend in a middleware to change the Response
- `db`: shows the sql query's
- `mail`: shows the mails that are send (only TYPO3 &gt;=12)
- `dataP`: Shows the DataProcessors that were executed
- `extbase`: show all Extbase dispatches, (forwards are included in the original action call)
- `fileProcessing`: show all file processing calls
- `http.client`: external API calls are measured if they use the official TYPO3 `RequestFactory` or the `GuzzleClientFactory`)

> if a measurement key has more than 4 entries, they will get combined into one total time with a count. And the 3 longest entries will be kept

Sentry Tracing
--------------

[](#sentry-tracing)

if you have sentry enabled (different Extension eg. `pluswerk/sentry` or `networkteam/sentry-client`) than you can activate the tracing.

- `sentry_sample_rate`
    - if empty ` ` it will keep the setting that was set from the sentry extension.
    - if set to a number like `0.1` it will track 10% of all Requests in sentry.
- `sentry_cli_sample_rate`
    - just like `sentry_sample_rate` but this setting is for the cli calls of the `typo3` binary
- `stop_watch_limit` is set for long-running processes, if you get memory problems you can lower this setting. (default: 100\_000)
- you can force the Tracing of Requests by adding the Cookie `XDEBUG_TRACE` with any value.
    [![Tracing](./Documentation/Tracing.png)](./Documentation/Tracing.png)

Measure your own timings:
-------------------------

[](#measure-your-own-timings)

### `stopWatch` function (recommended)

[](#stopwatch-function-recommended)

```
  $stop = \Kanti\ServerTiming\Utility\TimingUtility::stopWatch('doSomething', 'additional Information');
  $result = $this->doSomethingExpensive();
  $stop();
```

### `start` &amp; `stop` functions

[](#start--stop-functions)

> this has some limitations, there can only be one `doSomething` at a time.

```
  \Kanti\ServerTiming\Utility\TimingUtility::start('doSomething', 'additional Information');
  $result = $this->doSomethingExpensive();
  \Kanti\ServerTiming\Utility\TimingUtility::end('doSomething');
```

TODO List:
==========

[](#todo-list)

todos:
------

[](#todos)

- more tests

composer patches needed?
------------------------

[](#composer-patches-needed)

- fluid renderings (possible solution with XClasses?)

wanted:
-------

[](#wanted)

- functional tests

nice to have?
-------------

[](#nice-to-have)

- ViewHelpers

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance65

Regular maintenance activity

Popularity36

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 89.7% 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 ~27 days

Recently: every ~62 days

Total

38

Last Release

360d ago

PHP version history (5 changes)1.0.0PHP ^7.3 || ~8.0 || ~8.1

1.0.9PHP ~7.4 || ~8.0 || ~8.1 || ~8.2

1.2.0PHP ~8.1.0 || ~8.2.0

1.10.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

1.12.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/471387?v=4)[Matthias Vogel](/maintainers/Kanti)[@Kanti](https://github.com/Kanti)

---

Top Contributors

[![Kanti](https://avatars.githubusercontent.com/u/471387?v=4)](https://github.com/Kanti "Kanti (104 commits)")[![CamillH](https://avatars.githubusercontent.com/u/40384365?v=4)](https://github.com/CamillH "CamillH (11 commits)")[![N0S0I](https://avatars.githubusercontent.com/u/102981181?v=4)](https://github.com/N0S0I "N0S0I (1 commits)")

---

Tags

hacktoberfestphpserver-timingtypo3typo3-extension

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kanti-server-timing/health.svg)

```
[![Health](https://phpackages.com/badges/kanti-server-timing/health.svg)](https://phpackages.com/packages/kanti-server-timing)
```

###  Alternatives

[aimeos/aimeos-typo3

Professional, full-featured and high performance TYPO3 e-commerce extension for online shops and complex B2B projects

1.5k91.2k4](/packages/aimeos-aimeos-typo3)[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)[t3monitor/t3monitoring_client

Client extension for the t3monitoring service

31851.3k1](/packages/t3monitor-t3monitoring-client)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[t3monitor/t3monitoring

T3monitoring service

5415.5k1](/packages/t3monitor-t3monitoring)[aoe/scheduler_timeline

Logs information about scheduler task execution and displays them in a graphical timeline

126.5k](/packages/aoe-scheduler-timeline)

PHPackages © 2026

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