Bug 247936 - [results] Local data files should contain all info to avoid unnecessary DB requests
Summary: [results] Local data files should contain all info to avoid unnecessary DB re...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M3   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance, test
Depends on:
Blocks:
 
Reported: 2008-09-19 04:00 EDT by Frederic Fusier CLA
Modified: 2008-09-23 07:43 EDT (History)
0 users

See Also:


Attachments
Proposed patch (25.17 KB, patch)
2008-09-23 07:33 EDT, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2008-09-19 04:00:17 EDT
While generating performance results, local data files are created to avoid huge DB requests, hence save time while generating results for the next build. However, some information are not stored and then generation still needs to send requests to DB to get scenarios failures and summaries.

Bug 237294 showed that it could be necessary to generate results from a remote box and this can take several hours. So, all information must now be store in local files to minimize as much as possible DB requests and then makes remote generation faster...
Comment 1 Frederic Fusier CLA 2008-09-23 07:33:33 EDT
Created attachment 113239 [details]
Proposed patch

This patch stores the scenario config summary, failure and comment in the data file. To identify different versions of data files, the string "version=X" has been added at the beginning of the data file.

Hence data files will have from now the string "version=1" when the patch will be released...

This patch also improves printing output a little bit...
Comment 2 Frederic Fusier CLA 2008-09-23 07:43:03 EDT
Released for 3.5M3 in HEAD stream.