PHP Class PhpBench\Benchmark\Baseline\Baselines

See also: PhpBench\Benchmark\BaselineManager
显示文件 Open project: dantleech/phpbench

Public Methods

Method Description
fwriteFread ( $revs ) Open a file, write a string to it $revs times, then read each line back.
md5 ( $revs ) Calculate an md5 hash.
nothing ( $revs ) Do nothing.

Method Details

fwriteFread() public static method

Open a file, write a string to it $revs times, then read each line back.
public static fwriteFread ( $revs )

md5() public static method

Calculate an md5 hash.
public static md5 ( $revs )

nothing() public static method

Do nothing.
public static nothing ( $revs )