PHPackages                             mudasobwa/screwdrivers - 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. mudasobwa/screwdrivers

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

mudasobwa/screwdrivers
======================

Small PHP library for benchmarking.

0.1.2(12y ago)315BSD-3-ClausePHP

Since Mar 30Pushed 12y ago1 watchersCompare

[ Source](https://github.com/mudasobwa/screwdrivers)[ Packagist](https://packagist.org/packages/mudasobwa/screwdrivers)[ Docs](http://rocket-science.ru)[ RSS](/packages/mudasobwa-screwdrivers/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

To ease the PHP development

### Installation

[](#installation)

```
$ vim composer.json

```

```
{
  "require": {
    "mudasobwa/screwdrivers": "0.1.*"
  }
}
```

```
$ curl http://getcomposer.org/installer | php
$ php composer.phar install --prefer-source

```

### YardStick

[](#yardstick)

*YardStick* is a class, providing easy access to benchmarking.

It allows the embedded-in-code becnhmarks, such as:

```
…
$ys = new \Mudasobwa\Screwdrivers\YardStick(true);
$ys->milestone('YS1#Start');
$my_obj->perform_long_operation($param1, $param2);
$ys->milestone('YS2');
$my_obj->perform_long_operation($param3, $param4);
$ys->milestone('YS1#Finish');
$ys->report('YS.+'); // report measures for milestones `YS*`
```

The output will be looking like:

```
==== Results for tag: [1396189882.6664-YS1#Start]
--   ⌚ Time     ⇒ 03/30/14 14:31:22
--   ⌛ Memory:  ⇒ 6915KB
--   Peak (1m): ⇒ 7075KB
--   Load:      ⇒ 0.82
==== Diff for tags: [1396189882.6664 :: 1396189882.6989]
--   ⌚ Time:    ⇒ 0.032443 sec
--   ⌛ Memory:  ⇒ 7.0 KB
==== Diff for tags: [1396189882.6989 :: 1396189882.98]
--   ⌚ Time:    ⇒ 0.281102 sec
--   ⌛ Memory:  ⇒ 5.9 KB
——————————————————————————————————————
==== Diff for tags: [1396189882.6664 :: 1396189882.98]
--   ⌚ Time:    ⇒ 0.313545 sec
--   ⌛ Memory:  ⇒ 12.9 KB

```

Another way is to measure the specific methods (and/or compare them):

```
\Mudasobwa\Screwdrivers\YardStick::benchmark(
   new FlexibleString('Hello, world!'), 'replace', array('/l/', 'L')
);
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

4474d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1567503?v=4)[Alexei Matyushkin](/maintainers/mudasobwa)[@mudasobwa](https://github.com/mudasobwa)

---

Top Contributors

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

###  Code Quality

TestsBehat

### Embed Badge

![Health badge](/badges/mudasobwa-screwdrivers/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[andersondanilo/cnab_php

Projeto para criar arquivos de remessas e processar arquivos de retorno no formato CNAB

329267.9k2](/packages/andersondanilo-cnab-php)[opensrs/osrs-toolkit-php

OpenSRS PHP Toolkit

7570.0k](/packages/opensrs-osrs-toolkit-php)[clausnz/php-helpers

A Collection of useful php helper functions.

389.8k](/packages/clausnz-php-helpers)[bnomei/autoloader-for-kirby

Helper to automatically load various Kirby extensions in a plugin

185.7k2](/packages/bnomei-autoloader-for-kirby)

PHPackages © 2026

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