Hi John, We are using your benchmarking program to do some tests. Thanks for the code! Our results seem interesting.
ruby : ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] memory : 2GB processor : 2.4 GHz Intel Core 2 Duo os : Ubuntu GNU/Linux 8.10 Intrepid Ibex With ruote-0.9.20: http://gist.github.com/49614 There are two different scenarios: - Workflow with 40 fields/variables loaded from XML - Workflow with 40 fields/variables loaded from "big XML", which is something like this: <process-definition revision="0.1" name="flow"> <description> flow </description> <sequence> <set field="f_01" value="var01"/> <set field="f_02" value="var02"/> ... <set field="f_40" value="var40"/> <if> <equals field-value="one" value="two" /> <sequence> <!-- 300 lines of flow that are not run, because the condition is not met --> </sequence> </if> </sequence> </process-definition> The two values that are significant are those for big XML/fields/FilePersistedEngine/(debug off), with a run time of 13.283186s, and big XML/variables/FilePersistedEngine/(debug off), with a run time of 24.425080s. This is representative of our problem. Our set-fields take a long time (10-15 seconds) to initialize when they are into a big XML. John, in your opinion, what is the best solution for this problem? Best regards, Emilio -----Mensaje original----- De: [email protected] [mailto:[email protected]] En nombre de John Mettraux Enviado el: miƩrcoles, 21 de enero de 2009 4:36 Para: [email protected] Asunto: [openwferu-users] Re: Workflow start-up time On Tue, Jan 20, 2009 at 10:28 PM, <[email protected]> wrote: > > just to clarify, we are using: > > -ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] > -OpenWFEru 0.9.18 > -We are using openferu engine with the ruote-web configuration. Some things > are in db (e.g. workitem fields) and other things are in file system > (work_development directory). > -error_journal? I suppose we are using error_journal included with > ruote-web. Hello Emilio, a few more benchmarks. I have added a upm.xml process to the demo of ruote-web at http://difference.openwfe.org:3000/ You can test it by yourself as well, just get there and launch that upm.xml flow. When running in dev mode, it needs around 2 seconds to launch that "set 40 fields" process, it drops to around 1 second when running in production mode. It's a shared virtual server somewhere in Texas, not much memory. Anyway, nothing like the up to 9 seconds that you are experiencing. The version of ruote[-web] there is 0.9.19. I was wondering, you guys seem to have implemented a custom XML include technique (see http://groups.google.com/group/openwferu-users/msg/c495096d56402099) what is the performance cost of that ? (maybe more classical techniques http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=x ml+include are better handled by REXML...) OK, I did my homework. Best regards, -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruote (OpenWFEru) users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
