Closed
Bug 1060576
Opened 10 years ago
Closed 9 years ago
[titanic] Use requests-cache to improve performance
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gakiwate, Assigned: abhi12ravi, Mentored)
References
()
Details
Titanic (https://github.com/gakiwate/titanic/) is a tool to bisect test failures. Titanic takes revision under investigation - which can be supplied to it using the APIs or command line and then works by pulling data about the revision and revisions before it from TBPL(https://tbpl.mozilla.org/) to bisect the failure. Presently, we do not cache the results that we get from querying TBPL or the releng build system. This means that we spend a lot of time that potentially could be saved if we had cached the results. We would like to investigate the possibility of using the requests-cache library to achieve caching. http://requests-cache.readthedocs.org/en/latest/ https://pypi.python.org/pypi/requests-cache In particular we are interested in improving the performance of the functions isBuildPending, isBuildRunning, isJobRunning, isJobPending. https://github.com/gakiwate/titanic/blob/master/titanic.py#523
Reporter | ||
Comment 1•10 years ago
|
||
Tools that might help in validating improvements! Line Profiler: https://pythonhosted.org/line_profiler/
Assignee | ||
Comment 2•10 years ago
|
||
Hi Gautam, Can you assign this bug to me?
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → abhi12ravi
Reporter | ||
Comment 3•10 years ago
|
||
Done. The bug is yours! :)
Reporter | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Updated•10 years ago
|
Status: ASSIGNED → NEW
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(abhi12ravi)
Assignee | ||
Comment 5•10 years ago
|
||
Hi Gautam, Sorry I haven't been able to work on this bug. Been caught up with academics. Got some time now. Will work on this.
Reporter | ||
Comment 6•10 years ago
|
||
Sure. Let me know if you need anything! :)
Comment 7•9 years ago
|
||
we are using mozilla_ci_tools (https://github.com/armenzg/mozilla_ci_tools) which has taken a lot of titanic pieces and knowledge.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•