2017 © Pedro Peláez
 

library execution-speed

This component provides the functionality to calculate the execution speed

image

bogkov/execution-speed

This component provides the functionality to calculate the execution speed

  • Saturday, August 19, 2017
  • by bogkov
  • Repository
  • 0 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

GitHub license Latest Stable Version Minimum PHP Version Build Status codecov Scrutinizer Code Quality, (*1)

Execution Speed

This component provides the functionality to calculate the execution speed, (*2)

Installation

This package can be installed as a Composer dependency bogkov/execution-speed, (*3)

composer require bogkov/execution-speed

Usage

<?php
$executionSpeed = new Bogkov\ExecutionSpeed\ExecutionSpeed($max = 50);
$executionSpeed->push($count = 100, $duration = 10);
$executionSpeed->push($count = 120, $duration = 11);
$executionSpeed->push($count = 90, $duration = 8);

echo 'Speed: ' . $executionSpeed->getSpeed($coefficient = 0.3, $precision = 2); // Speed: 10.85

The Versions

19/08 2017

dev-master

9999999-dev

This component provides the functionality to calculate the execution speed

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Bogdan Koval

task speed execution speed speed calculate

19/08 2017

1.0.0

1.0.0.0

This component provides the functionality to calculate the execution speed

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Bogdan Koval

task speed execution speed speed calculate