github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/cypress/fixtures/pyroscope.server.alloc_space.json (about)

     1  {
     2    "flamebearer": {
     3      "names": [
     4        "total",
     5        "runtime/pprof.profileWriter",
     6        "runtime/pprof.(*profileBuilder).build",
     7        "compress/gzip.(*Writer).Write",
     8        "compress/flate.NewWriter",
     9        "compress/flate.(*compressor).init",
    10        "net/http.(*conn).serve",
    11        "net/http.serverHandler.ServeHTTP",
    12        "net/http.HandlerFunc.ServeHTTP",
    13        "github.com/klauspost/compress/gzhttp.NewWrapper.func1.1",
    14        "net/http.(*ServeMux).ServeHTTP",
    15        "github.com/slok/go-http-metrics/middleware/std.Handler.func1",
    16        "github.com/slok/go-http-metrics/middleware.Middleware.Measure",
    17        "github.com/slok/go-http-metrics/middleware/std.Handler.func1.1",
    18        "github.com/pyroscope-io/pyroscope/pkg/server.(*Controller).ingestHandler",
    19        "github.com/pyroscope-io/pyroscope/pkg/server.wrapConvertFunctionBuf.func1",
    20        "github.com/pyroscope-io/pyroscope/pkg/convert.ParseTrieBuf",
    21        "github.com/pyroscope-io/pyroscope/pkg/structs/transporttrie.IterateRaw",
    22        "github.com/pyroscope-io/pyroscope/pkg/storage/tree.(*Tree).InsertInt",
    23        "bufio.NewReaderSize",
    24        "github.com/pyroscope-io/pyroscope/pkg/util/debug.(*Reporter).Start",
    25        "github.com/pyroscope-io/pyroscope/pkg/util/debug.DiskUsage",
    26        "github.com/pyroscope-io/pyroscope/pkg/util/debug.dirSize",
    27        "path/filepath.Walk",
    28        "path/filepath.walk",
    29        "path/filepath.readDirNames",
    30        "os.(*File).Readdirnames",
    31        "os.(*File).readdir",
    32        "github.com/pyroscope-io/pyroscope/pkg/agent/upstream/direct.(*Direct).uploadLoop",
    33        "github.com/pyroscope-io/pyroscope/pkg/agent/upstream/direct.(*Direct).safeUpload",
    34        "github.com/pyroscope-io/pyroscope/pkg/agent/upstream/direct.(*Direct).uploadProfile",
    35        "github.com/pyroscope-io/pyroscope/pkg/structs/transporttrie.(*Trie).Iterate",
    36        "github.com/pyroscope-io/pyroscope/pkg/storage.IngestionObserver.Put",
    37        "github.com/pyroscope-io/pyroscope/pkg/storage.(*Storage).Put",
    38        "github.com/pyroscope-io/pyroscope/pkg/storage/segment.(*Segment).Put",
    39        "github.com/pyroscope-io/pyroscope/pkg/storage/segment.(*streeNode).put",
    40        "github.com/pyroscope-io/pyroscope/pkg/storage/segment.(*Segment).Put.func1",
    41        "github.com/pyroscope-io/pyroscope/pkg/storage.(*Storage).Put.func1",
    42        "github.com/pyroscope-io/pyroscope/pkg/storage/tree.(*Tree).Clone",
    43        "github.com/pyroscope-io/pyroscope/pkg/storage/tree.(*treeNode).clone",
    44        "github.com/pyroscope-io/pyroscope/pkg/storage/cache.(*Cache).GetOrCreate",
    45        "github.com/pyroscope-io/pyroscope/pkg/storage/cache.(*Cache).get",
    46        "github.com/pyroscope-io/pyroscope/pkg/storage/cache/lfu.(*Cache).GetOrSet",
    47        "github.com/pyroscope-io/pyroscope/pkg/storage/cache/lfu.(*Cache).increment",
    48        "github.com/pyroscope-io/pyroscope/pkg/agent.(*ProfileSession).takeSnapshots",
    49        "github.com/pyroscope-io/pyroscope/pkg/agent/gospy.(*GoSpy).Snapshot",
    50        "runtime/pprof.writeHeap",
    51        "runtime/pprof.writeHeapInternal",
    52        "runtime/pprof.writeHeapProto",
    53        "runtime/pprof.(*profileBuilder).pbSample",
    54        "runtime/pprof.(*profileBuilder).flush",
    55        "compress/flate.newDeflateFast",
    56        "runtime/pprof.(*profileBuilder).appendLocsForStack",
    57        "runtime/pprof.(*profileBuilder).stringIndex",
    58        "runtime/pprof.(*profileBuilder).emitLocation",
    59        "github.com/pyroscope-io/pyroscope/pkg/agent/gospy.getHeapProfile",
    60        "io/ioutil.ReadAll",
    61        "io.ReadAll",
    62        "github.com/pyroscope-io/pyroscope/pkg/convert.ParsePprof",
    63        "google.golang.org/protobuf/proto.Unmarshal",
    64        "google.golang.org/protobuf/proto.UnmarshalOptions.unmarshal",
    65        "google.golang.org/protobuf/internal/impl.(*MessageInfo).unmarshal",
    66        "google.golang.org/protobuf/internal/impl.(*MessageInfo).unmarshalPointer",
    67        "google.golang.org/protobuf/internal/impl.consumeMessageSliceInfo",
    68        "reflect.New",
    69        "github.com/pyroscope-io/pyroscope/pkg/agent/gospy.(*GoSpy).Snapshot.func1",
    70        "github.com/pyroscope-io/pyroscope/pkg/agent/gospy.startCPUProfile",
    71        "runtime/pprof.StartCPUProfile"
    72      ],
    73      "levels": [
    74        [0, 12520922, 0, 0],
    75        [
    76          0, 5667556, 0, 44, 0, 2097456, 0, 28, 0, 524300, 0, 20, 0, 1050638, 0,
    77          6, 0, 3180972, 0, 1
    78        ],
    79        [
    80          0, 5667556, 0, 45, 0, 2097456, 0, 29, 0, 524300, 0, 21, 0, 526338,
    81          526338, 19, 0, 524300, 0, 7, 0, 3180972, 0, 2
    82        ],
    83        [
    84          0, 1212697, 0, 65, 0, 1062382, 0, 55, 0, 3392477, 0, 46, 0, 2097456, 0,
    85          30, 0, 524300, 0, 22, 526338, 524300, 0, 8, 0, 3180972, 0, 3
    86        ],
    87        [
    88          0, 1212697, 0, 66, 0, 524344, 0, 58, 0, 538038, 0, 56, 0, 3392477, 0,
    89          47, 0, 1048648, 0, 32, 0, 1048808, 1048808, 31, 0, 524300, 0, 23,
    90          526338, 524300, 0, 9, 0, 3180972, 1848497, 4
    91        ],
    92        [
    93          0, 1212697, 1212697, 67, 0, 524344, 0, 59, 0, 538038, 538038, 57, 0,
    94          3392477, 0, 48, 0, 1048648, 0, 33, 1048808, 524300, 0, 24, 526338,
    95          524300, 0, 10, 1848497, 1332475, 1332475, 5
    96        ],
    97        [
    98          1212697, 524344, 0, 60, 538038, 1204992, 0, 52, 0, 2187485, 0, 49, 0,
    99          524328, 0, 40, 0, 524320, 0, 34, 1048808, 524300, 0, 25, 526338, 524300,
   100          0, 8
   101        ],
   102        [
   103          1212697, 524344, 0, 61, 538038, 666238, 0, 54, 0, 538754, 538754, 53, 0,
   104          2187485, 0, 50, 0, 524328, 0, 41, 0, 524320, 0, 35, 1048808, 524300, 0,
   105          26, 526338, 524300, 0, 8
   106        ],
   107        [
   108          1212697, 524344, 0, 62, 538038, 666238, 0, 50, 538754, 2187485, 0, 3, 0,
   109          524328, 0, 42, 0, 524320, 0, 36, 1048808, 524300, 524300, 27, 526338,
   110          524300, 0, 11
   111        ],
   112        [
   113          1212697, 524344, 0, 63, 538038, 666238, 0, 3, 538754, 2187485, 924248,
   114          4, 0, 524328, 524328, 43, 0, 524320, 0, 37, 2099446, 524300, 0, 12
   115        ],
   116        [
   117          1212697, 524344, 524344, 64, 538038, 666238, 0, 4, 1463002, 666238,
   118          666238, 5, 0, 596999, 596999, 51, 524328, 524320, 0, 38, 2099446,
   119          524300, 0, 13
   120        ],
   121        [
   122          2275079, 666238, 666238, 5, 3250567, 524320, 0, 39, 2099446, 524300, 0,
   123          8
   124        ],
   125        [6191884, 524320, 0, 39, 2099446, 524300, 0, 8],
   126        [6191884, 524320, 0, 39, 2099446, 524300, 0, 14],
   127        [6191884, 524320, 0, 39, 2099446, 524300, 0, 15],
   128        [6191884, 524320, 0, 39, 2099446, 524300, 0, 16],
   129        [6191884, 524320, 0, 39, 2099446, 524300, 0, 17],
   130        [6191884, 524320, 524320, 39, 2099446, 524300, 524300, 18]
   131      ],
   132      "numTicks": 12520922,
   133      "maxSelf": 1848497,
   134      "spyName": "gospy",
   135      "sampleRate": 100,
   136      "units": "bytes",
   137      "format": "single"
   138    },
   139    "metadata": {
   140      "format": "single",
   141      "sampleRate": 100,
   142      "spyName": "gospy",
   143      "units": "bytes"
   144    },
   145    "timeline": {
   146      "startTime": 1632505880,
   147      "samples": [7116106, 5404818],
   148      "durationDelta": 10
   149    },
   150    "groups": {}
   151  }