com phpruntests: deleting temporary memeory checking files: src/memorytestSPL.php src/memorytestSPLFilterIterator.php src/memorytestScanDir.php
| From: | David Soria Parra | Date: | Wed, 24 Jun 2009 06:42:28 +0000 |
| Subject: | com phpruntests: deleting temporary memeory checking files: src/memorytestSPL.php src/memorytestSPLFilterIterator.php src/memorytestScanDir.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-66401@lists.php.net to get a copy of this message | ||
Commit: 9cfa93ee82941cd7050141cc9db9618623d15c35
Author: Zoe Slattery <zoe@php.net> Wed, 24 Jun 2009 06:42:28 +0000
Parents: 82e639689e81c0599425d90ee86dfcbeeaed3816
Branches: master
Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=9cfa93ee82941cd7050141cc9db9618623d15c35
Log:
deleting temporary memeory checking files
Changed paths:
D src/memorytestSPL.php
D src/memorytestSPLFilterIterator.php
D src/memorytestScanDir.php
Diff:
diff --git a/src/memorytestSPL.php b/src/memorytestSPL.php
deleted file mode 100644
index 1500b59..0000000
--- a/src/memorytestSPL.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-include 'rtUtil.php';
-
-$topDir = $argv[1];
-
-
-$s1 = getMicroTime();
-
-$phptDirectoryList= rtUtil::getDirectoryList($topDir);
-
-$s2 = getMicroTime();
-$t0 = $s2 - $s1;
-echo "Time to create using SPL = " . $t0 . "\n";
-
-echo "Memory : " . memory_get_usage() . " bytes \n";
-
-var_dump(count($phptDirectoryList));
-
-
-function getMicrotime(){
- list($useg,$seg)=explode(' ',microtime());
- return ((float)$useg+(float)$seg);
-}
-
-?>
diff --git a/src/memorytestSPLFilterIterator.php b/src/memorytestSPLFilterIterator.php
deleted file mode 100644
index 4e7dd63...0000000
--- a/src/memorytestSPLFilterIterator.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-include 'rtUtil.php';
-include 'rtPhptFilterIterator.php';
-
-$topDir = $argv[1];
-
-
-$s1 = getMicroTime();
-
-$phptDirectoryList= rtUtil::getDirectoryListOld($topDir);
-
-$s2 = getMicroTime();
-$t0 = $s2 - $s1;
-echo "Time to create using SPL = " . $t0 . "\n";
-
-echo "Memory : " . memory_get_usage() .. " bytes \n";
-
-var_dump(count($phptDirectoryList));
-
-
-function getMicrotime(){
- list($useg,$seg)=explode(' ',microtime());
- return ((float)$useg+(float)$seg);
-}
-
-?>
diff --git a/src/memorytestScanDir.php b/src/memorytestScanDir.php
deleted file mode 100644
index 5a1c724..0000000
--- a/src/memorytestScanDir.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-include 'rtUtil.php';
-
-$topDir = $argv[1];
-
-
-$s3 = getMicroTime();
-$phptDirectoryList2= rtUtil::parseDir($topDir);
-$s4 = getMicroTime();
-$t1 = $s4 - $s3;
-
-echo "Time to create using scandir = " . $t1 . "\n";
-echo "Memory : " . memory_get_usage() . " bytes \n";
-
-var_dump(count($phptDirectoryList2));
-
-
-function getMicrotime(){
- list($useg,$seg)=explode(' ',microtime());
- return ((float)$useg+(float)$seg);
-}
-
-?>