Run NodesReferenceutils

profiler

Package profiler

import "github.com/luxfi/node/utils/profiler"

Types

Config

Config that is used to describe the options of the continuous profiler.

ContinuousProfiler

ContinuousProfiler periodically captures CPU, memory, and lock profiles

func NewContinuous(dir string, freq time.Duration, maxNumFiles int) ContinuousProfiler

Profiler

Profiler provides helper methods for measuring the current performance of this process

func New(dir string) Profiler