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

ActiveProject

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 today

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 37% 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

4425d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b35918b295248703afeb543495866f99e0616dbbff8a1b3ff00bfce6abe6831?d=identicon)[mudasobwa](/maintainers/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/device-detector

The Universal Device Detection library, that parses User Agents and detects devices (desktop, tablet, mobile, tv, cars, console, etc.), clients (browsers, media players, mobile apps, feed readers, libraries, etc), operating systems, devices, brands and models.

3.5k23.5M111](/packages/matomo-device-detector)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.4k37.3k](/packages/matomo-matomo)[soapbox/laravel-formatter

A formatting library that converts data output between XML, CSV, JSON, TXT, YAML and a few others.

2501.1M12](/packages/soapbox-laravel-formatter)[andersondanilo/cnab_php

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

334260.6k2](/packages/andersondanilo-cnab-php)[pods-framework/pods

Pods is a development framework for creating, extending, managing, and deploying customized content types in WordPress.

1.1k1.7k](/packages/pods-framework-pods)[philipp15b/php-i18n

Simple i18n class for PHP

320124.4k7](/packages/philipp15b-php-i18n)

PHPackages © 2026

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