initial import of pear-Benchmark-1.2.1

--
Provides a framework for benchmarking and profiling PHP scripts by
allowing timing measurements and iterative testing.
This commit is contained in:
avsm 2003-05-23 21:32:52 +00:00
parent a6f8b10525
commit b9e67ae5e2
5 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/05/23 21:32:52 avsm Exp $
COMMENT= "framework to benchmark PHP scripts or function calls"
V= 1.2.1
DISTNAME= Benchmark-${V}
PKGNAME= pear-Benchmark-${V}
CATEGORIES= benchmarks pear
MASTER_SITES= http://pear.php.net/get/
EXTRACT_SUFX= .tgz
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
MODULES= pear
# PHP License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (Benchmark-1.2.1.tgz) = 47114bf9e7ff959d8806a70de9ef36b7
RMD160 (Benchmark-1.2.1.tgz) = 8befb4e6f1c0770f1765d36b33294e9889f4494c
SHA1 (Benchmark-1.2.1.tgz) = c4f362b98d532a03c90bf37a483eff231286ae58

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-doc_timer_example_php,v 1.1.1.1 2003/05/23 21:32:52 avsm Exp $
--- doc/timer_example.php.orig Fri May 23 22:29:23 2003
+++ doc/timer_example.php Fri May 23 22:29:42 2003
@@ -1,5 +1,5 @@
<?php
-require '../Timer.php';
+require 'Benchmark/Timer.php';
function wait($amount) {
for ($i=0; $i < $amount; $i++) {

View File

@ -0,0 +1,2 @@
Provides a framework for benchmarking and profiling PHP scripts by
allowing timing measurements and iterative testing.

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/05/23 21:32:52 avsm Exp $
pear/doc/Benchmark/doc/timer_example.php
pear/lib/.registry/Benchmark.reg
pear/lib/Benchmark/Iterate.php
pear/lib/Benchmark/Profiler.php
pear/lib/Benchmark/Timer.php
@dirrm pear/lib/Benchmark
@dirrm pear/doc/Benchmark/doc
@dirrm pear/doc/Benchmark