We have lots of workflow in our system.
We notice that using WorkflowInvoker.Invoke(myworkflow) was taking almost a 1 sec to execute. The workflow is a bit big, but in our test, it was doing nothing. myworkflow was build from the XAML with ActivityXamlServices.Load
Any suggestion in how to improve this?
Thanks,
Try caching the activity instance you pass to the invoker - http://www.neovolve.com/post/2010/07/23/Caching-workflow-activities-to-increase-performance.aspx