[PHP] php benchmarking suite

2002-07-23 Thread George Schlossnagle

Is anyone aware of a php benchmarking suite comparable in functionality 
to perls Benchmark.pm?

// George Schlossnagle
// Principal Consultant
// OmniTI, Inc  http://www.omniti.com
// (c) 240.460.5234   (e) [EMAIL PROTECTED]
// 1024D/1100A5A0  1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP debugging/tracing extensrion release

2001-11-14 Thread George Schlossnagle

This is just a quick announcement of the release of APD, a completely free and open 
(QPL) profiling/tracing/debugging extension for PHP.  APD provides for strace/truss 
type output switched on and off inside scriipts as well as the ability to dump 
complete backtraces, similair to Perl's croak().  APD has been tested on 
php-4.0.3pl1->4.1.0RC2.  It's available at http://apd.communityconnect.com/.

George

--
George Schlossnagle
1024D/1100A5A0  1370 F70A 9365 96C9 2F5E  56C2 B2B9 262F 1100 A5A0




[PHP] Spread Extension for PHP

2001-06-19 Thread George Schlossnagle



For those interested, I have a beta-quality wrapper 
extension for the Spread (http://www.spread.org/) group communication 
toolkit.  This is designed to complement existing extensions for perl, 
java and ruby.  Sources available at http://www.omniti.com/~george/php_spread/php_spread-0.1.tar.gz Currently 
compiles and runs on Linux, should compile and trun fine on BSD with no 
problems.
 
George
 
--George Schlossnagle1024D/1100A5A0  
1370 F70A 9365 96C9 2F5E  56C2 B2B9 262F 1100 
A5A0


[PHP] APC version 1.0.9 pushed

2001-03-31 Thread George Schlossnagle

New version pushed with all the current CVS changes.

- fixes for numerous small bugs
- fix for memory alignment errors on 64 bit systems
- many new cache-visibility functions added
- optional fcntl locks under shm versions (look in apc_cache.c)

As always, available at http://apc.communityconnect.com

Also, Mike Bretz and team have developed a beautiful gui to provide easy
management of your APC cluster.  Check out http://apc.neuropeans.com/
(this gui requires the functions new in v1.0.9)

Enjoy!

George



-- 
$_ = 'George Schlossnagle';
s#.#(ord$')-(ord$&)+((index($_,$')-$&)?1002:0)#ego;s#-#((substr($],4,1)-6)?67:$-[0])#eog;$:=$_;print
join('',(map chr$_,reverse
map{substr($:,(3*$_),3)+(11,-109,-14,94,-894,-28,-61,-202,-417,83,-20,-678,53,96,4,-494,82,-869,-826,24,16,-684,-450,-27)[$_]}(0...length($_)/3)),chr(length($_)/2+ord$/),$/);


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] [Fwd: php...]

2001-03-31 Thread George Schlossnagle


-- 
$_ = 'George Schlossnagle';
s#.#(ord$')-(ord$&)+((index($_,$')-$&)?1002:0)#ego;s#-#((substr($],4,1)-6)?67:$-[0])#eog;$:=$_;print
join('',(map chr$_,reverse
map{substr($:,(3*$_),3)+(11,-109,-14,94,-894,-28,-61,-202,-417,83,-20,-678,53,96,4,-494,82,-869,-826,24,16,-684,-450,-27)[$_]}(0...length($_)/3)),chr(length($_)/2+ord$/),$/);


I'm sure you appreciate the importance of transitive equality in programming
languages (especially they all aspire to be pseudo-mathematical), which is
why I think you'll appreciate this.



Perl, of course, outputs the expected values: $a, $b, $c and $d are equal
under '==', and only $a and $b are equal under 'eq'. PHP's '===' operator
(its equivalent to 'eq') says that $a, $b, $c and $d are all different.

Doesn't that seem like a fundamental flaw? How can equality NOT be
transitive?? How can anyone be expected to write programs in such an
environment?

D






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


[PHP] APC version 1.0.7 released

2001-01-29 Thread George Schlossnagle

Changes in this version:

1.0.7:
+ partially fixed for Solaris [gws 01.29.2001]
+ fixed mtime support for relative includes [gws 01.29.2001]
+ code cleanup [yg,ta,gws 01.29.2001]
+ support for mtime in mmap [yg,gws 01.27.2001]
+ fixed indexed-array initialization bug [djc,gws 01.27.2001]


This should be the first version which fully supports phplib.

apc is available at http://apc.communityconnect.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] SMTP interface in php?

2001-01-24 Thread George Schlossnagle

Is there a generic SMTP interface library for php?  Something akin to
perl's Net::SMTP.  php's mail() is not terribly flexible for sending
mass mail, and I was going to write one that's a lower-level interface,
but I don't want to waste my time re-inventing the wheel if one already
exists

Thanks,

George


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: [Apc-cache] APC version 1.0.5 released

2001-01-19 Thread George Schlossnagle

Also, this incorporates the patch to correctly support multi-tier class
hierachies posted to apc-cache yesterday.


Daniel Cowgill wrote:
> 
> New features/fixes:
> 
> * support for relative include paths
> * support for the include_path setting in php.ini
> * new php function 'apc_cache_index'
> * default initialization of class member data (as arrays) now works
> 
> Note: to enable support for either relative paths OR the include_path
> setting, you must set apc.relative_includes to 1 in your php.ini file.
> Check the FAQ for more details.
> 
> APC homepage: http://apc.communityconnect.com/
> 
> Dan
> 
> ___
> Apc-cache mailing list
> [EMAIL PROTECTED]
> http://lists.communityconnect.com/mailman/listinfo/apc-cache


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: [Apc-cache] Re: [PHP] APC version 1.0.4 released

2001-01-18 Thread George Schlossnagle

