Skip to main content
RustDocs

Gc.Alloc

gc.alloc

Attributes

Help
(Generated) Allocates a byte array of the given size (default 1 MB) as a GC pressure test; useful for profiling memory allocation throughput
ServerUser
No
Client
No
Server
Yes
Raw JSON
{
  "Help": "(Generated) Allocates a byte array of the given size (default 1 MB) as a GC pressure test; useful for profiling memory allocation throughput",
  "ServerUser": false,
  "Client": false,
  "Server": true
}