Tryton - Issues

 

Issue7697

Title Avoid compute twice the parent context
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type performance Components sao, tryton
Assigned To ced Keywords review
Reviews 56381002
View: 56381002

Created on 2018-09-13.18:23:21 by ced, last changed by roundup-bot.

Messages
New changeset ae25ecfb66de by Cédric Krier in branch 'default':
Allow to pass parent_context when calling get_context
https://hg.tryton.org/tryton-env/rev/ae25ecfb66de
New changeset 6cf5ac95b1b6 by Cédric Krier in branch 'default':
Allow to pass parent_context when calling get_context
https://hg.tryton.org/tryton/rev/6cf5ac95b1b6
New changeset 187247b46550 by Cédric Krier in branch 'default':
Allow to pass parent_context when calling get_context
https://hg.tryton.org/sao/rev/187247b46550
review56381002 updated at https://codereview.tryton.org/56381002/#ps20001
review56381002 updated at https://codereview.tryton.org/56381002/#ps1
msg43865 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-09-13.18:23:20
When computing the context of a group inside a tree, it call field.get_context which also call get_context on the parent. As this context can be expensive to compute on deep tree, I think we could pass it as argument.
History
Date User Action Args
2018-09-21 11:02:36roundup-botsetmessages: + msg44003
2018-09-21 11:02:33roundup-botsetmessages: + msg44002
2018-09-21 11:02:29roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg44001
2018-09-18 17:29:56reviewbotsetmessages: + msg43938
2018-09-13 18:36:05reviewbotsetnosy: + reviewbot
messages: + msg43868
2018-09-13 18:25:41cedsetstatus: in-progress -> testing
reviews: 56381002
keyword: + review
2018-09-13 18:23:29cedlinkissue7695 superseder
2018-09-13 18:23:21cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)