http://apc.communityconnect.com/download.html
The Doctor wrote:
> 
> On Wed, Jan 17, 2001 at 07:00:12PM -0500, Daniel Cowgill wrote:
> > Fixes this time around:
> >
> > * class hierarchies more than two levels deep should work now :)
> > * should compile cleanly under PHP 4.0.2 through 4.0.4pl1
> >
> > Dan
> >
> >
> 
> Where do we get this??
> 
> 
> ___
> Apc-cache mailing list
> [EMAIL PROTECTED]
> http://lists.communityconnect.com/mailman/listinfo/apc-cache


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re:[PHP] logging page views, which method is better????

2001-01-14 Thread George Schlossnagle

For a good distributed logging solution, check out mod_log_spread
(http://www.backhand.org/mod_log_spread/).  It's an apache module that
handles distributed logging by writing logs to reliable multicast
groups.  Additionally, because it multicasts data, additional clients
and log writers can be added on the fly without any additional overhead
or configuration.  It is also provides good handling of mod_vhost_alias
logs.

George

-- 
$_ = 'George Schlossnagle';
s#.#(ord$')-(ord$&)+((index($_,$')-$&)?1002:0)#ego;s#-#((substr($],4,1)-6)?67:$-[0])#eog;$:=$_;print
join('',(map chr$_,reverse
map{substr($:,(3*$_),3)+(11,-109,-14,94,-894,-28,-61,-202,-417,83,-20,-678,53,96,4,-494,82,-869,-826,24,16,-684,-450,-27)[$_]}(0...length($_)/3)),chr(length($_)/2+ord$/),$/);


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] APC cache and Solaris

2001-01-12 Thread George Schlossnagle

Hi Monte,

I saw your post on php-general.  I don't have access to a Solaris7 box,
but to get the shm version to compile under Solaris8, just make the
following change to apc_sem.c:


17:10:57(root@bp6)> diff apc_sem.c apc_sem.c.new 
33c33
< #ifdef APC_HOST_LINUX
---
> #ifndef   APC_HOST_BSD

The mmap version seems to compile straight out of the box.  Let me know
if you have any other problems.  This change will be incorporated into
the first bug-fix release, which should be out in a couple days.

George

Monte Ohrt wrote:
> 
> It works for me now... last night I was downloading it to windows, then
> ftp'ing it to my linux box... something wasn't working right.
> 
> Thanks
> Monte
> 
> George Schlossnagle wrote:
> >
> > Hi.  Hmmm... unzips fine for me.  I've attached a freshly tarred copy.
> >
> > Monte Ohrt wrote:
> > >
> > > Hey guys, this tgz archive seems to be incomplete.. one messed up file
> > > called "GORY_DETAILS"
> >
> > --
> > $_ = 'George Schlossnagle';
> > 
>s#.#(ord$')-(ord$&)+((index($_,$')-$&)?1002:0)#ego;s#-#((substr($],4,1)-6)?67:$-[0])#eog;$:=$_;print
> > join('',(map chr$_,reverse
> > 
>map{substr($:,(3*$_),3)+(11,-109,-14,94,-894,-28,-61,-202,-417,83,-20,-678,53,96,4,-494,82,-869,-826,24,16,-684,-450,-27)[$_]}(0...length($_)/3)),chr(length($_)/2+ord$/),$/);
> >
> >   
> >   Name: apc-1.0.tgz
> >apc-1.0.tgzType: unspecified type (application/octet-stream)
> >   Encoding: base64
> 
> --
> Monte Ohrt <[EMAIL PROTECTED]>
> http://www.ispi.net/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: APC Cache and eval()

2001-01-12 Thread George Schlossnagle

Guess I should look at the code/try it out before I respond to things. 
:)

eval()'d code works fine, though it won't be cached (the file calling it
will be of course, but no eval()'d bit won't be.)



Michael Kimsal wrote:
> 
> You mean 'eval' doesn't work at all, or doing an 'eval' on a particular
> file?
> 
> George Schlossnagle wrote:
> 
> > Haven't tried it.  My guess is that it doesn't work, but could be made
> > to.
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: APC Cache and eval()

2001-01-12 Thread George Schlossnagle

No idea.  :) Haven't tried it.  I'll check and write back to the list.  

Michael Kimsal wrote:
> 
> You mean 'eval' doesn't work at all, or doing an 'eval' on a particular
> file?
> 
> George Schlossnagle wrote:
> 
> > Haven't tried it.  My guess is that it doesn't work, but could be made
> > to.
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: APC Cache and eval()

2001-01-12 Thread George Schlossnagle

Haven't tried it.  My guess is that it doesn't work, but could be made
to.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] APC Alternative PHP Cache Release Announcement

2001-01-11 Thread George Schlossnagle

I'd like to announce the release of the APC Alternative PHP Cache
http://apc.communityconnect.com/ .  APC works by caching the scripts in
shared memory post-compilation to effectively eliminate the overhead of
parsing and compilation.  APC was developed as a completely free and
open alternative to the Zend Cache, and is extremely robust and
flexible.  Performance increases are very significant (100-200% on many
of our scripts, which admittedly have lengthy includes.  You results may
vary. :)

george

-- 
$_ = 'George Schlossnagle';
s#.#(ord$')-(ord$&)+((index($_,$')-$&)?1002:0)#ego;s#-#((substr($],4,1)-6)?67:$-[0])#eog;$:=$_;print
join('',(map chr$_,reverse
map{substr($:,(3*$_),3)+(11,-109,-14,94,-894,-28,-61,-202,-417,83,-20,-678,53,96,4,-494,82,-869,-826,24,16,-684,-450,-27)[$_]}(0...length($_)/3)),chr(length($_)/2+ord$/),$/);


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]