Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23595 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60783 invoked by uid 1010); 20 May 2006 21:56:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60768 invoked from network); 20 May 2006 21:56:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 May 2006 21:56:11 -0000 X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:43886] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 7E/03-19568-9709F644 for ; Sat, 20 May 2006 17:56:10 -0400 Received: from baumbart.mbo (dslb-084-063-015-190.pools.arcor-ip.net [84.63.15.190]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 223B235C1D1; Sat, 20 May 2006 23:56:06 +0200 (CEST) Date: Sat, 20 May 2006 23:56:22 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1012924936.20060520235622@marcus-boerger.de> To: =?iso-8859-1?Q?Moritz_M=F6ller?= Cc: internals@lists.php.net In-Reply-To: <014f01c67c52$a94b6190$14b2a8c0@goofy> References: <014f01c67c52$a94b6190$14b2a8c0@goofy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] profiling extension and minimal-php-sapi From: helly@php.net (Marcus Boerger) Hello Moritz, apply for a pecl account (http://php.net) and commit the stuff as two projects. The minimal stuff might eventually be of interest for testing. best regards marcus Saturday, May 20, 2006, 11:16:28 PM, you wrote: > Hello, > > I made two extensions for PHP that I?m want to share, but I do not really > know how to do it ;) > > One is a profiling extension, called PhProfile: > - works with zend optimizer and similar (as opposed to xdebug) > - counts the number of function calls and the total send self time > for each function > - usable either by calling phprofile_start(); at the beginning and > print_r(phprofile_get()) at the end of the script or > - by setting up a ?dump-profile? parameter in your php.ini (like > phprofile.quick_dump_key=?prof?) and appending the parameter prof to the url > (script.php?prof=1). If done, a html table with all function calls sorted by > self time is appended to the page. > - If phprofile.quick_dump_mode is set to ?2?, the profiling data is > displayed in a popup > Source: http://mo.e-sport.com/phprofiler.html > > The other is a embedded webserver SAPI, targeted at minimal PHP > implementations for administrative interfaces. > - HTTP and HTTPS-Server > - CLI-Support > - Minimal resource usage > - Makes it possible to build a 3MB php binary that can run > php-scripts and serves a webadmin interface. > Source: http://mo.e-sport.com/miniphp.html > > Thanks for reading ;) > > Moritz > > Best regards, Marcus