Common PHP functions benchmarks

This is a discussion on Common PHP functions benchmarks within the PHP General forums, part of the PHP Programming Forums category; I've been running some benchmarks on popular PHP functions. I would like to get some input on them from ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008
Jason Knight
 
Posts: n/a
Default Common PHP functions benchmarks

I've been running some benchmarks on popular PHP functions. I would like to
get some input on them from the community. So far I have run tests on
Arrays and PHP5's SPL ArrayObject, as well as loops and some networking
functions.


Here is a link to the code used for the benchmarks.
http://www.synthable.com/benchmarks/

Thanks,
Jason <http://www.synthable.com/>

Reply With Quote
  #2 (permalink)  
Old 04-08-2008
Nathan Nobbe
 
Posts: n/a
Default Re: [PHP] Common PHP functions benchmarks

On Tue, Apr 8, 2008 at 1:52 PM, Jason Knight <jcknight@gmail.com> wrote:

> I've been running some benchmarks on popular PHP functions. I would like
> to
> get some input on them from the community. So far I have run tests on
> Arrays and PHP5's SPL ArrayObject, as well as loops and some networking
> functions.
>
>
> Here is a link to the code used for the benchmarks.
> http://www.synthable.com/benchmarks/



i did some tests a couple of months ago; pitting array iteration vs.
iteration w/ spl iterators. link is down atm; but will be back soon and ill
post again so you have something similar to look at. a quick glance shows
you have some thorough tests; but for the results some graphs would be nice
:) kinda hard to see 'the big picture' w/o them.

-nathan

Reply With Quote
  #3 (permalink)  
Old 04-11-2008
Jason Knight
 
Posts: n/a
Default Re: Common PHP functions benchmarks

Does nobody have any other input?

On Tue, Apr 8, 2008 at 12:52 PM, Jason Knight <jcknight@gmail.com> wrote:

> I've been running some benchmarks on popular PHP functions. I would like
> to get some input on them from the community. So far I have run tests on
> Arrays and PHP5's SPL ArrayObject, as well as loops and some networking
> functions.
>
>
> Here is a link to the code used for the benchmarks.
> http://www.synthable.com/benchmarks/
>
> Thanks,
> Jason <http://www.synthable.com/>
>


Reply With Quote
  #4 (permalink)  
Old 04-11-2008
Larry Garfield
 
Posts: n/a
Default Re: [PHP] Common PHP functions benchmarks

I did some similar micro-benchmarking a while back, too:

http://www.garfieldtech.com/blog/magic-benchmarks

On Tuesday 08 April 2008, Jason Knight wrote:
> I've been running some benchmarks on popular PHP functions. I would like
> to get some input on them from the community. So far I have run tests on
> Arrays and PHP5's SPL ArrayObject, as well as loops and some networking
> functions.
>
>
> Here is a link to the code used for the benchmarks.
> http://www.synthable.com/benchmarks/
>
> Thanks,
> Jason <http://www.synthable.com/>



--
Larry Garfield AIM: LOLG42
larry@garfieldtech.com ICQ: 6817012

"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson
Reply With Quote
  #5 (permalink)  
Old 04-13-2008
Nathan Nobbe
 
Posts: n/a
Default Re: [PHP] Common PHP functions benchmarks

On Tue, Apr 8, 2008 at 4:00 PM, Nathan Nobbe <quickshiftin@gmail.com> wrote:

> i did some tests a couple of months ago; pitting array iteration vs.
> iteration w/ spl iterators. link is down atm; but will be back soon and ill
> post again so you have something similar to look at. a quick glance shows
> you have some thorough tests; but for the results some graphs would be nice
> :) kinda hard to see 'the big picture' w/o them.
>


got the dev site back up. heres the tests; let me know if they dont
resolve.

http://nathan.moxune.com/arrayVsArrayIteratorReport.php

-nathan

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:41 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0