Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11540 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22657 invoked by uid 1010); 24 Jul 2004 15:06:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22623 invoked from network); 24 Jul 2004 15:06:32 -0000 Received: from unknown (HELO colo.lerdorf.com) (66.198.51.121) by pb1.pair.com with SMTP; 24 Jul 2004 15:06:32 -0000 Received: from [192.168.1.105] (c-24-6-1-90.client.comcast.net [24.6.1.90]) by colo.lerdorf.com (8.12.11/8.12.11/Debian-5) with ESMTP id i6OF6UMU003339; Sat, 24 Jul 2004 08:06:30 -0700 Date: Sat, 24 Jul 2004 08:06:24 -0700 (PDT) X-X-Sender: rasmus@thinkpad.lerdorf.com To: Andi Gutmans cc: internals@lists.php.net In-Reply-To: <5.1.0.14.2.20040724003444.034ea690@127.0.0.1> Message-ID: References: <5.1.0.14.2.20040724003444.034ea690@127.0.0.1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on colo Subject: Re: [PHP-DEV] Everyone on the road? From: rasmus@php.net (Rasmus Lerdorf) On Sat, 24 Jul 2004, Andi Gutmans wrote: > Has anyone had a chance to try, test and benchmark the realpath() patch I > send to the list? I had a look the other day, but here is a more detailed look at the system calls involved in a php5 request. I have stripped out most of the stuff we can't do anything about. The script I am testing is /var/home/rasmus/php5/o which contains: The system calls required to open and read the script: getcwd("/var/home/rasmus/php5", 4096) = 22 lstat64("/var/home/rasmus/php5/o", {st_mode=S_IFREG|0644, st_size=156, ...}) = 0 setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 rt_sigaction(SIGPROF, {0x4067a7a0, [PROF], SA_RESTORER|SA_RESTART, 0x406ea658}, {0x4067a7a0, [PROF], SA_RESTORER|SA_RESTART, 0x406ea658}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0 read(3, "