Grokking Advanced Go
0% completed
Memory Profiles
The two listings below come from one profile file, recorded during one run of one order-processing function. The first says that Order.Receipt is responsible for 60.70 percent of the memory. The second does not mention Order.Receipt at all.
Type: alloc_space flat flat% sum% cum cum% 51MB 23.45% 86.45% 132.01MB 60.70% example.Order.Receipt
Type: inuse_space Showing nodes accounting for 64.15MB, 100% of 64.15MB total flat flat% sum% cum cum% 56.02MB 87.32% 87.32% 56.02MB 87.32% slices.Clone[go.shape.[]example.Item,go
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%