_______ function is used to report memory allocations during benchmark execution.

  • Allocs()
  • BenchmarkAllocations()
  • MemoryStats()
  • ReportAllocs()
In Go benchmarking, the testing package provides the ReportAllocs() function to report memory allocations during benchmark execution, aiding in memory profiling.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *