Skip to content

Check the timing code for MiniProfiler integration #88

@Turnerj

Description

@Turnerj

I have a feeling I might have done something wrong in the way the MiniProfiler integrates with the querying code. The problem looks like it would be because I only notify MiniProfiler on the first read and at the end of the whole read, not for every individual item.

Is the point because the query is actually performed to get the first result and the rest of the time the DB is actually waiting on us? Should I be also stopping the timing then on the first read?

I need to sanity check my implementation against the EF Core diagnostic listener again: https://github.com/MiniProfiler/dotnet/blob/master/src/MiniProfiler.EntityFrameworkCore/RelationalDiagnosticListener.cs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions