Slide 1

Slide 1 text

Go Memory usage Heap Goroutine stack P1 mcache main frame BONUS_PERCENTAGE 10

Slide 2

Slide 2 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 Employee:new name “John” salary 5000 sales 5 bonus 0

Slide 3

Slide 3 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10

Slide 4

Slide 4 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5

Slide 5

Slide 5 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 0

Slide 6

Slide 6 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 0 getBonusPercentage salary 5000

Slide 7

Slide 7 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 0 getBonusPercentage salary 5000 percentage 500

Slide 8

Slide 8 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 0 getBonusPercentage salary 5000 percentage 500 return 500

Slide 9

Slide 9 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 500

Slide 10

Slide 10 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 500 bonus 2500

Slide 11

Slide 11 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 findEmployeeBonus salary 5000 noOfSales 5 bonusPercentage 500 bonus 2500 return 2500

Slide 12

Slide 12 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 mspan Employee name “John” salary 5000 sales 5 bonus 2500

Slide 13

Slide 13 text

Go Memory usage Heap Goroutine stack P1 mcache main frame john BONUS_PERCENTAGE 10 mspan Employee name “John” salary 5000 sales 5 bonus 2500