I ran into some stuff that looked like Ducks were slower too… That’s why this is in a branch, not the trunk.  Please let me know what you find.

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Rinehart
Sent: Friday, September 22, 2006 9:54 AM
To: [email protected]
Subject: Re: [Reactor for CF] Reactor is just Ducky...

 

I'm going to set up a JMeter test against the trunk, the duckies branch, and a personal branch that duck-types (and other things) during lunch today.

I'll post the results, but some prelim stuff I did last night actually shows duckies as being slower, which is really odd.

-Joe

On 9/22/06, Dan Vega <[EMAIL PROTECTED]> wrote:

Jared,
Great work on the tests. I would also love to see someone put some "real" load testing against it, I am curious to the results.

 

On 9/22/06, Doug Sims <[EMAIL PROTECTED]> wrote:

Are both the trunk and this branch going to be maintained, or  will the main branch go typeless once tested?

Thansk,
Doug S



On 9/22/06, Jared Rypka-Hauer <[EMAIL PROTECTED]> wrote:

Here's my simple test case:

 

<cfset start = getTickCount() >

 

<cfset rc = createObject ("component", "reactor.config.Config").init( "/timesheet/config/reactor.xml")>

<cfset rc.setProject( "timesheet")>

<cfset rc.setDsn( "timesheet") >

<cfset rc.setType("mysql") >

<cfset rc.setMapping("/timesheet/model/data") >

<cfset rc.setMode("development" )>

<cfset rf = createObject ("component", "reactor.reactorFactory").init(rc) >

 

<cfloop from= "1" to= "5" index="i" >

            <cfset rf.createRecord('Timesheet').load(timesheetId= 1) >

            <cfoutput> #i#: #(getTickCount()-start)/1000#<br> </cfoutput>

</cfloop>

 

<cfoutput>Final: #(getTickCount()-start)/1000# </cfoutput>

 

Results with Obviously Original Reactor Typing:

1: 3.515

2: 6.41

3: 7.224

4: 8.042

5: 8.847

Final: 8.847

 

1: 0.875

2: 1.685

3: 2.478

4: 3.291

5: 4.13

Final: 4.13

 

1: 0.821

2: 1.633

3: 2.45

4: 3.265

5: 4.078

Final: 4.078

 

1: 0.814

2: 1.63

3: 2.447

4: 3.255

5: 4.065

Final: 4.066

 

Results of Post-Operative Tangled Type Yanking:

1: 1.292

2: 1.6

3: 1.908

4: 2.219

5: 2.532

Final: 2.532

 

1: 0.327

2: 0.641

3: 0.961

4: 1.327

5: 1.641

Final: 1.641

 

1: 0.32

2: 0.622

3: 0.926

4: 1.232

5: 1.538

Final: 1.538

 

1: 0.548

2: 0.85

3: 1.169

4: 1.477

5: 1.791

Final: 1.791

 

 

In both cases I started with a full set of generated objects in the project folder, and in the case of the second set (untyped Reactor) it even had to re-generate the custom objects (it throws an error about configure() missing if I try to use the same generated objects with the untyped version of Reactor)... so as you can see, it's not just a little faster, it's a LOT faster in a single-threaded environment. However, throwing a real load-tester at it may not bear the same results out.

 

Laterz,

J

 

------------------------------------------------

Jared C. Rypka-Hauer

Continuum Media Group LLC

http://www.web-relevant.com

Member, Team Macromedia - ColdFusion

 

"That which does not kill me makes me stranger." - Yonah Schmeidler

 


 


 











 

On Sep 22, 2006, at 3:09 AM, Tom Chiverton wrote:



On Thursday 21 September 2006 17:54, Doug Hughes wrote:

Please, test this out and write back to the list to give me your

impressions.

 

Anything that makes the (a) framework go faster is a plus.

Would it be possible to keep the type information in the trunk (where it's�

handy for developers), and have a program that strips it from the release�

branches (for speed) ?

 

--�

Tom Chiverton

Helping to autoschediastically maintain compelling supply-chains

 

****************************************************

 

This email is sent for and on behalf of Halliwells LLP.

 

Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. � A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.

 

CONFIDENTIALITY

 

This email is intended only for the use of the addressee named above and may be confidential or legally privileged. � If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. � If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.

 

For more information about Halliwells LLP visit www.halliwells.com.

 

 

 

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reactor for ColdFusion Mailing List

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

 

 


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --




-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --





--
Dan Vega
[EMAIL PROTECTED]


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --




--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to