Definitely want to see the benchmark difference that the Asana_Batch instantiation imposes. I'm guessing it won't make a real difference though may be slightly slower. Still, the code will be MUCH more readable.
Also find other areas that the Asana Batch API endpoint is used. I believe there's other functions in the Asana_Interface class that use batching such as fetching all site tasks and leaving a tag and comment on a task in a single request.
Yeah, the benchmarks aren't really reliable again since it's so dependent on Asana's API which seems to have drastically unstable performance (or deeper investigation on my end is required).
Definitely want to see the benchmark difference that the
Asana_Batch
instantiation imposes. I'm guessing it won't make a real difference though may be slightly slower. Still, the code will be MUCH more readable.Also find other areas that the Asana Batch API endpoint is used. I believe there's other functions in the
Asana_Interface
class that use batching such as fetching all site tasks and leaving a tag and comment on a task in a single request.