Index jobs by created time to speed up the Pinpoint UI to load all jobs.
Index jobs by created time to speed up the Pinpoint UI to load all jobs.

Today, it takes 20 ~ 30 seconds for Pinpoint UI to load all jobs.
The Pinpoint UL call the /api/jobs to list 1,000 jobs ordered by Job.created, so add index to Job.created should able to speed up the Pinpoint UI to load all jobs.
https://chromium.googlesource.com/catapult/+/refs/heads/main/dashboard/dashboard/pinpoint/handlers/jobs.py#128

Bug: chromium:1377146
Change-Id: I32fdaad505f4ef17c61cff0cc9982ceb709ee4b9
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/3997998
Reviewed-by: John Chen <334fbfbb4df7c78f091ea1b77c69ca6ac731a3f3@chromium.org>
Commit-Queue: Alex Sun <46d343bb56de18a6f526cba1202308ea07d5b322@google.com>

catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult