Skip to content

Instantly share code, notes, and snippets.

@bvaughn
Created April 1, 2019 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bvaughn/08833705df0cfb5daaba68d4af3ab335 to your computer and use it in GitHub Desktop.
Save bvaughn/08833705df0cfb5daaba68d4af3ab335 to your computer and use it in GitHub Desktop.
Sample React DevTools profiling data export
{
"version": 1,
"profilingSummary": {
"commitDurations": [
8.130000089295208,
2.7099999133497477,
0.40499994065612555,
0.3299998352304101,
0.3400000277906656,
0.33000006806105375,
1.3249999610707164,
0.9700001683086157
],
"commitTimes": [
18.414999940432608,
1015.3050000080839,
2173.884999938309,
2299.8099999967963,
2351.784999947995,
2415.4949999647215,
2632.994999992661,
3690.904999966733
],
"initialTreeBaseDurations": [],
"interactionCount": 3,
"rootID": 1
},
"commitDetails": [
{
"commitIndex": 0,
"interactions": [],
"actualDurations": [
1,
8.130000089295208,
2,
6.800000090152025,
3,
0.9649998974055052,
4,
0.3299998352304101,
5,
0.21000031847506762
],
"rootID": 1
},
{
"commitIndex": 1,
"interactions": [
{
"__count": 1,
"id": 0,
"name": "Toggle item \"Second\"",
"timestamp": 1010.0950000341982
}
],
"actualDurations": [
3,
0.6100001046434045,
4,
0.23499992676079273,
5,
0.2050000475719571,
2,
2.699999953620136,
1,
2.7099999133497477
],
"rootID": 1
},
{
"commitIndex": 2,
"interactions": [],
"actualDurations": [
3,
0.00500003807246685,
2,
0.39499998092651367,
1,
0.40499994065612555
],
"rootID": 1
},
{
"commitIndex": 3,
"interactions": [],
"actualDurations": [
2,
0.3249999135732651,
1,
0.3299998352304101
],
"rootID": 1
},
{
"commitIndex": 4,
"interactions": [],
"actualDurations": [
2,
0.3349999897181988,
1,
0.3400000277906656
],
"rootID": 1
},
{
"commitIndex": 5,
"interactions": [],
"actualDurations": [
3,
0.00500003807246685,
2,
0.33000006806105375,
1,
0.33000006806105375
],
"rootID": 1
},
{
"commitIndex": 6,
"interactions": [
{
"__count": 1,
"id": 1,
"name": "Add item \"Four\"",
"timestamp": 2630.0350000383332
}
],
"actualDurations": [
3,
0.1799999736249447,
4,
0.16500020865350962,
5,
0.16499997582286596,
6,
0.3749999450519681,
2,
1.3199999229982495,
1,
1.3249999610707164
],
"rootID": 1
},
{
"commitIndex": 7,
"interactions": [
{
"__count": 1,
"id": 2,
"name": "Remove item \"Second\"",
"timestamp": 3688.2650000043213
}
],
"actualDurations": [
3,
0.1800000900402665,
5,
0.13999990187585354,
6,
0.14500017277896404,
2,
0.9700001683086157,
1,
0.9700001683086157
],
"rootID": 1
}
],
"interactions": {
"interactions": [
{
"__count": 1,
"id": 0,
"name": "Toggle item \"Second\"",
"timestamp": 1010.0950000341982,
"commits": [
1
]
},
{
"__count": 1,
"id": 1,
"name": "Add item \"Four\"",
"timestamp": 2630.0350000383332,
"commits": [
6
]
},
{
"__count": 1,
"id": 2,
"name": "Remove item \"Second\"",
"timestamp": 3688.2650000043213,
"commits": [
7
]
}
],
"rootID": 1
},
"profilingOperations": [
[
1,
[
[
1,
1,
1,
1,
10,
1,
4,
1,
3954,
1,
2,
4,
1,
0,
4,
76,
105,
115,
116,
0,
4,
2,
2684,
1,
3,
7,
2,
2,
14,
77,
101,
109,
111,
40,
76,
105,
115,
116,
73,
116,
101,
109,
41,
1,
49,
4,
3,
569,
1,
4,
7,
2,
2,
14,
77,
101,
109,
111,
40,
76,
105,
115,
116,
73,
116,
101,
109,
41,
1,
50,
4,
4,
129,
1,
5,
7,
2,
2,
14,
77,
101,
109,
111,
40,
76,
105,
115,
116,
73,
116,
101,
109,
41,
1,
51,
4,
5,
75
],
[
1,
1,
4,
3,
420,
4,
4,
145,
4,
5,
125,
4,
2,
1765,
4,
1,
3035
],
[
1,
1,
4,
2,
910,
4,
1,
2180
],
[
1,
1,
4,
2,
880,
4,
1,
2150
],
[
1,
1,
4,
2,
875,
4,
1,
2145
],
[
1,
1
],
[
1,
1,
4,
3,
119,
4,
4,
100,
4,
5,
80,
1,
6,
7,
2,
2,
14,
77,
101,
109,
111,
40,
76,
105,
115,
116,
73,
116,
101,
109,
41,
1,
52,
4,
6,
99,
4,
2,
660,
4,
1,
1930
],
[
1,
1,
2,
4,
4,
3,
125,
4,
5,
69,
4,
6,
90,
4,
2,
675,
4,
1,
1945
]
]
]
],
"profilingSnapshot": [
[
1,
null
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment