github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/convert/speedscope/testdata/two-sampled.speedscope.json (about)

     1  {
     2    "exporter": "speedscope@0.6.0",
     3    "$schema": "https://www.speedscope.app/file-format-schema.json",
     4    "name": "Two Samples",
     5    "activeProfileIndex": 1,
     6    "profiles": [
     7      {
     8        "type": "sampled",
     9        "name": "one",
    10        "unit": "seconds",
    11        "startValue": 0,
    12        "endValue": 14,
    13        "samples": [
    14          [0, 1, 2],
    15          [0, 1, 2],
    16          [0, 1, 3],
    17          [0, 1, 2],
    18          [0, 1]
    19        ],
    20        "weights": [1, 1, 4, 3, 5]
    21      },
    22      {
    23        "type": "sampled",
    24        "name": "two",
    25        "unit": "seconds",
    26        "startValue": 0,
    27        "endValue": 14,
    28        "samples": [
    29          [0, 1, 2],
    30          [0, 1, 2],
    31          [0, 1, 3],
    32          [0, 1, 2],
    33          [0, 1]
    34        ],
    35        "weights": [1, 1, 4, 3, 5]
    36      }
    37    ],
    38    "shared": {
    39      "frames": [
    40        { "name": "a" },
    41        { "name": "b" },
    42        { "name": "c" },
    43        { "name": "d" }
    44      ]
    45    }
    46  }