Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Code, examples, and results of profiling various methods of outputting a segmented string.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
original_test_data
class.bench.php
index.php
license.txt
readme.md

readme.md

PHP Output Profiling

This repository contains tests for profiling the performance of various output methods in PHP.

Usage / Instructions

  • Open a terminal.
  • Change your Present Working Directory to the Output-Profiling/ directory.
  • Run $ php index.php

There are four tests for print, echo, concatenation, and array + implode already coded in the index.php file. Just uncomment the test you would like to run.

Web Site

http://dan.doezema.com/2011/07/php-output-profiling-echo-vs-concat/

Author

Daniel Doezema

License

This code is released under the New BSD license. http://dan.doezema.com/licenses/new-bsd/

Something went wrong with that request. Please try again.