Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Benchmark

Usage

Options

-0, -s, --set-up <set-up-code>
    Code that runs before each benchmark code is run.

-1, -t, --tear-down <tear-down-code>
    Code that runs after each benchmark code is run.

--<benchmark-code-name> <benchmark-code>
    Benchmark code that will be run for 10000 times.

Test

   docker run smutdose/benchmark.php -s '$o = new stdClass;' '--(array)' '$a = (array) $o' --get_object_vars '$a = get_object_vars($o)'

Build

   docker build --tag smutdose/benchmark.php .
Docker Pull Command
Owner
smutdose
Source Repository

Comments (0)