github.com/grafana/pyroscope@v1.18.0/pkg/og/convert/speedscope/testdata/duplicates.speedscope.json (about)

     1  {
     2    "exporter": "speedscope@0.6.0",
     3    "$schema": "https://www.speedscope.app/file-format-schema.json",
     4    "name": "Two Duplicate 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": "one",
    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        "type": "sampled",
    39        "name": "one",
    40        "unit": "seconds",
    41        "startValue": 0,
    42        "endValue": 52,
    43        "samples": [
    44          [0, 1, 2],
    45          [0, 1, 2],
    46          [0, 1, 3],
    47          [0, 1, 2],
    48          [0, 1]
    49        ],
    50        "weights": [1, 1, 4, 3, 5]
    51      }
    52    ],
    53    "shared": {
    54      "frames": [
    55        { "name": "a" },
    56        { "name": "b" },
    57        { "name": "c" },
    58        { "name": "d" }
    59      ]
    60    }
    61  }