GithubHelp home page GithubHelp logo

secretsauce / spl-benchmarks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elazar/spl-benchmarks

0.0 1.0 0.0 707 KB

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

spl-benchmarks's Introduction

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

spl-benchmarks's People

Contributors

elazar avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.