*** SachaZzz is now known as SachaS *** johannesV has joined #gnuenterprise good morning *** btami has joined #gnuenterprise good morning *** reinhard has joined #gnuenterprise good morning all *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** kilo has joined #gnuenterprise good morning *** lekma has joined #gnuenterprise good morning reinhard: i tested you changes, the script that use to take 4min+ is now 0:01:53.797909 \o/ excellent now how do we stand in that sap comparsion? not that i would take beating sap as a minimum requirement, but just curious First try: 1 min 45 sec. for 516.390 records and display two fields. Second try: 1 min 35 sec so we're not there yet this is *including* the rpc layer? yep xmlrpc or hessian? and my test is only 185000 records, one field sap, i don't remember (their protocol), gnue, xmlrpc for the moment i'm hitting strange bugs in http 1.1 with hessian ok I think that xmlrpc still adds a lot of overhead even thougt in oure encode/decode hessian is 3 to 4 time faster s/oure/pure the request still eats 300Meg of memory (instead of 500) well at least for speed we're not magnitudes away any more :) *** btami has quit IRC lekma: as for "only one field", please don't forget that there is always the gnue_id as a second field also, I think adding more fields wouldn't make it slower proportionally i.e. a second field would by far not add the same amount of time again no, of course i need a gnue expert that's plain crazy you mean you need a gnue expert who's plain crazy? ;-) that would be implied :) a hessianlib.dumps() of a big list outside of gnue context: hessianlib.dumps() 0:00:00.143382 the same in ServerAdapter: hessian.dumps () 0:00:26.166066 i don't understand where the extra time comes from while xmlrpc is coherent ie: xmlrpclib .dumps: 0:00:02.267522 in ServerAdapter: xmlrpc.dumps () 0:00:02.914790 how did you get these times? pstats module? dumping value : r = 30000 v = ["this is a record", 1, 2, 1000001, "(08)123123123", "some more text", 22/7.0 , u"some unicode", True, False] value = ([v for i in range(r)]) nope datetime.datetime() ah even with pstats i see "unexplainable" results sometimes the crazier is if i run in profile like a function that only consists of a single function call uses 20 seconds for 100000 calls everything is back to normal, ie hessian faster than xmlrpc I suspect all the hidden python magic like garbage collection and the like has a big impact on performance and the decision when exactly python runs the garbage collection might depend on conditions that we as humans would regard as "random" *** kilo has left #gnuenterprise it is systematic it is always slower when run in gnue and always faster outside gnue that doesn't seem like random :( it drives me crazy I think it is slower because within gnue there is a lot more garbage to collect but I can only suspect, too that's all guessing could it have anything to do with unicode vs non-unicode data? AFAICT lekma's non-gnue test contains unicode data, too yes same data everything is equal do you have psyco installed on your computer? I know gnue initializes it by default if it can find it, which in most cases makes a huge performance diff ... but I wonder if it causes problems with your lib * jcater is just making guesses here ... sorry if I'm butting in :) jcater: your suggestions are welcome >>> import psyco Traceback (most recent call last): File "", line 1, in ? ImportError: No module named psyco >>> so psyco seems out of the equation could you guys have a look at the code cause it really is driving me crazy ? I'd be happy to as you have me very curious I can also try can i dcc send? can you mail? please email to jason at gnue.org for me reinhard at gnue dot org :) ok sent * lekma hopes you will find where he has been stupido :) bbl back *** johannesV__ has joined #gnuenterprise *** johannesV_ has quit IRC lekma: get it erm got it will look this evening (i think) thx but from a first sight, it looks non-trivial :) so I really need some time to dig into it *** derek has joined #gnuenterprise *** klasstek has joined #gnuenterprise bb *** johannesV__ has quit IRC *** bigbrother has joined #gnuenterprise *** SachaS is now known as SachaZzz *** klasstek has quit IRC *** jcater has joined #gnuenterprise *** bigbrother` has joined #gnuenterprise *** bigbrother has quit IRC *** derek has quit IRC *** sjc has quit IRC *** derek has joined #gnuenterprise *** someon has joined #gnuenterprise Wow... been forever since I've been on... I've been reading the logs, though... jamest: Any chance of getting the www->irc proxy back? And another question for those that write often.... (Reinhard, Johannes, Lekma, ...) does anyone use Eclipse and PyDev to GNUe? *** someon has left #gnuenterprise I tried it the frustration I had was that a file had to be part of a project *** jcater_ has quit IRC