IRC logs of #tryton for Wednesday, 2011-05-11

chat.freenode.net #tryton log beginning Wed May 11 00:00:02 CEST 2011
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:04
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:01
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton01:40
-!- alimon(~alimon@187.156.35.147) has joined #tryton02:13
-!- curlynostrill(~curlynost@96.57.28.108) has joined #tryton02:25
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton02:45
-!- FWiesing(~franz@mail.tryton.at) has left #tryton02:45
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton02:47
-!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton03:25
-!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton03:36
-!- effenber1(~chlu@pD9E9BD28.dip.t-dialin.net) has joined #tryton04:15
-!- gremly(~gremly@200.106.202.91) has joined #tryton05:02
-!- yangoon(~mathiasb@p54B4E816.dip.t-dialin.net) has joined #tryton05:19
-!- trifon_(~trifon@79.100.218.193) has joined #tryton05:30
-!- trifon__(~trifon@95-42-32-225.btc-net.bg) has joined #tryton06:30
-!- alimon_(~alimon@187.156.92.183) has joined #tryton06:53
-!- predatell(~predatell@85.198.132.141) has joined #tryton07:05
-!- predatell(~predatell@85.198.132.141) has joined #tryton07:51
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton07:54
-!- okko(~okko@62.58.29.41) has joined #tryton08:26
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton09:05
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton09:22
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton09:27
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:41
-!- nicoe(~nicoe@62.58.29.41) has joined #tryton09:42
-!- elbenfreund(~elbenfreu@f055253090.adsl.alicedsl.de) has joined #tryton09:46
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton10:01
-!- helmor(~helmor@92.116.251.139) has joined #tryton10:36
-!- elbenfreund(~elbenfreu@wlan0281.rz.uni-leipzig.de) has joined #tryton10:40
-!- tshepang(~wena@dsl-185-70-35.dynamic.wa.co.za) has joined #tryton10:42
-!- elbenfreund1(~elbenfreu@wlan0281.rz.uni-leipzig.de) has joined #tryton10:59
-!- elbenfreund(~elbenfreu@wlan0281.rz.uni-leipzig.de) has joined #tryton11:02
-!- vincentvdl(~Gebruiker@62.58.29.41) has joined #tryton11:03
-!- vincentvdl(~Gebruiker@62.58.29.41) has left #tryton11:03
-!- helmor(~helmor@92.116.251.139) has joined #tryton11:17
-!- helmor(~helmor@92.116.251.139) has joined #tryton11:39
-!- helmor(~helmor@92.116.251.139) has joined #tryton11:58
-!- helmor(~helmor@46.114.65.143) has joined #tryton12:25
-!- elbenfreund(~elbenfreu@p54B94E50.dip.t-dialin.net) has joined #tryton13:02
-!- helmor(~helmor@92.116.168.15) has joined #tryton13:19
-!- okko(~okko@62.58.29.41) has joined #tryton14:18
-!- elbenfreund1(~elbenfreu@p54B94E50.dip.t-dialin.net) has joined #tryton14:27
-!- predatell(~predatell@85.198.132.141) has joined #tryton15:15
-!- tshepang(~wena@dsl-185-70-35.dynamic.wa.co.za) has joined #tryton15:34
-!- helmor(~helmor@46.115.4.251) has joined #tryton15:42
-!- GasbaKid(~GasbaKid@41.96.5.250) has joined #tryton15:52
-!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton15:55
-!- woakas(~woakas@200.106.202.91) has joined #tryton16:37
-!- cheche(cheche@46.25.80.67) has joined #tryton16:41
-!- pepeu(~manuel@189.209.218.28) has joined #tryton16:57
-!- gremly(~gremly@200.106.202.91) has joined #tryton16:59
-!- pepeu(~manuel@201.155.193.192) has joined #tryton17:44
-!- alimon(~alimon@187-177-187-129.dynamic.axtel.net) has joined #tryton18:07
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton18:13
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton18:20
-!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton18:33
-!- FWiesing(~franz@mail.tryton.at) has joined #tryton19:02
-!- uranus(~uranus@96.57.28.108) has joined #tryton19:19
-!- elbenfreund(~elbenfreu@f055253090.adsl.alicedsl.de) has joined #tryton19:35
-!- uranus(~uranus@96.57.28.108) has joined #tryton19:41
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton20:03
sharooncedk: ping20:07
cedksharoon: pong20:08
sharooncedk: http://hg2.tryton.org/trytond/file/1c4a5ecc6081/trytond/ir/rule.py#l11320:09
sharooncedk: the call of fields_get seems to be very expensive (its natural) but its called for every single request the client side makes20:09
cedksharoon: the ir.rule should be cached20:10
sharooncedk: so after the rules are cached this will not be called ?20:11
cedksharoon: normally not20:11
sharooncedk: wont it be reconstructed everytime since its used by a selection field and it needs to get its available values ?20:12
cedksharoon: normally you don't edit rules often20:12
sharooncedk: you are right, it doesnt call hte method once its cached20:14
sharooncedk: also if pyson could try to import simplejson (written in c) and then fallback to json standard module i think it will help perfrmance gains20:15
sharooncedk: http://hg2.tryton.org/trytond/file/1c4a5ecc6081/trytond/pyson.py#l420:15
cedksharoon: but I think we could cache it and also call it with root user20:15
sharooncedk: so the rules are precached ?20:16
-!- elbenfreund1(~elbenfreu@f055253090.adsl.alicedsl.de) has joined #tryton20:16
cedksharoon: json is the same as simplejson20:16
cedksharoon: not the rule the call to _operand_get20:17
cedksharoon: _operand_get should return the same for everybody20:17
sharooncedk: yes20:17
cedksharoon: and as it is called always for res.user20:17
cedksharoon: we could then call it only once20:18
sharooncedk: got it20:19
sharooncedk: simplejson != json20:19
sharooncedk: simplejson has c speedups20:19
cedksharoon: json also20:19
cedksharoon: it is the same module20:19
sharooncedk: do you know how to enable the c speedups for the std json module? thats probably what i am missing20:20
cedksharoon: it is there by default20:21
cedksharoon: it is in lib-dynload/_json.so20:22
sharooncedk: somehow i find the performance of stdlib json too slow compared to simplejson20:23
sharooncedk: i will do a benchmark with the pyson tests itself and send you20:23
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton21:10
-!- lem0na(~lem0na@95.87.233.210) has joined #tryton21:26
-!- elbenfreund(~elbenfreu@f055253090.adsl.alicedsl.de) has joined #tryton21:48
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton21:53
-!- lem0na(~lem0na@95.87.233.207) has joined #tryton21:58
-!- lemona(~lem0na@95.87.233.210) has joined #tryton22:06
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton22:12
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton22:19
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton22:30
-!- elbenfreund(~elbenfreu@f055253090.adsl.alicedsl.de) has joined #tryton22:40
-!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton23:03

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!