PurpleTurtleCreative / completionist

Asana integration plugin for WordPress.
https://purpleturtlecreative.com/completionist/
GNU General Public License v3.0
1 stars 0 forks source link

Benchmark and use Asana_Batch for loading subtasks (and more) #151

Closed MichelleBlanchette closed 1 year ago

MichelleBlanchette commented 1 year ago

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.

MichelleBlanchette commented 1 year ago

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).