[jboss-user] [JBoss jBPM] - beginner question for the jbpm evalutaion (performance aspec

golubec do-not-reply at jboss.com
Thu Jun 11 11:38:56 EDT 2009


Hi, 

I'm performing evaluation for the workflow products and the point is the performance.

I've downloaded and installed 4.0.0. Then i modified EndProcessInstanceTest so the process from process.jpdl.xml will execute about 10.000 times. Also logging was disabled by changing logging.properties.

Actually the process is simple : it has only start/end states, but i takes 33 secs(!!!!!) to execute 10.000 iterations of this:

    for (int i = 0; i < ITERATION_NUMBER; i++) {
      Execution execution = executionService.startProcessInstanceByKey("NoOperation");
      if (!execution.isEnded()) {
        fail();
      }
    }

Am i misunderstanding something ? Our case when request comes in and is processed by appropriate workflow. 

Should i start new process for that every time reques is coming or using the only one process instance (if possible) to achieve better performance?


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237065#4237065

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237065



More information about the jboss-user mailing list