ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
#50087 [NEW]: [PATCH] - NSAPI performance improvements
by Yoarvi At Gmail Dot Com other posts by this author
Nov 5 2009 2:38AM messages near this date
Re: [PHP-DEV] Feedback requested on using #defines to improve the performance of the TSRMG macro | #50087 [Opn->Csd]: [PATCH] - NSAPI performance improvements
From:             yoarvi at gmail dot com
Operating system: Solaris 5.10 (SPARC)
PHP version:      6SVN-2009-11-05 (SVN)
PHP Bug Type:     iPlanet related
Bug description:  [PATCH] - NSAPI performance improvements

Description:
------------
The PHP NSAPI plugin for Sun Web Server could be made more efficient by
applying the following patches that were previously posted to the internals
mailing list.

1. Use pool_malloc/pool_free instead of MALLOC/FREE
   http://marc.info/?l=php-internals&m=125690295631596&w=2

2. Use pool_strdup instead of STRDUP
   http://marc.info/?l=php-internals&m=125690359232507&w=2

3. Remove unnecessary strdup calls
   http://marc.info/?l=php-internals&m=125690315831950&w=2

4. Avoid unnecessary strlen
   http://marc.info/?l=php-internals&m=125690329932150&w=2

Expected result:
----------------
Improved performance.


-- 
Edit bug report at http://bugs.php.net/?id=50087&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=50087&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=50087&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=50087&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=50087&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50087&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=50087&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=50087&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=50087&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=50087&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=50087&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=50087&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=50087&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=50087&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=50087&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50087&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50087&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=50087&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=50087&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=50087&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=50087&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=50087&r=mysqlcfg
Thread:
Yoarvi At Gmail Dot Com
thetaphi
thetaphi
thetaphi

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved