I’ve noticed a couple of times that UiPath takes significantly longer to process a loop through the activities vs code. For example, the following For Each Row activity processes about 1,500 rows per second.
The following VB.Net processes 100,000+ rows in less than a second:
For Each rw In in_DT.Rows
r = dtOut.NewRow() r(0) =rw(0).ToString r(1) = rw(1).ToString r(2) =rw(2).ToString dtOut.Rows.Add(r)
Are UiPath activities much slower because the activity is created and destroyed with each loop?