robotlegs 1 VS robotlegs 2 MVC speed comparison.

Deril's Avatar

Deril

24 Nov, 2012 01:30 PM

Hi,

I wrote RL2 speed tests from MVC workflow scenarios.

I would like you to have a look and tell me if it is possible to improve those.

https://github.com/MindScriptAct/as3-mvcFramework-performanceTest

My first results:
Command execute 3.5 times slower in RL2. (thats bad...)
Mediator+view creation/removal - 1.5 slower in RL2. (not really a problem.)
Mediator communication 25% faster in RL2!

  1. Support Staff 1 Posted by Shaun Smith on 24 Nov, 2012 05:00 PM

    Shaun Smith's Avatar

    Hey Deril,

    Thanks for that. I took a look at the command executor and found a couple of things that could be sped up:

    https://github.com/robotlegs/robotlegs-framework/commit/d73a3575d02...

    Should be a fair bit faster. Could you update and try again?

  2. 2 Posted by Deril on 24 Nov, 2012 07:36 PM

    Deril's Avatar

    Nice!

    With update commands execute only ~1.5 times slower.

    I will put RL2 now in my communication (module to module) tests too...

  3. Support Staff 3 Posted by Shaun Smith on 24 Nov, 2012 08:32 PM

    Shaun Smith's Avatar

    Cool, that seems better. Both mediation and command execution do more work in RL2, so I think the minor slowdown is probably acceptable.

  4. Ondina D.F. closed this discussion on 20 Dec, 2012 12:43 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac