Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [propel-dev] Propel 2.0 spl_autoload

propel
Discussion topic

Back to topic list

Re: [propel-dev] Propel 2.0 spl_autoload

Reply

Author Soenke Ruempler <soenke at ruempler dot eu>
Full name Soenke Ruempler <soenke at ruempler dot eu>
Date 2006-10-03 14:05:28 PDT
Message On 03.10.2006 21:50, Scott Wehrenberg wrote:

> On 10/3/06, Hans Lellelid <hans at velum dot net> wrote:
>> Another option would be to write a Phing task that builds all dependency
>> classes into a single file. This doesn't seem that difficult -- and
>> it's what Phing is great at. Then users can "build out" their Propel
>> package for performance reasons if they want to have everything packaged
>> in a single file. I don't see why this would be incompatible with other
>> ideas proposed.
>>
>
> I would love to see some speed comparisons between the single big file
> approach and the autoload method that's being worked on now. I'm
> guessing that the single big file would lose out without an opcache
> except in the rare circumstance where you're working with basically
> all of the classes for a request. It'd be a little more interesting to
> see how each did with the opcache.


Even with an opcode cache you have to respect the sandbox-principle of
PHP. The Class/Function/Object-model is built upon every new request.
Opcode Caches just eliminate parsing and compiling, but every
class/function must be registered in the engine though.

So I'm wondering if there are performance improvements or even losings
in a big object model with one big file. Maybe (IMHO) just using (and
registering) the classes that will be needed is faster!

-soenke

« Previous message in topic | 33 of 40 | Next message in topic »

Messages

Show all messages in topic

                         Re: [propel-dev] Propel 2.0 spl_autoload =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-10-03 08:12:02 PDT
                             Re: [propel-dev] Propel 2.0 spl_autoload Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-10-03 08:23:53 PDT
                         Re: [propel-dev] Propel 2.0 spl_autoload hlellelid Hans Lellelid 2006-10-03 10:47:11 PDT
                             Re: [propel-dev] Propel 2.0 spl_autoload Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2006-10-03 12:19:32 PDT
                                 Re: [propel-dev] Propel 2.0 spl_autoload =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-10-03 12:31:40 PDT
                                 Re: [propel-dev] Propel 2.0 spl_autoload hlellelid Hans Lellelid 2006-10-03 12:47:04 PDT
                                     Re: [propel-dev] Propel 2.0 spl_autoload Scott Wehrenberg <swehren at gmail dot com> Scott Wehrenberg <swehren at gmail dot com> 2006-10-03 12:50:16 PDT
                                         Re: [propel-dev] Propel 2.0 spl_autoload Soenke Ruempler <soenke at ruempler dot eu> Soenke Ruempler <soenke at ruempler dot eu> 2006-10-03 14:05:28 PDT
                                             Re: [propel-dev] Propel 2.0 spl_autoload =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-10-03 14:12:28 PDT
                                 Re: [propel-dev] Propel 2.0 spl_autoload Soenke Ruempler <soenke at ruempler dot eu> Soenke Ruempler <soenke at ruempler dot eu> 2006-10-03 15:07:25 PDT
                                     Re: [propel-dev] Propel 2.0 spl_autoload Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2006-10-03 20:15:20 PDT
                                         Re: [propel-dev] Propel 2.0 spl_autoload hlellelid Hans Lellelid 2006-10-04 05:33:00 PDT
                                             Re: [propel-dev] Propel 2.0 spl_autoload =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-10-04 06:04:48 PDT
                                                 Re: [propel-dev] Propel 2.0 spl_autoload hlellelid Hans Lellelid 2006-10-04 06:12:18 PDT
                                                     Re: [propel-dev] Propel 2.0 spl_autoload Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2006-10-04 12:47:32 PDT
Page: of 2 « Previous | Next »
Messages per page: