github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/webapp/javascript/util/testData.ts (about) 1 import { Profile } from '@pyroscope/models/src'; 2 3 export const SimpleSingle: Profile = { 4 version: 1, 5 flamebearer: { 6 names: [ 7 'total', 8 'runtime.main', 9 'main.main', 10 'github.com/pyroscope-io/client/pyroscope.TagWrapper', 11 'runtime/pprof.Do', 12 'github.com/pyroscope-io/client/pyroscope.TagWrapper.func1', 13 'main.main.func1', 14 'main.slowFunction', 15 'main.slowFunction.func1', 16 'main.work', 17 'main.fastFunction', 18 'main.fastFunction.func1', 19 ], 20 levels: [ 21 [0, 95, 0, 0], 22 [0, 95, 0, 1], 23 [0, 95, 0, 2], 24 [0, 95, 0, 3], 25 [0, 95, 0, 4], 26 [0, 95, 0, 5], 27 [0, 95, 0, 6], 28 [0, 19, 0, 10, 0, 76, 0, 7], 29 [0, 19, 0, 3, 0, 76, 0, 4], 30 [0, 19, 0, 4, 0, 76, 0, 8], 31 [0, 19, 0, 5, 0, 76, 76, 9], 32 [0, 19, 0, 11], 33 [0, 19, 19, 9], 34 ], 35 numTicks: 95, 36 maxSelf: 76, 37 }, 38 metadata: { 39 format: 'single', 40 spyName: 'gospy', 41 sampleRate: 100, 42 units: 'samples', 43 name: 'simple.golang.app.cpu 2022-03-09T20:25:55Z', 44 appName: 'simple.golang.app.cpu', 45 startTime: 1646857555, 46 endTime: 1646857555, 47 query: 'simple.golang.app.cpu{}', 48 maxNodes: 8192, 49 }, 50 };