[PHP-DEV] Real world database & statistics for phpBB3

2009-07-20 Thread Alexander Hjalmarsson
Hi there

On the web application benchmark project we are in need of data regarding
phpBB3.

We need a sample (preferable a very large one) of a real world database
along with some usage statistics (e.g. how many % of all visits go to
index.php, showthread etc) to be able to simulate a real user scenario, much
like playing back the original scenario in a speedy mode.

If there's anyone here that might be able to help in this subject it's very
welcome.

Best regards
Alexander


[PHP-DEV] CLI benchmark ready for testing

2009-07-01 Thread Alexander Hjalmarsson
Hi there!

The php CLI benchmark is now pretty much ready for some testing. I'd like
any type of feature feedback and bug reports are appreciated.

There is a brief documentation available at the scratchpad,
http://wiki.php.net/doc/scratchpad/benchmark . It describes the main
features and how it can be used. Keep in mind that the cachegrind tool takes
very long time to execute, so I suggest using only --path microtests if it
is for testing only, since it will be way shorter in that case.

The location of the cvs is http://cvs.php.net/viewvc.cgi/php-benchmarks/ .

Comments are appreciated, good or/and bad :)

Best regards
Alexander


[PHP-DEV] Re: [PHP-CVS] cvs: phpruntests /code-samples arrayTest.php

2009-06-22 Thread Alexander Hjalmarsson
On Sun, Jun 21, 2009 at 9:42 PM, Paul Biggar  wrote:

> Hi Georg,
>
> Thanks for the quick reply.
>
> On Sun, Jun 21, 2009 at 8:22 PM, Georg Gradwohl
> wrote:
> > thanks for the notice. To cut a long story short: we've discussed the use
> of
> > the SPL-File-Iterator in the runtests-project. So I created a very simple
> > test which passes through an array to compare the performance of the
> > spl-iterator to a for-loop.
> >
> > So I think this is no overlap with the benchmark-project, it's just a
> small
> > helper to alleviate our decision.
>
> Ah ok, I can see that. Thanks.
>
>  FWIW, I consider the benchmarks to be a subproject of the run-tests
> framework, at least in the long run.
>
>
> > PHP 5.3.0RC2 (cli)
> > g2-mbp:code-samples g2$ php arrayTest.php 
> > size:
> > loop:0.00361 sec (100%)
> > spl: 0.02502 sec (693%)
> > DIFF:0.02141 sec
> >
> > PHP 5.2.8 (cli)
> > g2-mbp:code-samples g2$ php arrayTest.php 
> > size:
> > loop:0.00489 sec (100%)
> > spl: 0.76226 sec (15588%)
> > DIFF:0.75737 sec
>
>
> That is interesting. Alexander is making a place for microbenchmarks,
> so we might copy this at some point.


Indeed, it looks good and I think this might fit well in the micro bench. I
think I'll add it
>
>
>
> Thanks,
> Paul
>
>
> > Am 21.06.09 20:49 schrieb "Paul Biggar" unter :
> >
> >> Hi Georg,
> >>
> >> I notice this commit that looks like a benchmark. I'm trying to figure
> >> out if the new run-tests rewrite overlaps with the benchmarks GSoC
> >> project (you might not have been aware since we have the discussions
> >> on php-qa). I wouldn't mind hearing your thoughts so that we avoid
> >> duplicated effort.
> >>
> >> Thanks,
> >> Paul
> >
> >
> >
> >
>
>
>
> --
> Paul Biggar
> paul.big...@gmail.com
>

Out of curiosity, do you know if there any more micro-benchs in the runtests
that we might take a look at as well?

Best regards
Alexander


[PHP-DEV] CVS Account Request: hjalle

2009-04-25 Thread Alexander Hjalmarsson
Contributing benchmarks

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php