Commit Graph

2 Commits (456488f0ace8dcfcb5126cdf89a40624141f9174)

Author SHA1 Message Date
Tim Raymond d560ab020a Improve benchmark, fix offset bug
This ensures that setup time does not impact the results of the
benchmark since profiling showed that much time was spent setting up the
test array of tasks. This also uses `make` to build that slice instead.

Also, the tests revealed that there was a bug where offsets were
pre-incremented rather than post-incremented, omitting the first 100
results.
2017-08-22 10:23:24 -04:00
Tim Raymond c3be40513d Perf: improve performance of ListTasks
This fetches ListTasks results using a few worker goroutines to improve
performance with large numbers of tasks.
2017-08-21 17:10:13 -04:00