Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A suite of tests comparing performance of PHP SPL data structures to PHP arrays.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 results
Octocat-spinner-32 tests
Octocat-spinner-32 README
Octocat-spinner-32 graphs.php
Octocat-spinner-32 memory.php
Octocat-spinner-32 runner.php
README
This repository contains scripts intended to benchmark operations of data 
structure classes from the PHP SPL extension against their array counterparts.

runner.php - Executes all files in tests/ and stores results in results/raw.csv
memory.php - Used by runner.php to record memory usage
graphs.php - Generates charts in GIF format of data from results/raw.csv; 
             requires ezcGraph
tests - Contains two scripts per SPL data structure class, one for SPL 
        operations and one for their array counterparts
results - Destination of aggregated results from runner.php and charts from 
          graphs.php

NOTES: Runner executes tests with php-cgi. Make sure php-cgi.ini has register_argc_argv
set to On. Also make sure that in php.ini "variables_order" contains 'E' so that
runner can resolve path to php binaries.

Blog post http://matthewturland.com/2010/05/20/new-spl-features-in-php-5-3/
Slides http://www.slideshare.net/tobias382/new-spl-features-in-php-53
Something went wrong with that request. Please try again.