[Handel] [ANNOUNCE] Handel 0.99_02 Released
tom.kirkpatrick at virusbtn.com
tom.kirkpatrick at virusbtn.com
Tue Jun 6 12:24:41 CEST 2006
It seems that the vast majority of time is spent on the injection of the
Handel components:
If I comment out all the component injection code in Hanmdel::Storage, I
can use My::Handel::Order in:
28.833u 0.132s 0:29.15 99.3% 1072+27519k 0+0io 0pf+0w
with that code left in, it takes:
102.245u 0.171s 1:43.30 99.1% 1071+34448k 0+0io 0pf+0w
And I don't even want any of them injected into my schemas!
I know Handel::Storage tries to detect if the components are needed or
not, but because My::Handel::Order subclasses Handel::Order, these
components are loaded by default... How can I remove them from my
subclass?
tom.kirkpatrick at virusbtn.com
Sent by: handel-bounces at lists.rawmode.org
06/06/2006 09:26
Please respond to
A simple commerce framework <handel at lists.rawmode.org>
To
claco at chrislaco.com, A simple commerce framework
<handel at lists.rawmode.org>
cc
Subject
Re: [Handel] [ANNOUNCE] Handel 0.99_02 Released
I don't quite understand what you have done... but there has to be a
better way. Passing my schema into schema_instance() takes an age and a
half. My schema is rather large (51 tables in total), but still.
I tried preloading my Handel subclasses in statup.pl
It took 1:32 until apache had finished loading and spawned off it's
children as opposed to 0:21 without it. But that's not the end of the
story... Even with it preloaded like that, it then takes a further 42
seconds for each child to make it's own connection and Handel to do it's
package molesting...
I guess there's little point of preloading it in Apache anyway since each
child need's to do it's own connection stuff regardless, but
there has to be a better way!!!
"Christopher H. Laco" <claco at chrislaco.com>
Sent by: handel-bounces at lists.rawmode.org
06/06/2006 03:20
Please respond to
claco at chrislaco.com; Please respond to
A simple commerce framework <handel at lists.rawmode.org>
To
A simple commerce framework <handel at lists.rawmode.org>
cc
Subject
[Handel] [ANNOUNCE] Handel 0.99_02 Released
Fresh from the assembly line, I present Handel 0.99_02:
* Fixed test counts in t/order_new.t (RT#19700,TKP)
* Moved _error_handler in Storage to process_error and set
dbh->{HandelError} using $self->can
* Use blessed when setting schema_instance in Storage
* Abstracted schema setup when setting
Storage->schema_instance($schema)
As usual, it should be available on CPAN shortly, or you can get your
copy from the svn repo:
http://svn.handelframework.com/CPAN/Handel/tags/0.99_02/
On that note, I will be out of the country and away from electricity,
computers and cell phone signals starting this Friday until the 18th. So
if you don't get a response from me, that's why. :-)
-=Chris
_______________________________________________
Handel mailing list
Handel at lists.rawmode.org
http://lists.rawmode.org/cgi-bin/mailman/listinfo/handel
--
Tom Kirkpatrick
Web Developer - Virus Bulletin
_______________________________________________
Handel mailing list
Handel at lists.rawmode.org
http://lists.rawmode.org/cgi-bin/mailman/listinfo/handel
--
Tom Kirkpatrick
Web Developer - Virus Bulletin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/octet-stream
Size: 196 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/handel/attachments/20060606/eb963ded/attachment.obj
More information about the Handel
mailing list