PHPackages                             janmikes/slowpoker - 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. janmikes/slowpoker

ActiveLibrary

janmikes/slowpoker
==================

00PHP

Since Feb 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/JanMikes/slowpoker)[ Packagist](https://packagist.org/packages/janmikes/slowpoker)[ RSS](/packages/janmikes-slowpoker/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Test speed
==========

[](#test-speed)

Runs Apache Benchmark to measure speed of application.

Requirements:
-------------

[](#requirements)

- PHP 7.3 and higher
- [Apache Bench](https://httpd.apache.org/docs/2.4/programs/ab.html)
- Git repository (for *find slow commit* feature)

Install
-------

[](#install)

- `composer require janmikes/slowpoker`

Features
--------

[](#features)

- Clears cache
- Optimizes composer autoloader
- Cleans changes in git repository when done

Usage
-----

[](#usage)

```
bin/test-speed [options]

Options:
      --maxSpeed=MAXSPEED  Max allowed response time, if not met (is higher) will exit as error
      --requests=REQUESTS  Number of HTTP requests made [default: 2000]
      --url=URL            URL to test speed with (glami.cz will be replaced with your working copy) [default: "http://www.glami.cz/damske-baleriny/?original"]
      --cacheDir=CACHEDIR  Relative path to cache directory [default: "temp/cache"]

```

Usage with git bisect
---------------------

[](#usage-with-git-bisect)

This tool is great when used in git bisect, to detect which commit slowed the application.

#### Please note, that your working copy must be valid git repository (it must contain `.git` directory).

[](#please-note-that-your-working-copy-must-be-valid-git-repository-it-must-contain-git-directory)

Run this in your working repository (working copy):

```
git bisect start
git bisect run

```

Minimum example, when I know current commit is slow (80ms) and commit `647b912` was fast (72ms) and I want to find out which commit made it slower &gt;73ms:

```
git bisect start HEAD 647b912
git bisect run /some-path/bin/speed-test --maxSpeed=73

```

---

This package was sponsored by [Glami](https://glami.cz), thank you!

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/64116239dddc003e54be22e0eb0b8f51b0919d9e02258d38c55def7a45587b8a?d=identicon)[janmikes](/maintainers/janmikes)

---

Top Contributors

[![JanMikes](https://avatars.githubusercontent.com/u/3995003?v=4)](https://github.com/JanMikes "JanMikes (22 commits)")

### Embed Badge

![Health badge](/badges/janmikes-slowpoker/health.svg)

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

PHPackages © 2026

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