How to resolve <not counted> problem in perf tool?
Your processor does not support so many counters and too frequent switching between them, I guess.
You see in the last example the last column, where the counters are multiplexed (counted only over 33% of the time). If you use small enough task (or over more cores?), they are not counted, because all of the time the others were used. In your first example, only the cycles
were managed to count in the time.
Related videos on Youtube
seawolf
Updated on September 18, 2022Comments
-
seawolf over 1 year
I am trying to migrate an ASP.NET application to MVC 5. The final piece to migrate is the membership provider. I am unable to configure the application to access the existing membership provider.
I started by looking at the documentation at MSDN's Sample Membership Provider Implementation. This leads me to enter the following in my Web.config:
<membership defaultProvider="MyMembershipProvider"> <providers> <clear /> <add name="MyMembershipProvider" type="my.namespace.MyMembershipProvider, my.package.name" connectionStringName="MyServiceContext" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" writeExceptionsToEventLog="true" /> </providers> </membership> <roleManager defaultProvider="MyRoleProvider"> <providers> <clear /> <add name="MyRoleProvider" type="my.namespace.MyRoleProvider, my.package.name" /> </providers> </roleManager>
When I try to run the application, I get the following error:
The configuration section 'membership' cannot be read because it is missing a section declaration
What might I be doing wrong?
-
Chris Pratt over 9 yearsFor what it's worth, MVC 5 comes standard with Identity, which doesn't use membership providers (those are part of the older ASP.NET Membership, for which Identity is a replacement). While you can technically still work with ASP.NET Membership, it's essentially deprecated. I'm not sure what you needed a custom provider for, but you should really focus on migrating that to Identity rather than bootstrapping MVC 5 with outdated tech.
-
seawolf over 9 yearsI'm working with a client that specifically wants to use the existing membership provider, so I don't really have a choice, unless I can re-map Identity to use the right tables and schema.
-
-
ANTHONY almost 8 yearsyes ,you are right @Jakuje . Such situation might be possible. But what you are saying is, as the executable file is small then it don't have sufficient time to multiplex events on the limited counters.
-
Jakuje almost 8 yearsNot executable file, but execution time. Three seconds is really a little time.
-
Trần Hữu Hiền over 3 yearsThank you very much! This saves my life!