Performance Profiling - Visual Studio Flashcards

1
Q

Why Performance Profiling

A

value to the Customer:
faster page loads

For azure payment or customers: BUSINESS cost to consider when hosting VM’s
CPU time or CPU cycle
Memory usage; memory allocation for different objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Peformance tools used by

A

Game developers are big customers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Mishandling CPU time

A

Mishandling CPU time; using bad practice; using async code
if looping on big datasets
not caching properly; everytime you make api call slows down
string building - these are expensive; it slows down

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Mishandling memory

A

allocating too much memory
not deallocating memory
for management code; the .Net run time takes the garbage collection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

External dependencies

A

like database calls

which do not respond faster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Performance Profiling tool in visual studio

A
Debug -- Performance Profiler -
Tools 
.NET Async
CPU usage
Database
Events Viewer

it creates diagsessoin, you could share with others

How well did you know this?
1
Not at all
2
3
4
5
Perfectly