From: <tr...@do...> - 2013-04-25 16:37:27
|
<p>A new comment has been added to the following issue.</p> <table border="0"> <tr> <td width="90px" valign="top"><b>Title:</b></td> <td>Performance of loading a TriX-file has degraded as of 0.7.2 beta</td> </tr> <tr> <td><b>Project:</b></td> <td>Core Library (dotNetRDF.dll)</td> </tr> <tr> <td><b>Created By:</b></td> <td>Rob Vesse</td> </tr> <tr> <td><b>Date:</b></td> <td>2013-04-25 05:36 PM</td> </tr> <tr> <td><b>Comment:</b></td> </tr> <tr> <td colspan="2"><p> After doing some more digging I have figured out what the issue is, am I right in assuming that you are running your code in Debug mode within VS?</p> <p> This problem relates to a bug in one of the data structures used from a third party library that primarily manifests as slow performance under the debugger because of the use of a try catch pattern to detect a particular feature. See <a href="http://dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=317">CORE-317</a> and <a href="http://dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=292">CORE-292</a> if you are interested in more of the background to this.</p> <p> The version of the library used in the latest trunk and which will be used for 1.0.0 has a fix which resolves this issue.</p> <p> Here are the results of running your sample data under the debugger with different versions:</p> <ul> <li> 0.7.2 - 0.06s</li> <li> 0.9.0 - 19.134s</li> <li> Trunk (1.0.0) - 0.09s</li> </ul> <p> However if you are running normally (i.e. not under the debugger) performance looks like the following:</p> <ul> <li> 0.7.2 - 0.06s</li> <li> 0.9.0 - 0.9s</li> <li> Trunk (1.0.0) - 0.07s</li> </ul> <p> So this issue is resolved in the latest code and will be fixed in 1.0.0 plus it only applies when running under the debugger, I will mark this issue as Fixed for 1.0.0</p></td> </tr> </table> <p> More information on this issue can be found at <a href="http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=351" target="_blank">http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=351</a></p> <p style="text-align:center;font-size:8pt;padding:5px;"> If you no longer wish to receive notifications, please visit <a href="http://www.dotnetrdf.org/tracker/Account/UserProfile.aspx" target="_blank">your profile</a> and change your notifications options. </p> |