Now i watch results on www.ormeter.net and see that DataObjects.NET is slaughtered by BLToolkit in most of the performance tests. Do you know on which version of DO was these tests running? And if you make something to beat the BLToolkit in some (or all) of these tests? Just curious. Update: I found that version is v4.1 RC. This thread was imported from our support forum. The original discussion may contain more detailed answer. |
Yes, it's slower - and it will be hard to beat it:
So BLToolkit is an example of extremally simple API with its pros (speed and simplicity) and cons (no "uniqueing", lazy loading, change detection, etc.). We're planning to implement few features allowing DO4 to beat it on CRUD tests, but I hardly believe the same is possible for materialization. May be we'll get this change when full POCO support will be added to DO4 (we almost decided to do this). Deal with such simple objects is the only chance to win here. Another case we're going to address is implementation of more complex test sequence @ ORMBattle - our implementation of batching shows its full power here. Crazy materialization performance isn't really useful in average application, much more depends on small queries here. Query time, future queries and batching are more important, since we must materialize just 20-30 objects per transaction. Alex, thanks for explanation of this. I thought that "the best" is now always "The Best", and you give me arguments that its true at least with this. |