QueuedTask.Run Performance Question

711
1
Jump to solution
06-14-2021 03:37 PM
KyleBPerri
New Contributor II

Currently, we have several small utility routines that wrap a call that runs on the MCT.  Our bigger routines will call a number of these utility routines in sequence.  How much of a performance hit is it to call multiple QueuedTask commands instead of combining them into one?

0 Kudos
1 Solution

Accepted Solutions
CharlesMacleod
Esri Regular Contributor
0 Kudos
1 Reply
CharlesMacleod
Esri Regular Contributor

you will need to profile it. 

Note: we do talk about consolidating QueuedTasks here:https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Asynchronous-Programming-in-ArcGIS-Pro#using... 

u may also find this helpful from the same article:

https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Asynchronous-Programming-in-ArcGIS-Pro#devel...

 

 

 

 

0 Kudos