Speed up sg-report-job-history
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest60 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
1 of 60 patches has a Reviewed-by or Acked-by.
| Patch | Ian Jackson |
|---|---|
| 1/60 | |
| 2/60 | |
| 3/60 | |
| 4/60 | |
| 5/60 | |
| 6/60 | |
| 7/60 | |
| 8/60 | |
| 9/60 | |
| 10/60 | |
| 11/60 | |
| 12/60 | |
| 13/60 | |
| 14/60 | |
| 15/60 | |
| 16/60 | |
| 17/60 | |
| 18/60 | |
| 19/60 | |
| 20/60 | |
| 21/60 | |
| 22/60 | |
| 23/60 | |
| 24/60 | |
| 25/60 | |
| 26/60 | |
| 27/60 | |
| 28/60 | |
| 29/60 | A-b |
| 30/60 | |
| 31/60 | |
| 32/60 | |
| 33/60 | |
| 34/60 | |
| 35/60 | |
| 36/60 | |
| 37/60 | |
| 38/60 | |
| 39/60 | |
| 40/60 | |
| 41/60 | |
| 42/60 | T-b |
| 43/60 | |
| 44/60 | |
| 45/60 | |
| 46/60 | |
| 47/60 | |
| 48/60 | |
| 49/60 | |
| 50/60 | |
| 51/60 | |
| 52/60 | |
| 53/60 | |
| 54/60 | |
| 55/60 | |
| 56/60 | |
| 57/60 | |
| 58/60 | |
| 59/60 | |
| 60/60 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [OSSTEST PATCH 00/60] Speed up sg-report-job-history
I think this is the final section of my work to speed up osstest's reporting db queries etc.
After this is pushed and working, I will look and see what the interval is now, between one flight finishing and the next starting, to see ig there is more to be done.
Ian Jackson (60):
history reporting (nfc): Do not key cache on hostname any more history reporting (nfc): Add some test runes to the notes history reporting: Delete two debug prints
history reporting (nfc): Refactor to generalise, cache_read_existing history reporting (nfc): Make cache_write_entry into a top-level sub history reporting (nfc): Rename jobquery to cacheable_query history reporting (nfc): Break out cache_row_lookup_prep history reporting (nfc): Rename "existing" to "previous" history reporting (nfc): Provide cacheable_fn
history reporting (nfc): Bind by name in cacheable_query history reporting (nfc): Rename $cachehits to $rows_hit history reporting (nfc): Record query-specific stats history reporting (nfc): Move cacheable_* further up the file history reporting (nfc): Use cacheable_fn for power methods history reporting (nfc): Introduce cache_set_key_cols history reporting (nfc): Record more row-specific stats history reporting: Cache stats reporting: Centralise and rework history reporting (nfc): Remove now-obsolete stats variables history reporting (nfc): Introduce empty HistoryReport module history reporting (nfc): Move cache code into HistoryReport module history reporting (nfc): Rename some module variables, remove "cache" history reporting: Skip undefined keys
history reporting (nfc): Documentation for the new module history reporting: Cache data limit now in History module history reporting: Print debug for cache misses
history reporting: Improve an error message slightly
sg-report-host-history: Write cache entry for unfinished jobs parallel by fork: Break out into HistoryReport
parallel by fork: Disconnect $dbh_tests as well as undefing it parallel by fork: Fix a variable name to $task
sg-report-job-history: Prep for fork: Move $buildsq query
sg-report-job-history: Prep for fork: Move $revisionsq query
sg-report-job-history: Use fork-based parallelism
sg-report-job-history: Use one child per report sg-report-job-history (nfc): Have main program decide HTML filename
sg-report-job-history: Always write HTML output sg-report-job-history (nfc): Remove needless conditional history reporting (nfc): Add another test rune to the notes history reporting (nfc): Make cacheable_fn work without cache
sg-report-job-history: Refactor "ALL" handling sg-report-job-history (nfc): Make $ri->{Hosts} a hash sg-report-job-history (nfc): Add new hostvarcols calculation sg-report-job-history (nfc): Query hosts runvars in one go sg-report-job-history (nfc): Drop $hostsq query
history reporting (nfc): Provide cache_set_task_print
sg-report-job-history: Introduce use of cache, for hosts query history reporting (nfc): Break out url_quote
history reporting (nfc): Break out url_unquote
history reporting (nfc): Break out $url_ok_chars
history reporting (nfc): url-quoting: quote = too
history reporting (nfc): Quote keys too
sg-report-job-history: Cache the per-flight revisions sg-report-job-history (nfc): Refactor osstestrevs code
sg-report-job-history: Cache osstestrevs
history reporting: Break out minflight_by_time sg-report-job-history (nfc): Abolish $fromstuff
sg-report-job-history: Cache report_run_getinfo
sg-report-host-history: Cache report_run_getinfo
sg-report-job-history: Provide --time-limit
sg-report-job-history: Increase default limit
Osstest/HistoryReport.pm | 301 +++++++++++++++++++++++++++++++++++++++++++++ runes | 10 ++ sg-report-host-history | 216 +++++++------------------------- sg-report-job-history | 313 +++++++++++++++++++++++++---------------------- 4 files changed, 520 insertions(+), 320 deletions(-) create mode 100644 Osstest/HistoryReport.pm
Signature · 1 line
2.11.0