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 SOn 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.5152: 6.413: 7.2244: 8.0425: 8.847Final: 8.8471: 0.8752: 1.6853: 2.4784: 3.2915: 4.13Final: 4.131: 0.8212: 1.6333: 2.454: 3.2655: 4.078Final: 4.0781: 0.8142: 1.633: 2.4474: 3.2555: 4.065Final: 4.066Results of Post-Operative Tangled Type Yanking:1: 1.2922: 1.63: 1.9084: 2.2195: 2.532Final: 2.5321: 0.3272: 0.6413: 0.9614: 1.3275: 1.641Final: 1.6411: 0.322: 0.6223: 0.9264: 1.2325: 1.538Final: 1.5381: 0.5482: 0.853: 1.1694: 1.4775: 1.791Final: 1.791In 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
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 yourimpressions.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 ChivertonHelping 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.CONFIDENTIALITYThis 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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
