github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/cypress/fixtures/pyroscope.server.alloc_objects.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, 75489, 0, 0], 75 [ 76 0, 4733, 0, 44, 0, 26930, 0, 28, 0, 21845, 0, 20, 0, 21973, 0, 6, 0, 8, 77 0, 1 78 ], 79 [ 80 0, 4733, 0, 45, 0, 26930, 0, 29, 0, 21845, 0, 21, 0, 128, 128, 19, 0, 81 21845, 0, 7, 0, 8, 0, 2 82 ], 83 [ 84 0, 1, 0, 65, 0, 4701, 0, 55, 0, 31, 0, 46, 0, 26930, 0, 30, 0, 21845, 0, 85 22, 128, 21845, 0, 8, 0, 8, 0, 3 86 ], 87 [ 88 0, 1, 0, 66, 0, 4681, 0, 58, 0, 20, 0, 56, 0, 31, 0, 47, 0, 14746, 0, 89 32, 0, 12184, 12184, 31, 0, 21845, 0, 23, 128, 21845, 0, 9, 0, 8, 3, 4 90 ], 91 [ 92 0, 1, 1, 67, 0, 4681, 0, 59, 0, 20, 20, 57, 0, 31, 0, 48, 0, 14746, 0, 93 33, 12184, 21845, 0, 24, 128, 21845, 0, 10, 3, 5, 5, 5 94 ], 95 [ 96 1, 4681, 0, 60, 20, 22, 0, 52, 0, 9, 0, 49, 0, 6554, 0, 40, 0, 8192, 0, 97 34, 12184, 21845, 0, 25, 128, 21845, 0, 8 98 ], 99 [ 100 1, 4681, 0, 61, 20, 3, 0, 54, 0, 19, 19, 53, 0, 9, 0, 50, 0, 6554, 0, 101 41, 0, 8192, 0, 35, 12184, 21845, 0, 26, 128, 21845, 0, 8 102 ], 103 [ 104 1, 4681, 0, 62, 20, 3, 0, 50, 19, 9, 0, 3, 0, 6554, 0, 42, 0, 8192, 0, 105 36, 12184, 21845, 21845, 27, 128, 21845, 0, 11 106 ], 107 [ 108 1, 4681, 0, 63, 20, 3, 0, 3, 19, 9, 2, 4, 0, 6554, 6554, 43, 0, 8192, 0, 109 37, 34157, 21845, 0, 12 110 ], 111 [ 112 1, 4681, 4681, 64, 20, 3, 0, 4, 21, 2, 2, 5, 0, 5, 5, 51, 6554, 8192, 0, 113 38, 34157, 21845, 0, 13 114 ], 115 [4702, 3, 3, 5, 6582, 8192, 0, 39, 34157, 21845, 0, 8], 116 [11287, 8192, 0, 39, 34157, 21845, 0, 8], 117 [11287, 8192, 0, 39, 34157, 21845, 0, 14], 118 [11287, 8192, 0, 39, 34157, 21845, 0, 15], 119 [11287, 8192, 0, 39, 34157, 21845, 0, 16], 120 [11287, 8192, 0, 39, 34157, 21845, 0, 17], 121 [11287, 8192, 8192, 39, 34157, 21845, 21845, 18] 122 ], 123 "numTicks": 75489, 124 "maxSelf": 21845, 125 "spyName": "gospy", 126 "sampleRate": 100, 127 "units": "objects", 128 "format": "single" 129 }, 130 "metadata": { 131 "format": "single", 132 "sampleRate": 100, 133 "spyName": "gospy", 134 "units": "objects" 135 }, 136 "timeline": { 137 "startTime": 1632505880, 138 "samples": [26580, 48911], 139 "durationDelta": 10 140 }, 141 "groups": {} 142 }