MusicStore icon indicating copy to clipboard operation
MusicStore copied to clipboard

MusicStore app consumes 50% of CPU with just one single client.

Open sivagms opened this issue 10 years ago • 5 comments

Azure standard A2 machine Investigate the cpu profile to see what are the culprits.. /CC @SajayAntony

sivagms avatar Mar 30 '16 20:03 sivagms

PerfView shows 40% of MusicStore CPU in EntityFramework and 70% in async libraries. Looks like the cost of iterating through query results is high

martinpf avatar Apr 11 '16 22:04 martinpf

Fixed in fb4fadb0b10 - @Eilon ok to close?

anpete avatar May 06 '16 17:05 anpete

Ah, of course, yes.

Eilon avatar May 06 '16 17:05 Eilon

now we are able to get 114 req/sec (compared to < 1 req/sec before the fix)

sivagms avatar May 06 '16 17:05 sivagms

I'll take a 10,000% improvement any day of the week 😄

Eilon avatar May 06 '16 23:05 Eilon