profiling - What is LicenseInteropHelper.getCurrentContextInfo and why is it using so many cycles of my .net app? -


I'm working on a web service that performs tuning performance. I am using JetBrains testing to profile the application. When I have a file of 15% GetCurrentContextInfo import execution time, here's signature:

  void System.ComponentModel.LicenseManager.LicenseInteropHelper.GetCurrentContextInfo (Int32 & amp;, IntPtr & amp ;; RuntimeTypeHandle)  

These function calls are considered coming from my query function:

  public function query (ByVal as SQL string ) As ADODB.Recordset Try Dim Conn as ADODB. New ADDB as Connection Direct Rikneset conn = Krnkshn () r.Open (SQL, Conn, Adiodibi. Kaiser ANM type. Odostatik, Adiodibi. Loktaipeaanyuem.adelok Reedonli) Catch as returns RS system. From time to time. Interp Services Handling COMExceptionDebatesErender (former) End Try End Function  

The Connection () function is a connection pooling. I'm not coming to find it GetCurrentContextInfo understand - I could not find a reference in the resolution

What is the task, and that it is unnecessary, I get rid of it how or Can that time get the limit of uses?

We are a vote using ANTS Performance Profiler web call debugging while leaving us with a very similar The problem in the problem was more serious (90% of the execution time was being spent here).

After some investigation we found that this was the ADODB code that was causing this call to GetCurrentContextInfo. Since it was the only place using Adiodibi connector in our code, as we go on MySqlConnector / NET. This has greatly improved our call performance. Hope it helps.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -