PHPackages                             jun3453/prosp - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jun3453/prosp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jun3453/prosp
=============

Processing speed measurement library for PHP.

v0.0.3(6y ago)25MITPHPPHP &gt;=7.0CI failing

Since Mar 24Pushed 6y ago2 watchersCompare

[ Source](https://github.com/jun3453/prosp)[ Packagist](https://packagist.org/packages/jun3453/prosp)[ RSS](/packages/jun3453-prosp/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

prosp
=====

[](#prosp)

Processing speed measurement library for PHP.

Description
===========

[](#description)

I Googled "How to processing time measure with PHP".
I always forgot how to do it, so I made it a library.

In this library, you can measure the processing time in milliseconds by putting the start and end calls in the processing.

Install
=======

[](#install)

```
$ composer require jun3453/prosp

```

Usage
=====

[](#usage)

Example
-------

[](#example)

```
for($i=0;$i
  array(2) {
    [1] =>
    double(0.43487548828125)
    [2] =>
    double(0.08082389831543)
  }
  'totalRounds' =>
  int(2)
}

```

#### Get all context result.

[](#get-all-context-result)

`ProcessingSpeedMeasurement::getAllProcessingResults()`

```
array(2) {
  'bar' =>
  array(2) {
    'processTimes' =>
    array(4) {
      [1] =>
      double(0.042915344238281)
      [2] =>
      double(0.25415420532227)
      [3] =>
      double(0.016927719116211)
      [4] =>
      double(0.016927719116211)
    }
    'totalRounds' =>
    int(4)
  }
  'foo' =>
  array(2) {
    'processTimes' =>
    array(2) {
      [1] =>
      double(0.43487548828125)
      [2] =>
      double(0.08082389831543)
    }
    'totalRounds' =>
    int(2)
  }
}

```

#### Get all context longer than specified milliseconds.

[](#get-all-context-longer-than-specified-milliseconds)

`ProcessingSpeedMeasurement::getResultsLongerThanSpecifiedMs(0.04)`

```
array(2) {
  'bar' =>
  array(2) {
    [0] =>
    array(2) {
      'processTime' =>
      double(0.042915344238281)
      'round' =>
      int(1)
    }
    [1] =>
    array(2) {
      'processTime' =>
      double(0.25415420532227)
      'round' =>
      int(2)
    }
  }
  'foo' =>
  array(2) {
    [0] =>
    array(2) {
      'processTime' =>
      double(0.43487548828125)
      'round' =>
      int(1)
    }
    [1] =>
    array(2) {
      'processTime' =>
      double(0.08082389831543)
      'round' =>
      int(2)
    }
  }
}

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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

3

Last Release

2244d ago

### Community

Maintainers

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

---

Top Contributors

[![jun3453](https://avatars.githubusercontent.com/u/20894690?v=4)](https://github.com/jun3453 "jun3453 (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jun3453-prosp/health.svg)

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

PHPackages © 2026

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