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.

Hi,

thanks for sharing this information.

> work_development directory

Have you tried with Rails in 'production' mode ?


I did my homework and adapted a bench to fit your 40 fields/variables test :

  http://gist.github.com/49480

my system (a 2008 macbook) :

ruby : ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
memory : 4GB
processor : 2.4 GHz Intel Core 2 Duo
os : mac OS X 10.5.6

the results (ruote 0.9.20) :

  http://gist.github.com/49485

I'm setting 40 fields or 40 variables, with debug on or off. One thing
I'm not testing is participant insertion. Having 40 fields mean 41
inserts for active_record, but you indicated that variables yielded
worse performance.

In the worst case, the engine takes 4.6 seconds to set 40 variables.

Since you are using ruote 0.9.18, here are the results for that version :

  http://gist.github.com/49488

(not using the db persisted expression system, you guys aren't using it either).

I was expecting worse performance since I have improved Ruote a lot
lately, but nothing really visible.


Is your process definition only setting fields before reaching the
first participant ?
Maybe my benchmark is too kind on the engine (launching only one
process) or my machine too powerful...


I hope you'll share your observations once this is solved, it would be fair.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to