June 01, 2004

the dance of fools

Since last week am spending somewhat sick days and couldn't hack nicely :( Moreover my house is on repairment and became not good place to hack (noise, closed window without air conditioner in my room...). Am mostly out recent days.

major DataRow performance fix

I have been helped my DataSet hack by julia who has been trying so practical example code with megs of data. Yes, it was not good to trace the bug location, but very good at testing performance ;-)

After the dataset fixes, I believed that I improved DataSet.ReadXml() performance (to compare the results, I ran my "detacheable" ReadXml() implementation under MS.NET). So when I saw the performance results on ReadXml() after some stopper ReadXmlSchema() fixes, I could not believe what is happening. Our ReadXml() was > 1000x slower than MS.NET(!). So I started profile, and noticed that DataRow.ctor() was 1000x slower.

I fixed it immediately, but unfortunately I could not notice that before our beta2 release (unless there would be a critical package problem and we have to re-collect sources from cvs :-). So if you want to know what happens in Mono 1.0 after beta2, install this assembly. I might upload a patch for this fix here after beta2 release.

anglia test collection

Recently (well, in fact nearly two weeks ago ;) Jeff Rafter announced his new "anglia" RELAX NG compact syntax test collection (he is implementing his own compact syntax parser). It is cool and was so useful for me and I could fix really problematic part of my parser. Bugs still remain, but I could easily add a simple standalone test for anglia. Am very appliciated.

Posted by atsushi at June 1, 2004 09:59 PM
Comments
Post a comment