[web2py] Re: IMPORTANT - NEED HELP: more speed improvements to be tested

2012-08-27 Thread Daniel Haag
> WE NEED INDEPENDENT BENCHMARKS AGAINST 1.99.7. Here is the code to > benchmark: > > - > import time > db=DAL() > db.define_table('person',Field('name')) > db.test.insert(name='one') > db.person.insert(name='one') n = 10 > > t0 = time.time() > for k in range(n): > y = db.

[web2py] Re: IMPORTANT - NEED HELP: more speed improvements to be tested

2012-08-27 Thread Daniel Haag
The following code is broken in trunk: db = DAL('sqlite://test.sqlite') db.define_table('t',Field('x')) db.t.insert(x=1) db(db.t).select(db.t.id,db.t.x+1).first()(db.t.id) Throws AttributeError: 'Row' object has no attribute 'id' The point seems to be the _extra entry created in the row object i

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Daniel Haag
day, August 24, 2012 5:08:23 PM UTC+2, Daniel Haag wrote: >> >> Just a small thing: Is it possible to have the -g option (the groups to >> be picked by the worker) when calling the worker with the -K arg from the >> main web2py.py? >> >> maybe somthing like >> python web2py.py -K appname(group1,group2,...) >> >> --

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Daniel Haag
Just a small thing: Is it possible to have the -g option (the groups to be picked by the worker) when calling the worker with the -K arg from the main web2py.py? maybe somthing like python web2py.py -K appname(group1,group2,...) Am Donnerstag, 12. Juli 2012 20:36:38 UTC schrieb Niphlod: > > He

[web2py] Re: Scheduler: help us test it while learning

2012-08-14 Thread Daniel Haag
e "small issue" here is that the traceback is "full", > starting from where the process is stopped after 5 seconds (the executor > function), to the "where" it really stopped (line 21, function1, in > models/scheduler.py) that is the useful information. >

Re: [web2py] Re: Scheduler: help us test it while learning

2012-08-13 Thread Daniel Haag
Am 14.08.2012 00:45 schrieb "Niphlod" : > > > On Monday, August 13, 2012 4:44:18 PM UTC+2, Daniel Haag wrote: >> >> I don't know if it would work this way but I would be glad if you could give me some feedback (its actually just a proof of concept - but I did al

Re: [web2py] Re: Scheduler: help us test it while learning

2012-08-13 Thread Daniel Haag
quot;bubbles" up to the queue manager). Could you pinpoint > me to a queue/task messaging implementation with this feature, if you saw > this feature implemented already ? > Well, actually I did not, but that doesn't mean a lot as I didn't have the requirement of a sched

[web2py] Re: Scheduler: help us test it while learning

2012-08-08 Thread Daniel Haag
Hi Niphlod, thanks for the great work with the scheduler, I'm using it in a project where it handles lots of big data imports into a database and the migration to your version was without any problems. On thing catched my eye in the old version and it still seems to be a "problem/missing featu