• Articles
  • API Documentation
  • GitHub
  • Abhith
  • API Documentation
  • Code.Library.AspNetCore
  • PerfTracker

    Show / Hide Table of Contents
    • Code.Library
      • Breadcrumb
      • BreadcrumbNode
      • IAuditedObject
      • IAuditedObject<TUser>
      • ICreationAuditedObject
      • ICreationAuditedObject<TCreator>
      • IDeletionAuditedObject
      • IDeletionAuditedObject<TUser>
      • IHasCreationTime
      • IHasDeletionTime
      • IHasModificationTime
      • IMayHaveCreator
      • IMayHaveCreator<TCreator>
      • IModificationAuditedObject
      • IModificationAuditedObject<TUser>
      • IResult
      • ISoftDelete
      • Result
      • Result<T>
      • Result<T, E>
      • ResultFailureException
      • ResultFailureException<E>
      • ResultSuccessException
    • Code.Library.Application.Behaviors
      • LoggingBehavior<TRequest, TResponse>
      • RequestPerformanceBehavior<TRequest, TResponse>
      • UnhandledExceptionBehavior<TRequest, TResponse>
    • Code.Library.AspNetCore
      • PerfTracker
      • ServiceCollectionExtensions
    • Code.Library.AspNetCore.Attributes
      • LogUsageAttribute
    • Code.Library.AspNetCore.Extensions
      • HealthCheckEndpointRouteBuilderExtensions
      • HttpRequestExtensions
      • ILoggerExtensions
    • Code.Library.AspNetCore.Filters
      • TrackPerformanceFilter
    • Code.Library.AspNetCore.Helpers
      • SerilogHelper
    • Code.Library.AspNetCore.Middleware
      • ApiExceptionMiddleware
      • ApiExceptionMiddlewareExtensions
      • ApiExceptionOptions
      • RequestLoggingMiddlewareExtensions
    • Code.Library.AspNetCore.Middleware.RequestResponseLogging
      • ExcludeInRequestResponseLoggingOptions
      • IncludeInRequestResponseLoggingOptions
      • RequestResponseLoggingMiddleware
      • RequestResponseLoggingMiddlewareExtensions
      • RequestResponseLoggingOptions
    • Code.Library.Domain.Models
      • Enumeration
    • Code.Library.Dtos
      • AuditedEntityDto
      • AuditedEntityDto<TPrimaryKey>
      • CreationAuditedEntityDto
      • CreationAuditedEntityDto<TPrimaryKey>
      • EntityDto
      • EntityDto<TKey>
      • EntityRequestDto<TKey>
      • FullAuditedEntityDto
      • FullAuditedEntityDto<TPrimaryKey>
      • IEntityDto
      • IEntityDto<TKey>
      • IFullAuditedObject
      • IFullAuditedObject<TUser>
      • IHasTotalCount
      • ILimitedResultRequest
      • IListResult<T>
      • IPagedAndSortedResultRequest
      • IPagedResult<T>
      • IPagedResultRequest
      • ISortedResultRequest
      • LimitedResultRequestDto
      • ListResultDto<T>
      • PagedAndSortedResultRequestDto
      • PagedResultDto<T>
      • PagedResultRequestDto
    • Code.Library.Exceptions
      • DomainException
    • Code.Library.Extensions
      • DateTimeExtensions
      • FileSystemExtensions
      • GenericTypeExtensions
      • IEnumerableExtensions
      • NumberExtensions
      • ResultExtensions
      • StringExtensions
    • Code.Library.Helpers
      • DateTimeHelper
      • FileHelper
      • SerializationHelper
      • ThirdPartyHelper

    Class PerfTracker

    Inheritance
    object
    PerfTracker
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Code.Library.AspNetCore
    Assembly: Code.Library.AspNetCore.dll
    Syntax
    public class PerfTracker

    Constructors

    | Improve this Doc View Source

    PerfTracker(string)

    Declaration
    public PerfTracker(string whatsBeingTracked)
    Parameters
    Type Name Description
    string whatsBeingTracked
    | Improve this Doc View Source

    PerfTracker(string, string, string)

    Creates a new PerfTracker object to track performance. The constructor starts the clock ticking.

    Declaration
    public PerfTracker(string whatsBeingTracked, string infoName, string infoValue)
    Parameters
    Type Name Description
    string whatsBeingTracked

    The name of the thing you're tracking performance for -- like API method name, procname, or whatever.

    string infoName

    The name of an additional value you want to capture

    string infoValue

    The value of the additional info you're capturing (like parameters for a method)

    Methods

    | Improve this Doc View Source

    Stop()

    Declaration
    public void Stop()

    Extension Methods

    SerializationHelper.SerializeObject<T>(T)
    SerializationHelper.SerializeObjectUsingBinaryFormatter<T>(T)
    SerializationHelper.SerializeToXML<T>(T)
    GenericTypeExtensions.GetGenericTypeName(object)
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PerfTracker(string)
      • PerfTracker(string, string, string)
    • Methods
      • Stop()
    • Extension Methods
    Back to top Generated by Abhith Rajan using DocFX