profileType property

String? profileType
getter/setter pair

Type of profile.

For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server. Possible string values are:

  • "PROFILE_TYPE_UNSPECIFIED" : Unspecified profile type.
  • "CPU" : Thread CPU time sampling.
  • "WALL" : Wallclock time sampling. More expensive as stops all threads.
  • "HEAP" : In-use heap profile. Represents a snapshot of the allocations that are live at the time of the profiling.
  • "THREADS" : Single-shot collection of all thread stacks.
  • "CONTENTION" : Synchronization contention profile.
  • "PEAK_HEAP" : Peak heap profile.
  • "HEAP_ALLOC" : Heap allocation profile. It represents the aggregation of all allocations made over the duration of the profile. All allocations are included, including those that might have been freed by the end of the profiling interval. The profile is in particular useful for garbage collecting languages to understand which parts of the code create most of the garbage collection pressure to see if those can be optimized.

Implementation

core.String? profileType;