Before this change, profiles like those in #272 would import but would display misleading data. Let's fail hard instead. Fixes #272
17 lines
318 B
JSON
17 lines
318 B
JSON
{
|
|
"$schema": "https://www.speedscope.app/file-format-schema.json",
|
|
"shared": {
|
|
"frames": [{"name": "A"}]
|
|
},
|
|
"profiles": [
|
|
{
|
|
"type": "evented",
|
|
"name": "p1",
|
|
"unit": "none",
|
|
"startValue": 0,
|
|
"endValue": 100,
|
|
"events": [{"type": "O", "frame": 0, "at": 0}]
|
|
}
|
|
]
|
|
}
|