From: Rob V. <rv...@do...> - 2012-06-06 17:24:15
|
Another thought on the performance in VS against performance outside VS Depending on the query as part of the evaluation we may be required to throw and handle lots of exceptions internally - usually when complex filters/expressions are involved. When running in VS the debugger will inspect every exception thrown by the code since depending on your debugging settings it may need to break on an exception. Rob On 6/6/12 9:53 AM, "Jose Antonio Mocholí Agües" <jmo...@ds...> wrote: >Hi everyone, > >I'm starting to use dotnetrdf and I've found an unexpected huge >performance difference between the tool SPARQL GUI and my test program. >I was using the same file and downloaded the library sourcecode to test >against the same code the tool is using. However, I was achieving a huge >difference in performance: for the same sparql query, dotnetrdf tool >gives results in 0.05s and my test code in around 4s. > >It took me a while but then I tried to execute my code outside VS and >got the same performance the tool was achieving. Could anyone explain >the reason for this behaviour? > >Best regards. >Jose A. > > >-------------------------------------------------------------------------- >---- >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >dotNetRDF-Support mailing list >dot...@li... >https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |