Skip to content

Commit

Permalink
Updated for PHP 5.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
elazar committed Dec 14, 2010
1 parent e2bc0e8 commit 1180e82
Show file tree
Hide file tree
Showing 16 changed files with 74 additions and 74 deletions.
140 changes: 70 additions & 70 deletions results/raw.csv
@@ -1,71 +1,71 @@
Elements,File,Time,EPS,Memory
10,spldoublylinkedlist-array.php,0.00022296,4485.1094366703,643224
10,spldoublylinkedlist-spl.php,0.0002508,3987.2408293461,643224
10,splfixedarray-array.php,0.00023008,4346.314325452,643112
10,splfixedarray-spl.php,0.00023824,4197.4479516454,642672
10,splminheap-array.php,0.0002687,3721.6226274656,643320
10,splminheap-spl.php,0.00030108,3321.3763783712,643448
10,splobjectstorage-array.php,0.00103116,969.78160518251,652616
10,splobjectstorage-spl.php,0.00037628,2657.5954076751,660216
10,splpriorityqueue-array.php,0.00035014,2856.0004569601,649256
10,splpriorityqueue-spl.php,0.00027796,3597.639948194,644160
10,splqueue-array.php,0.00024412,4096.3460593151,642776
10,splqueue-spl.php,0.00026096,3832.0049049663,643288
10,splstack-array.php,0.00024354,4106.1016670773,642776
10,splstack-spl.php,0.00025762,3881.6862044872,643288
100,spldoublylinkedlist-array.php,0.00026614,3757.4209062899,656528
100,spldoublylinkedlist-spl.php,0.0003538,2826.4556246467,651864
100,splfixedarray-array.php,0.00026758,3737.2000896928,656392
100,splfixedarray-spl.php,0.00027372,3653.36840567,647736
100,splminheap-array.php,0.00127514,784.22761422275,673360
100,splminheap-spl.php,0.00042086,2376.0870598299,648304
100,splobjectstorage-array.php,0.0017385,575.20851308599,734952
100,splobjectstorage-spl.php,0.00093978,1064.0788269595,806832
100,splpriorityqueue-array.php,0.00223288,447.85210132206,651248
100,splpriorityqueue-spl.php,0.00055648,1797.0097757332,648608
100,splqueue-array.php,0.00039092,2558.0681469354,656080
100,splqueue-spl.php,0.00035718,2799.7088302817,651944
100,splstack-array.php,0.00031036,3222.0646990592,656080
100,splstack-spl.php,0.00035938,2782.569981635,651944
500,spldoublylinkedlist-array.php,0.00046834,2135.2009224068,714024
500,spldoublylinkedlist-spl.php,0.00130644,765.43890266679,690264
500,splfixedarray-array.php,0.00050806,1968.2714640003,713888
500,splfixedarray-spl.php,0.000451,2217.2949002217,670112
500,splminheap-array.php,0.0320738,31.178095517213,730856
500,splminheap-spl.php,0.00112238,890.96384468718,670576
500,splobjectstorage-array.php,0.02177648,45.921103869863,1102376
500,splobjectstorage-spl.php,0.00431234,231.89266152483,1452752
500,splpriorityqueue-array.php,0.06742906,14.83040101701,684720
500,splpriorityqueue-spl.php,0.00200586,498.53927990986,668768
500,splqueue-array.php,0.00279248,358.1046238469,713576
500,splqueue-spl.php,0.00083212,1201.7497476326,690344
500,splstack-array.php,0.00063358,1578.3326493892,713576
500,splstack-spl.php,0.00084174,1188.0153016371,690344
1000,spldoublylinkedlist-array.php,0.0007714,1296.3443090485,786064
1000,spldoublylinkedlist-spl.php,0.0046073,217.04686041716,738264
1000,splfixedarray-array.php,0.00073164,1366.7924115685,785984
1000,splfixedarray-spl.php,0.0006519,1533.977603927,698136
1000,splminheap-array.php,0.14412312,6.9385120166702,806728
1000,splminheap-spl.php,0.0021008,476.00913937548,698672
1000,splobjectstorage-array.php,0.07973814,12.541049991886,1480304
1000,splobjectstorage-spl.php,0.00905436,110.44402917489,2326944
1000,splpriorityqueue-array.php,0.31746916,3.1499122623438,721311.84
1000,splpriorityqueue-spl.php,0.0038949,256.74600118103,694480
1000,splqueue-array.php,0.01103682,90.605808557175,785672
1000,splqueue-spl.php,0.00140248,713.02264559922,738344
1000,splstack-array.php,0.00107276,932.17495059473,785672
1000,splstack-spl.php,0.00136898,730.47086151733,738344
5000,spldoublylinkedlist-array.php,0.00334308,299.1253574548,1387432
5000,spldoublylinkedlist-spl.php,0.09338974,10.707814370187,1122264
5000,splfixedarray-array.php,0.00330074,302.96236601489,1387360
5000,splfixedarray-spl.php,0.00208018,480.72762933977,922136
5000,splminheap-array.php,4.34106958,0.23035797551073,1440080
5000,splminheap-spl.php,0.01098102,91.066221534976,948016
5000,splobjectstorage-array.php,1.76416366,0.56684083380337,4779896
5000,splobjectstorage-spl.php,0.06924086,14.442339393243,9836192
5000,splpriorityqueue-array.php,11.35623428,0.088057359098442,958871.04
5000,splpriorityqueue-spl.php,0.01934114,51.703260511014,899152
5000,splqueue-array.php,0.28420904,3.5185369191634,1381456
5000,splqueue-spl.php,0.00643578,155.3813213006,1116656
5000,splstack-array.php,0.00491548,203.43893170148,1381456
5000,splstack-spl.php,0.0061706,162.0587949308,1116656
10,spldoublylinkedlist-array.php,0.0002419,4133.9396444812,645376
10,spldoublylinkedlist-spl.php,0.00026848,3724.6722288439,645432
10,splfixedarray-array.php,0.00024722,4044.9801795971,645320
10,splfixedarray-spl.php,0.000257,3891.0505836576,644880
10,splminheap-array.php,0.00028344,3528.0835450183,645528
10,splminheap-spl.php,0.00027194,3677.2817533279,645656
10,splobjectstorage-array.php,0.0003742,2672.367717798,654824
10,splobjectstorage-spl.php,0.00038948,2567.5259320119,662424
10,splpriorityqueue-array.php,0.00033638,2972.8283488911,651464
10,splpriorityqueue-spl.php,0.00027784,3599.1937805931,646368
10,splqueue-array.php,0.0002369,4221.1903756859,644984
10,splqueue-spl.php,0.0002609,3832.886163281,645496
10,splstack-array.php,0.0002896,3453.0386740331,644984
10,splstack-spl.php,0.00027134,3685.4131348124,645496
100,spldoublylinkedlist-array.php,0.0002886,3465.0034650035,658680
100,spldoublylinkedlist-spl.php,0.00039016,2563.051055977,654072
100,splfixedarray-array.php,0.00028108,3557.7059911769,658600
100,splfixedarray-spl.php,0.00029304,3412.5034125034,649944
100,splminheap-array.php,0.00126326,791.60267878346,675568
100,splminheap-spl.php,0.00049368,2025.6036298817,650512
100,splobjectstorage-array.php,0.00116228,860.377877964,737184
100,splobjectstorage-spl.php,0.0009655,1035.7327809425,809040
100,splpriorityqueue-array.php,0.0025043,399.31318132812,653456
100,splpriorityqueue-spl.php,0.00056388,1773.4269702774,650816
100,splqueue-array.php,0.00036446,2743.7853262361,658288
100,splqueue-spl.php,0.00036,2777.7777777778,654152
100,splstack-array.php,0.00031036,3222.0646990592,658288
100,splstack-spl.php,0.0003442,2905.2876234747,654152
500,spldoublylinkedlist-array.php,0.0004502,2221.2350066637,716176
500,spldoublylinkedlist-spl.php,0.00133116,751.22449592836,692472
500,splfixedarray-array.php,0.00049358,2026.014020017,716096
500,splfixedarray-spl.php,0.0006064,1649.0765171504,672320
500,splminheap-array.php,0.03277312,30.51281049836,733064
500,splminheap-spl.php,0.00120914,827.0340903452,672784
500,splobjectstorage-array.php,0.00597508,167.36177590928,1104504
500,splobjectstorage-spl.php,0.00357652,279.60140024381,1454920
500,splpriorityqueue-array.php,0.067391,14.83877669125,686928
500,splpriorityqueue-spl.php,0.00188358,530.9039170091,670976
500,splqueue-array.php,0.00293944,340.20085458455,715784
500,splqueue-spl.php,0.00088056,1135.6409557554,692552
500,splstack-array.php,0.00078,1282.0512820513,715784
500,splstack-spl.php,0.00089742,1114.3054534109,692552
1000,spldoublylinkedlist-array.php,0.00069148,1446.1734251171,788272
1000,spldoublylinkedlist-spl.php,0.0046479,215.15092837626,740472
1000,splfixedarray-array.php,0.00081048,1233.8367387227,788192
1000,splfixedarray-spl.php,0.00079902,1251.5331280819,700344
1000,splminheap-array.php,0.14520354,6.8868844382169,808936
1000,splminheap-spl.php,0.00221376,451.72015033247,700880
1000,splobjectstorage-array.php,0.01397434,71.559730191193,1483056
1000,splobjectstorage-spl.php,0.00855746,116.85710479511,2329224
1000,splpriorityqueue-array.php,0.32743116,3.0540770768427,723513.6
1000,splpriorityqueue-spl.php,0.0038376,260.57952887221,696688
1000,splqueue-array.php,0.01126838,88.743901075399,787880
1000,splqueue-spl.php,0.00145874,685.52312269493,740552
1000,splstack-array.php,0.0011268,887.46893858715,787880
1000,splstack-spl.php,0.00165402,604.58761079068,740552
5000,spldoublylinkedlist-array.php,0.0028103,355.833896737,1389624
5000,spldoublylinkedlist-spl.php,0.09339064,10.707711179621,1124472
5000,splfixedarray-array.php,0.00304584,328.31665484727,1389544
5000,splfixedarray-spl.php,0.00242736,411.97020631468,924344
5000,splminheap-array.php,4.38723328,0.22793408423452,1442288
5000,splminheap-spl.php,0.01036314,96.495849713504,950224
5000,splobjectstorage-array.php,0.1012323,9.8782700778309,4781368
5000,splobjectstorage-spl.php,0.09471478,10.558014282459,11861104
5000,splpriorityqueue-array.php,11.60397422,0.086177371738422,961107.84
5000,splpriorityqueue-spl.php,0.01804232,55.42524464703,901360
5000,splqueue-array.php,0.27555824,3.6289969046108,1383680
5000,splqueue-spl.php,0.00630946,158.49216890193,1118864
5000,splstack-array.php,0.00478738,208.88252029294,1383680
5000,splstack-spl.php,0.00619274,161.47940976046,1118864
Binary file modified results/spldoublylinkedlist_eps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/spldoublylinkedlist_memory.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splfixedarray_eps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splfixedarray_memory.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splminheap_eps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splminheap_memory.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splobjectstorage_eps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splobjectstorage_memory.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splpriorityqueue_eps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splpriorityqueue_memory.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splqueue_eps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splqueue_memory.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splstack_eps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/splstack_memory.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions runner.php
@@ -1,13 +1,13 @@
<?php

/**
* This script executes the SPL test scripts located in the tests
* subdirectory, measure the average execution time and memory usage for a
* specified number of executions, and records it in a CSV file for later
* This script executes the SPL test scripts located in the tests
* subdirectory, measure the average execution time and memory usage for a
* specified number of executions, and records it in a CSV file for later
* use.
*/

define('PHP_CGI_PATH', '/home/matt/Downloads/php-5.3.2/build/php_build/bin/php-cgi');
define('PHP_CGI_PATH', '/home/matt/Downloads/php-5.3.4/build/php_build/bin/php-cgi');
define('EXECUTIONS', 50);

$elements = array(10, 100, 500, 1000, 5000);
Expand Down

0 comments on commit 1180e82

Please sign in to comment.