- "Add" benchmark is about 300% faster.
- "Change" benchmark is 20% faster.
- "Delete" benchmark is another 22% faster.

I've got one more minor idea to try regarding "Add", but other than 
that I'm pretty much through with MK optimizations. In your own 
applications, just remember these 2 items:

- Put something like this in Foo.mkmodel/Settings.config:
        'SQLConnectionPoolSize': 25,

- Put 'isIndex=1' in the Extras column of your object model for any 
attribute that serves as a "back pointing obj ref" for lists. Also, for 
any fields you search on (for example, User.email).


API changes:

Klass.allAttrs() now really returns all attributes. The previous 
version left out derived attributes by default. To get that behavior, 
call allDataAttrs() instead.

ObjectStore's willChange() is gone. This is unlikely to affect anyone.

There is a new "dontRefreshAttrs" arg to fetchObjectsOfClass() but you 
probably don't want to mess with it unless you're implementing 
MiddleKit.


-Chuck

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to