Description: A lot of CPU or Memory is being consumed by IEnumerable<T>.Aggregate() calls.
Current condition: 36% of your CPU was spent in Enumerable.Aggregate called from FlightJournal.Web.Controllers.ReportController.Export. We expected this value to be <1%.
Recommendations: Consider unrolling the LINQ expression to use an explicit for-loop.
In case of nested LINQ expressions, make sure that same computati...
Description: A lot of CPU or Memory is being consumed by
IEnumerable<T>.Aggregate()
calls.Current condition: 36% of your CPU was spent in
Enumerable.Aggregate
called fromFlightJournal.Web.Controllers.ReportController.Export
. We expected this value to be <1%.Recommendations: Consider unrolling the LINQ expression to use an explicit for-loop.
In case of nested LINQ expressions, make sure that same computati...
Call Stack:
System.Core!System.Linq.Queryable.SingleOrDefault(class System.Linq.IQueryable
1<!!0>,class System.Linq.Expressions.Expression
1<class System.Func2<!!0,bool>>) flightjournal.web!FlightJournal.Web.Controllers.ClubController.GetCurrentClub(class System.Web.HttpContextBase,class System.Web.Routing.RouteData) flightjournal.web!FlightJournal.Web.Controllers.ClubController.GetCurrentClub() flightjournal.web!FlightJournal.Web.Models.Flight.IsCurrentClubPilots(class FlightJournal.Web.Models.Flight) flightjournal.web!FlightJournal.Web.Controllers.ReportController+<>c.<Export>b__2_2(class FlightJournal.Web.Models.Flight) System.Core!System.Linq.Enumerable.Aggregate(class System.Collections.Generic.IEnumerable
1<!!0>,!!1,class Syste