Commit Graph

3 Commits (debfff5050726cc494022720b71bfa1cd0da74f9)

Author SHA1 Message Date
Chris Goller 731d8ddf3e Update kapacitor tickscript generation to use alert handlers 2017-11-30 16:32:47 -06:00
Tim Raymond fe57d1e0c7 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 0d2991d719 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