gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
8.97k stars 1.3k forks source link

Extension causes high cpu load #1482

Open nonameolsson opened 3 years ago

nonameolsson commented 3 years ago

:warning: Make sure to attach this file from your home-directory: :warning:/var/folders/dx/m4b0ntq941sgwbb3gq1w42140000gn/T/eamodio.gitlens-unresponsive.cpuprofile.txt

{
    "nodes": [
        {
            "id": 1,
            "callFrame": {
                "functionName": "(root)",
                "scriptId": "0",
                "url": "",
                "lineNumber": -1,
                "columnNumber": -1
            },
            "hitCount": 0,
            "children": [
                2
            ]
        },
        {
            "id": 2,
            "callFrame": {
                "functionName": "processTicksAndRejections",
                "scriptId": "23",
                "url": "internal/process/task_queues.js",
                "lineNumber": 64,
                "columnNumber": 34
            },
            "hitCount": 2,
            "children": [
                3,
                38
            ],
            "positionTicks": [
                {
                    "line": 93,
                    "ticks": 2
                }
            ]
        },
        {
            "id": 3,
            "callFrame": {
                "functionName": "provideTerminalLinks",
                "scriptId": "1102",
                "url": "file:///Users/andreasolsson/.vscode-insiders/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js",
                "lineNumber": 26,
                "columnNumber": 63415
            },
            "hitCount": 4,
            "children": [
                4,
                50
            ],
            "positionTicks": [
                {
                    "line": 27,
                    "ticks": 4
                }
            ]
        },
        {
            "id": 4,
            "callFrame": {
                "functionName": "Re.<computed>",
                "scriptId": "1102",
                "url": "file:///Users/andreasolsson/.vscode-insiders/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js",
                "lineNumber": 166,
                "columnNumber": 4702
            },
            "hitCount": 3,
            "children": [
                5
            ],
            "positionTicks": [
                {
                    "line": 167,
                    "ticks": 3
                }
            ]
        },
        {
            "id": 5,
            "callFrame": {
                "functionName": "validateReference",
                "scriptId": "1102",
                "url": "file:///Users/andreasolsson/.vscode-insiders/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js",
                "lineNumber": 46,
                "columnNumber": 4573
            },
            "hitCount": 2,
            "children": [
                6
            ],
            "positionTicks": [
                {
                    "line": 47,
                    "ticks": 2
                }
            ]
        },
        {
            "id": 6,
            "callFrame": {
                "functionName": "Zt",
                "scriptId": "1102",
                "url": "file:///Users/andreasolsson/.vscode-insiders/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js",
                "lineNumber": 41,
                "columnNumber": 767
            },
            "hitCount": 1,
            "children": [
                7
            ],
            "positionTicks": [
                {
                    "line": 42,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 7,
            "callFrame": {
                "functionName": "Ie",
                "scriptId": "1102",
                "url": "file:///Users/andreasolsson/.vscode-insiders/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js",
                "lineNumber": 40,
                "columnNumber": 11504
            },
            "hitCount": 20,
            "children": [
                8
            ],
            "positionTicks": [
                {
                    "line": 41,
                    "ticks": 20
                }
            ]
        },
        {
            "id": 8,
            "callFrame": {
                "functionName": "M",
                "scriptId": "1102",
                "url": "file:///Users/andreasolsson/.vscode-insiders/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js",
                "lineNumber": 52,
                "columnNumber": 36283
            },
            "hitCount": 2,
            "children": [
                9
            ],
            "positionTicks": [
                {
                    "line": 53,
                    "ticks": 2
                }
            ]
        },
        {
            "id": 9,
            "callFrame": {
                "functionName": "",
                "scriptId": "1102",
                "url": "file:///Users/andreasolsson/.vscode-insiders/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js",
                "lineNumber": 52,
                "columnNumber": 36382
            },
            "hitCount": 0,
            "children": [
                10
            ]
        },
        {
            "id": 10,
            "callFrame": {
                "functionName": "t.<computed>",
                "scriptId": "98",
                "url": "electron/js2c/asar_bundle.js",
                "lineNumber": 4,
                "columnNumber": 2184
            },
            "hitCount": 1,
            "children": [
                11
            ],
            "positionTicks": [
                {
                    "line": 5,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 11,
            "callFrame": {
                "functionName": "execFile",
                "scriptId": "49",
                "url": "child_process.js",
                "lineNumber": 199,
                "columnNumber": 17
            },
            "hitCount": 0,
            "children": [
                12,
                28,
                33,
                51
            ]
        },
        {
            "id": 12,
            "callFrame": {
                "functionName": "spawn",
                "scriptId": "49",
                "url": "child_process.js",
                "lineNumber": 556,
                "columnNumber": 14
            },
            "hitCount": 0,
            "children": [
                13,
                22,
                49
            ]
        },
        {
            "id": 13,
            "callFrame": {
                "functionName": "ChildProcess.spawn",
                "scriptId": "50",
                "url": "internal/child_process.js",
                "lineNumber": 332,
                "columnNumber": 39
            },
            "hitCount": 13,
            "children": [
                14,
                24,
                26
            ],
            "positionTicks": [
                {
                    "line": 378,
                    "ticks": 4
                },
                {
                    "line": 434,
                    "ticks": 9
                }
            ]
        },
        {
            "id": 14,
            "callFrame": {
                "functionName": "createSocket",
                "scriptId": "50",
                "url": "internal/child_process.js",
                "lineNumber": 312,
                "columnNumber": 21
            },
            "hitCount": 0,
            "children": [
                15
            ]
        },
        {
            "id": 15,
            "callFrame": {
                "functionName": "Socket",
                "scriptId": "51",
                "url": "net.js",
                "lineNumber": 267,
                "columnNumber": 15
            },
            "hitCount": 0,
            "children": [
                16
            ]
        },
        {
            "id": 16,
            "callFrame": {
                "functionName": "Socket",
                "scriptId": "51",
                "url": "net.js",
                "lineNumber": 267,
                "columnNumber": 15
            },
            "hitCount": 8,
            "children": [
                17,
                27,
                54
            ],
            "positionTicks": [
                {
                    "line": 307,
                    "ticks": 1
                },
                {
                    "line": 288,
                    "ticks": 2
                },
                {
                    "line": 300,
                    "ticks": 1
                },
                {
                    "line": 295,
                    "ticks": 4
                }
            ]
        },
        {
            "id": 17,
            "callFrame": {
                "functionName": "Duplex",
                "scriptId": "61",
                "url": "internal/streams/duplex.js",
                "lineNumber": 51,
                "columnNumber": 15
            },
            "hitCount": 1,
            "children": [
                18,
                20
            ],
            "positionTicks": [
                {
                    "line": 60,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 18,
            "callFrame": {
                "functionName": "Readable",
                "scriptId": "57",
                "url": "internal/streams/readable.js",
                "lineNumber": 186,
                "columnNumber": 17
            },
            "hitCount": 0,
            "children": [
                19
            ]
        },
        {
            "id": 19,
            "callFrame": {
                "functionName": "ReadableState",
                "scriptId": "57",
                "url": "internal/streams/readable.js",
                "lineNumber": 89,
                "columnNumber": 22
            },
            "hitCount": 2,
            "positionTicks": [
                {
                    "line": 105,
                    "ticks": 1
                },
                {
                    "line": 166,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 20,
            "callFrame": {
                "functionName": "Writable",
                "scriptId": "60",
                "url": "internal/streams/writable.js",
                "lineNumber": 217,
                "columnNumber": 17
            },
            "hitCount": 1,
            "children": [
                21
            ],
            "positionTicks": [
                {
                    "line": 236,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 21,
            "callFrame": {
                "functionName": "WritableState",
                "scriptId": "60",
                "url": "internal/streams/writable.js",
                "lineNumber": 66,
                "columnNumber": 22
            },
            "hitCount": 3,
            "positionTicks": [
                {
                    "line": 82,
                    "ticks": 1
                },
                {
                    "line": 137,
                    "ticks": 1
                },
                {
                    "line": 110,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 27,
            "callFrame": {
                "functionName": "Socket.read",
                "scriptId": "51",
                "url": "net.js",
                "lineNumber": 619,
                "columnNumber": 32
            },
            "hitCount": 2,
            "children": [
                45
            ],
            "positionTicks": [
                {
                    "line": 625,
                    "ticks": 2
                }
            ]
        },
        {
            "id": 45,
            "callFrame": {
                "functionName": "Readable.read",
                "scriptId": "57",
                "url": "internal/streams/readable.js",
                "lineNumber": 389,
                "columnNumber": 34
            },
            "hitCount": 0,
            "children": [
                46
            ]
        },
        {
            "id": 46,
            "callFrame": {
                "functionName": "Socket._read",
                "scriptId": "51",
                "url": "net.js",
                "lineNumber": 577,
                "columnNumber": 33
            },
            "hitCount": 0,
            "children": [
                47
            ]
        },
        {
            "id": 47,
            "callFrame": {
                "functionName": "tryReadStart",
                "scriptId": "51",
                "url": "net.js",
                "lineNumber": 567,
                "columnNumber": 21
            },
            "hitCount": 0,
            "children": [
                48
            ]
        },
        {
            "id": 48,
            "callFrame": {
                "functionName": "readStart",
                "scriptId": "0",
                "url": "",
                "lineNumber": -1,
                "columnNumber": -1
            },
            "hitCount": 2,
            "positionTicks": [
                {
                    "line": 572,
                    "ticks": 2
                }
            ]
        },
        {
            "id": 54,
            "callFrame": {
                "functionName": "initSocketHandle",
                "scriptId": "51",
                "url": "net.js",
                "lineNumber": 238,
                "columnNumber": 25
            },
            "hitCount": 0,
            "children": [
                55
            ]
        },
        {
            "id": 55,
            "callFrame": {
                "functionName": "set onread",
                "scriptId": "0",
                "url": "",
                "lineNumber": -1,
                "columnNumber": -1
            },
            "hitCount": 1,
            "positionTicks": [
                {
                    "line": 246,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 24,
            "callFrame": {
                "functionName": "getValidStdio",
                "scriptId": "50",
                "url": "internal/child_process.js",
                "lineNumber": 929,
                "columnNumber": 22
            },
            "hitCount": 0,
            "children": [
                25
            ]
        },
        {
            "id": 25,
            "callFrame": {
                "functionName": "",
                "scriptId": "50",
                "url": "internal/child_process.js",
                "lineNumber": 948,
                "columnNumber": 23
            },
            "hitCount": 1,
            "positionTicks": [
                {
                    "line": 972,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 26,
            "callFrame": {
                "functionName": "spawn",
                "scriptId": "0",
                "url": "",
                "lineNumber": -1,
                "columnNumber": -1
            },
            "hitCount": 629,
            "positionTicks": [
                {
                    "line": 378,
                    "ticks": 629
                }
            ]
        },
        {
            "id": 22,
            "callFrame": {
                "functionName": "ChildProcess",
                "scriptId": "50",
                "url": "internal/child_process.js",
                "lineNumber": 237,
                "columnNumber": 21
            },
            "hitCount": 1,
            "children": [
                23
            ],
            "positionTicks": [
                {
                    "line": 250,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 23,
            "callFrame": {
                "functionName": "Process",
                "scriptId": "0",
                "url": "",
                "lineNumber": -1,
                "columnNumber": -1
            },
            "hitCount": 1,
            "positionTicks": [
                {
                    "line": 250,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 49,
            "callFrame": {
                "functionName": "normalizeSpawnArguments",
                "scriptId": "49",
                "url": "child_process.js",
                "lineNumber": 418,
                "columnNumber": 32
            },
            "hitCount": 2,
            "positionTicks": [
                {
                    "line": 531,
                    "ticks": 1
                },
                {
                    "line": 538,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 28,
            "callFrame": {
                "functionName": "Readable.setEncoding",
                "scriptId": "57",
                "url": "internal/streams/readable.js",
                "lineNumber": 329,
                "columnNumber": 41
            },
            "hitCount": 2,
            "children": [
                29
            ],
            "positionTicks": [
                {
                    "line": 340,
                    "ticks": 1
                },
                {
                    "line": 333,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 29,
            "callFrame": {
                "functionName": "StringDecoder",
                "scriptId": "71",
                "url": "string_decoder.js",
                "lineNumber": 69,
                "columnNumber": 22
            },
            "hitCount": 0,
            "children": [
                30
            ]
        },
        {
            "id": 30,
            "callFrame": {
                "functionName": "alloc",
                "scriptId": "17",
                "url": "buffer.js",
                "lineNumber": 371,
                "columnNumber": 29
            },
            "hitCount": 0,
            "children": [
                31,
                32
            ]
        },
        {
            "id": 31,
            "callFrame": {
                "functionName": "FastBuffer",
                "scriptId": "19",
                "url": "internal/buffer.js",
                "lineNumber": 950,
                "columnNumber": 0
            },
            "hitCount": 2,
            "positionTicks": [
                {
                    "line": 951,
                    "ticks": 2
                }
            ]
        },
        {
            "id": 32,
            "callFrame": {
                "functionName": "hidden",
                "scriptId": "11",
                "url": "internal/errors.js",
                "lineNumber": 285,
                "columnNumber": 24
            },
            "hitCount": 1,
            "positionTicks": [
                {
                    "line": 294,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 33,
            "callFrame": {
                "functionName": "Readable.on",
                "scriptId": "57",
                "url": "internal/streams/readable.js",
                "lineNumber": 856,
                "columnNumber": 32
            },
            "hitCount": 0,
            "children": [
                34
            ]
        },
        {
            "id": 34,
            "callFrame": {
                "functionName": "Socket.resume",
                "scriptId": "51",
                "url": "net.js",
                "lineNumber": 610,
                "columnNumber": 34
            },
            "hitCount": 0,
            "children": [
                35
            ]
        },
        {
            "id": 35,
            "callFrame": {
                "functionName": "Readable.resume",
                "scriptId": "57",
                "url": "internal/streams/readable.js",
                "lineNumber": 943,
                "columnNumber": 36
            },
            "hitCount": 0,
            "children": [
                36
            ]
        },
        {
            "id": 36,
            "callFrame": {
                "functionName": "resume",
                "scriptId": "57",
                "url": "internal/streams/readable.js",
                "lineNumber": 957,
                "columnNumber": 15
            },
            "hitCount": 1,
            "children": [
                37
            ],
            "positionTicks": [
                {
                    "line": 959,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 37,
            "callFrame": {
                "functionName": "nextTick",
                "scriptId": "23",
                "url": "internal/process/task_queues.js",
                "lineNumber": 100,
                "columnNumber": 17
            },
            "hitCount": 1,
            "positionTicks": [
                {
                    "line": 126,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 51,
            "callFrame": {
                "functionName": "sanitizeKillSignal",
                "scriptId": "49",
                "url": "child_process.js",
                "lineNumber": 685,
                "columnNumber": 27
            },
            "hitCount": 1,
            "positionTicks": [
                {
                    "line": 688,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 50,
            "callFrame": {
                "functionName": "",
                "scriptId": "1102",
                "url": "file:///Users/andreasolsson/.vscode-insiders/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js",
                "lineNumber": 26,
                "columnNumber": 64116
            },
            "hitCount": 1,
            "positionTicks": [
                {
                    "line": 27,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 38,
            "callFrame": {
                "functionName": "",
                "scriptId": "132",
                "url": "file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js",
                "lineNumber": 90,
                "columnNumber": 11376
            },
            "hitCount": 2,
            "children": [
                39
            ],
            "positionTicks": [
                {
                    "line": 91,
                    "ticks": 2
                }
            ]
        },
        {
            "id": 39,
            "callFrame": {
                "functionName": "serializeReplyOK",
                "scriptId": "132",
                "url": "file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js",
                "lineNumber": 90,
                "columnNumber": 17859
            },
            "hitCount": 1,
            "children": [
                40,
                56
            ],
            "positionTicks": [
                {
                    "line": 91,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 40,
            "callFrame": {
                "functionName": "_serializeReplyOKJSON",
                "scriptId": "132",
                "url": "file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js",
                "lineNumber": 90,
                "columnNumber": 18298
            },
            "hitCount": 0,
            "children": [
                41
            ]
        },
        {
            "id": 41,
            "callFrame": {
                "functionName": "fromString",
                "scriptId": "132",
                "url": "file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js",
                "lineNumber": 57,
                "columnNumber": 26506
            },
            "hitCount": 1,
            "children": [
                42
            ],
            "positionTicks": [
                {
                    "line": 58,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 42,
            "callFrame": {
                "functionName": "from",
                "scriptId": "17",
                "url": "buffer.js",
                "lineNumber": 305,
                "columnNumber": 27
            },
            "hitCount": 0,
            "children": [
                43
            ]
        },
        {
            "id": 43,
            "callFrame": {
                "functionName": "fromString",
                "scriptId": "17",
                "url": "buffer.js",
                "lineNumber": 443,
                "columnNumber": 19
            },
            "hitCount": 0,
            "children": [
                44
            ]
        },
        {
            "id": 44,
            "callFrame": {
                "functionName": "fromStringFast",
                "scriptId": "17",
                "url": "buffer.js",
                "lineNumber": 424,
                "columnNumber": 23
            },
            "hitCount": 1,
            "children": [
                52
            ],
            "positionTicks": [
                {
                    "line": 426,
                    "ticks": 1
                }
            ]
        },
        {
            "id": 52,
            "callFrame": {
                "functionName": "write",
                "scriptId": "17",
                "url": "buffer.js",
                "lineNumber": 606,
                "columnNumber": 11
            },
            "hitCount": 0,
            "children": [
                53
            ]
        },
        {
            "id": 53,
            "callFrame": {
                "functionName": "utf8Write",
                "scriptId": "0",
                "url": "",
                "lineNumber": -1,
                "columnNumber": -1
            },
            "hitCount": 2,
            "positionTicks": [
                {
                    "line": 607,
                    "ticks": 2
                }
            ]
        },
        {
            "id": 56,
            "callFrame": {
                "functionName": "f",
                "scriptId": "132",
                "url": "file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js",
                "lineNumber": 90,
                "columnNumber": 6811
            },
            "hitCount": 1,
            "positionTicks": [
                {
                    "line": 91,
                    "ticks": 1
                }
            ]
        }
    ],
    "startTime": 18884747563,
    "endTime": 18892419564,
    "samples": [
        13,
        13,
        16,
        16,
        19,
        17,
        16,
        21,
        7,
        3,
        7,
        7,
        7,
        23,
        25,
        26,
        26,
        26,
        26,
        26,
        26,
        13,
        27,
        27,
        28,
        31,
        32,
        36,
        37,
        38,
        39,
        44,
        3,
        4,
        7,
        7,
        7,
        7,
        7,
        22,
        13,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        16,
        16,
        16,
        48,
        28,
        38,
        2,
        5,
        7,
        7,
        8,
        49,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        13,
        26,
        16,
        21,
        20,
        16,
        48,
        31,
        2,
        41,
        50,
        3,
        4,
        4,
        7,
        7,
        7,
        7,
        7,
        8,
        51,
        49,
        13,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        21,
        7,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        19,
        7,
        53,
        3,
        5,
        6,
        7,
        7,
        10,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        55,
        56,
        53,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        26,
        13,
        26,
        26,
        13,
        13,
        13,
        13,
        13,
        13,
        13
    ],
    "timeDeltas": [
        501120,
        535,
        121,
        119,
        127,
        165,
        132,
        129,
        131,
        142,
        139,
        148,
        148,
        125,
        112,
        111,
        1375498,
        2939,
        242,
        7,
        164,
        97,
        708,
        11,
        625,
        96,
        95,
        4693,
        3426,
        200,
        131,
        57,
        137,
        116,
        136,
        260,
        9,
        215,
        50,
        135,
        137,
        130,
        1297391,
        823,
        309,
        339,
        174,
        1115,
        155,
        122,
        162,
        113,
        119,
        137,
        121,
        141,
        127,
        134,
        145,
        113,
        190,
        106,
        135,
        139,
        172,
        110,
        134,
        124,
        135,
        124,
        138,
        128,
        135,
        135,
        147,
        114,
        135,
        124,
        137,
        125,
        136,
        124,
        136,
        172,
        119,
        173,
        132,
        145,
        151,
        122,
        432,
        16,
        195,
        14,
        20440,
        159,
        100,
        433,
        1309,
        5152,
        14,
        217,
        418,
        263,
        37,
        140,
        185,
        145,
        158,
        240,
        154,
        125,
        124,
        169,
        227,
        148,
        134,
        167,
        885123,
        10723,
        586,
        1592,
        160,
        242,
        265,
        158,
        87,
        125,
        153,
        92,
        131,
        291,
        105,
        122,
        134,
        127,
        1570,
        546,
        5747,
        841,
        1051,
        4198,
        1513,
        1285,
        1175,
        3112,
        7029,
        14,
        857,
        9,
        1471,
        61,
        110,
        214,
        2470,
        126,
        80,
        149,
        106,
        227,
        127,
        146,
        202,
        276,
        65,
        107,
        3054,
        139,
        106,
        136,
        2971,
        153,
        106,
        131,
        887180,
        366,
        133,
        432,
        415,
        49,
        120,
        134,
        146,
        258,
        304,
        396,
        114,
        165,
        135,
        429,
        827,
        725,
        258,
        14,
        890,
        934,
        1820,
        731,
        1225,
        468,
        142,
        213,
        196,
        10,
        150,
        143,
        145,
        79,
        333,
        39,
        112,
        174,
        138,
        115,
        415,
        477,
        187,
        332,
        109,
        228,
        306,
        62,
        133,
        197,
        67,
        133,
        126,
        134,
        127,
        135,
        124,
        136,
        126,
        136,
        125,
        136,
        135,
        1047,
        64,
        149,
        1276,
        1180,
        9,
        261,
        8,
        552,
        1108,
        286,
        1982,
        1428,
        734,
        976,
        2508,
        28,
        563,
        420,
        1175,
        832367,
        456,
        162,
        116,
        825,
        196,
        116,
        135,
        124,
        143,
        123,
        137,
        123,
        138,
        123,
        137,
        123,
        166,
        103,
        125,
        161,
        103,
        138,
        125,
        152,
        119,
        135,
        123,
        137,
        124,
        136,
        127,
        139,
        121,
        136,
        123,
        146,
        121,
        136,
        125,
        136,
        124,
        135,
        125,
        132,
        129,
        190,
        187,
        445,
        49,
        831,
        37,
        182,
        68,
        515,
        328,
        362,
        415,
        341,
        1413,
        642,
        204,
        221,
        140,
        155,
        340,
        371,
        49,
        129,
        163,
        146,
        85,
        123,
        134,
        138,
        134,
        127,
        147,
        114,
        134,
        126,
        135,
        132,
        163,
        99,
        116,
        134,
        126,
        136,
        126,
        133,
        125,
        141,
        122,
        134,
        125,
        135,
        126,
        134,
        126,
        138,
        123,
        135,
        126,
        135,
        125,
        135,
        126,
        139,
        123,
        135,
        125,
        161,
        122,
        166,
        121,
        128,
        134,
        124,
        134,
        126,
        135,
        127,
        204,
        105,
        131,
        124,
        134,
        125,
        134,
        126,
        134,
        125,
        134,
        129,
        134,
        127,
        135,
        144,
        281,
        14,
        141,
        990,
        315,
        753,
        885,
        577,
        201,
        125,
        157,
        260,
        150,
        130,
        123,
        162,
        822379,
        486,
        104,
        136,
        123,
        135,
        160,
        90,
        133,
        137,
        123,
        137,
        126,
        135,
        124,
        277,
        1020,
        33,
        122,
        135,
        147,
        178,
        76,
        132,
        128,
        123,
        137,
        124,
        157,
        102,
        136,
        125,
        135,
        125,
        206,
        142,
        105,
        115,
        1492,
        689,
        62,
        2249,
        591,
        785,
        462,
        277,
        97,
        323,
        51,
        198,
        478,
        231,
        71,
        115,
        396,
        123,
        57,
        116,
        124,
        169,
        118,
        150,
        128,
        148,
        261,
        432,
        1293,
        57,
        138,
        144,
        119,
        183,
        114,
        134,
        125,
        134,
        125,
        136,
        124,
        140,
        121,
        136,
        126,
        136,
        124,
        136,
        125,
        137,
        126,
        130,
        137,
        123,
        138,
        123,
        137,
        123,
        412,
        62,
        113,
        104,
        169,
        165,
        150,
        1619,
        99,
        1005,
        1660,
        1115,
        735,
        10,
        2163,
        1960,
        917,
        829999,
        494,
        122,
        141,
        192,
        113,
        211,
        115,
        108,
        129,
        132,
        112,
        164,
        119,
        240,
        121,
        203,
        124,
        126,
        105,
        146,
        191,
        126,
        132,
        140,
        165,
        178,
        133,
        137,
        102,
        146,
        124,
        129,
        203,
        119,
        251,
        103,
        160,
        109,
        171,
        200,
        90,
        201,
        64,
        148,
        211,
        190,
        138,
        207,
        79,
        178,
        111,
        104,
        176,
        101,
        152,
        118,
        133,
        110,
        361,
        142,
        387,
        273,
        130,
        192,
        87,
        124,
        115,
        203,
        105,
        148,
        119,
        136,
        133,
        149,
        106,
        158,
        148,
        151,
        133,
        126,
        162,
        140,
        151,
        161,
        85,
        154,
        510,
        171,
        121,
        132,
        170,
        101,
        118,
        157,
        110,
        154,
        216,
        118,
        139,
        155,
        129,
        132,
        138,
        298,
        19,
        149,
        143,
        131,
        180,
        113,
        135,
        118,
        155,
        129,
        149,
        130,
        136,
        130,
        218,
        73,
        146,
        141,
        145,
        120,
        162,
        135,
        144,
        131,
        176,
        141,
        130,
        147,
        123,
        157,
        120,
        146,
        142,
        136,
        125,
        133,
        143,
        143,
        134,
        141,
        109,
        162,
        130,
        139,
        130,
        138,
        131,
        149,
        129,
        189,
        132,
        141,
        146,
        169,
        127,
        135,
        133,
        127,
        138,
        132,
        131,
        129,
        146,
        293,
        183,
        638,
        107,
        302,
        380,
        221,
        350,
        175,
        232,
        137,
        135,
        153,
        146,
        118,
        193,
        64,
        518,
        143,
        17,
        142,
        367,
        151,
        80,
        138,
        138,
        29
    ]
}

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

esoltys commented 3 years ago

eamodio.gitlens-unresponsive.cpuprofile.txt

Issue Type: Performance Extension Name: gitlens Extension Version: 11.4.1 OS Version: Windows_NT x64 10.0.18363 VS Code version: 1.56.0 (user setup) Chrome: 89.0.4389.114 Node.js: 14.16.0

koynoyno commented 3 years ago

Just happened on my machine as well. The same GitLens version.

Version: 1.56.2
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Darwin x64 20.3.0
gmartin1965 commented 3 years ago

Same thing for me.

{ "nodes": [ { "id": 1, "callFrame": { "functionName": "(root)", "scriptId": "0", "url": "", "lineNumber": -1, "columnNumber": -1 }, "hitCount": 0, "children": [ 2 ] }, { "id": 2, "callFrame": { "functionName": "processTimers", "scriptId": "36", "url": "internal/timers.js", "lineNumber": 481, "columnNumber": 24 }, "hitCount": 0, "children": [ 3 ] }, { "id": 3, "callFrame": { "functionName": "listOnTimeout", "scriptId": "36", "url": "internal/timers.js", "lineNumber": 501, "columnNumber": 24 }, "hitCount": 0, "children": [ 4 ] }, { "id": 4, "callFrame": { "functionName": "Ki", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 164, "columnNumber": 63676 }, "hitCount": 0, "children": [ 5 ] }, { "id": 5, "callFrame": { "functionName": "on", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 164, "columnNumber": 63772 }, "hitCount": 0, "children": [ 6 ] }, { "id": 6, "callFrame": { "functionName": "Pi", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 164, "columnNumber": 63299 }, "hitCount": 0, "children": [ 7 ] }, { "id": 7, "callFrame": { "functionName": "fireChangeCore", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 46, "columnNumber": 101437 }, "hitCount": 0, "children": [ 8 ] }, { "id": 8, "callFrame": { "functionName": "fire", "scriptId": "131", "url": "file:///c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js", "lineNumber": 56, "columnNumber": 1511 }, "hitCount": 0, "children": [ 9 ] }, { "id": 9, "callFrame": { "functionName": "onRepositoryChanged", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 166, "columnNumber": 18583 }, "hitCount": 0, "children": [ 10 ] }, { "id": 10, "callFrame": { "functionName": "update", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 166, "columnNumber": 19879 }, "hitCount": 0, "children": [ 11 ] }, { "id": 11, "callFrame": { "functionName": "Re.<computed>", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 166, "columnNumber": 4702 }, "hitCount": 0, "children": [ 12 ] }, { "id": 12, "callFrame": { "functionName": "isTracked", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 46, "columnNumber": 1335 }, "hitCount": 0, "children": [ 13, 36 ] }, { "id": 13, "callFrame": { "functionName": "isTrackedCore", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 46, "columnNumber": 1818 }, "hitCount": 0, "children": [ 14 ] }, { "id": 14, "callFrame": { "functionName": "rt", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 40, "columnNumber": 23828 }, "hitCount": 0, "children": [ 15 ] }, { "id": 15, "callFrame": { "functionName": "Ie", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 40, "columnNumber": 11504 }, "hitCount": 8, "children": [ 16 ], "positionTicks": [ { "line": 41, "ticks": 8 } ] }, { "id": 16, "callFrame": { "functionName": "M", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 52, "columnNumber": 36283 }, "hitCount": 0, "children": [ 17 ] }, { "id": 17, "callFrame": { "functionName": "", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 52, "columnNumber": 36382 }, "hitCount": 0, "children": [ 18 ] }, { "id": 18, "callFrame": { "functionName": "t.<computed>", "scriptId": "98", "url": "electron/js2c/asar_bundle.js", "lineNumber": 4, "columnNumber": 2184 }, "hitCount": 0, "children": [ 19 ] }, { "id": 19, "callFrame": { "functionName": "execFile", "scriptId": "49", "url": "child_process.js", "lineNumber": 199, "columnNumber": 17 }, "hitCount": 0, "children": [ 20, 31 ] }, { "id": 20, "callFrame": { "functionName": "spawn", "scriptId": "49", "url": "child_process.js", "lineNumber": 556, "columnNumber": 14 }, "hitCount": 0, "children": [ 21, 37 ] }, { "id": 21, "callFrame": { "functionName": "ChildProcess.spawn", "scriptId": "50", "url": "internal/child_process.js", "lineNumber": 332, "columnNumber": 39 }, "hitCount": 9, "children": [ 22, 23 ], "positionTicks": [ { "line": 434, "ticks": 8 }, { "line": 378, "ticks": 1 } ] }, { "id": 22, "callFrame": { "functionName": "spawn", "scriptId": "0", "url": "", "lineNumber": -1, "columnNumber": -1 }, "hitCount": 25606, "positionTicks": [ { "line": 378, "ticks": 25606 } ] }, { "id": 23, "callFrame": { "functionName": "createSocket", "scriptId": "50", "url": "internal/child_process.js", "lineNumber": 312, "columnNumber": 21 }, "hitCount": 0, "children": [ 24 ] }, { "id": 24, "callFrame": { "functionName": "Socket", "scriptId": "51", "url": "net.js", "lineNumber": 267, "columnNumber": 15 }, "hitCount": 0, "children": [ 25 ] }, { "id": 25, "callFrame": { "functionName": "Socket", "scriptId": "51", "url": "net.js", "lineNumber": 267, "columnNumber": 15 }, "hitCount": 0, "children": [ 26 ] }, { "id": 26, "callFrame": { "functionName": "Socket.read", "scriptId": "51", "url": "net.js", "lineNumber": 619, "columnNumber": 32 }, "hitCount": 0, "children": [ 27 ] }, { "id": 27, "callFrame": { "functionName": "Readable.read", "scriptId": "57", "url": "internal/streams/readable.js", "lineNumber": 389, "columnNumber": 34 }, "hitCount": 0, "children": [ 28 ] }, { "id": 28, "callFrame": { "functionName": "Socket._read", "scriptId": "51", "url": "net.js", "lineNumber": 577, "columnNumber": 33 }, "hitCount": 0, "children": [ 29 ] }, { "id": 29, "callFrame": { "functionName": "tryReadStart", "scriptId": "51", "url": "net.js", "lineNumber": 567, "columnNumber": 21 }, "hitCount": 0, "children": [ 30 ] }, { "id": 30, "callFrame": { "functionName": "readStart", "scriptId": "0", "url": "", "lineNumber": -1, "columnNumber": -1 }, "hitCount": 1, "positionTicks": [ { "line": 572, "ticks": 1 } ] }, { "id": 37, "callFrame": { "functionName": "normalizeSpawnArguments", "scriptId": "49", "url": "child_process.js", "lineNumber": 418, "columnNumber": 32 }, "hitCount": 1, "positionTicks": [ { "line": 540, "ticks": 1 } ] }, { "id": 31, "callFrame": { "functionName": "Readable.on", "scriptId": "57", "url": "internal/streams/readable.js", "lineNumber": 856, "columnNumber": 32 }, "hitCount": 0, "children": [ 32 ] }, { "id": 32, "callFrame": { "functionName": "Socket.resume", "scriptId": "51", "url": "net.js", "lineNumber": 610, "columnNumber": 34 }, "hitCount": 0, "children": [ 33 ] }, { "id": 33, "callFrame": { "functionName": "Readable.resume", "scriptId": "57", "url": "internal/streams/readable.js", "lineNumber": 943, "columnNumber": 36 }, "hitCount": 0, "children": [ 34 ] }, { "id": 34, "callFrame": { "functionName": "resume", "scriptId": "57", "url": "internal/streams/readable.js", "lineNumber": 957, "columnNumber": 15 }, "hitCount": 0, "children": [ 35 ] }, { "id": 35, "callFrame": { "functionName": "nextTick", "scriptId": "23", "url": "internal/process/task_queues.js", "lineNumber": 100, "columnNumber": 17 }, "hitCount": 1, "positionTicks": [ { "line": 128, "ticks": 1 } ] }, { "id": 36, "callFrame": { "functionName": "toKey", "scriptId": "390", "url": "file:///c:/Users/B63371/.vscode/extensions/eamodio.gitlens-11.4.1/dist/gitlens.js", "lineNumber": 46, "columnNumber": 19059 }, "hitCount": 1, "positionTicks": [ { "line": 47, "ticks": 1 } ] } ], "startTime": 1435801149201, "endTime": 1435809370927, "samples": [ 15, 22, 22, 22, 22, 22, 22, 22, 22,

chrisalexadams commented 3 years ago

eamodio.gitlens-unresponsive.cpuprofile.txt

Issue Type: Performance Extension Name: GitLens Extension Version: 11.6.0 OS Version: Windows 10 64-bit VS Code version: 1.58.2

oddeirik commented 2 years ago

CPU profile file: eamodio.gitlens-unresponsive.cpuprofile.txt

EDIT: New occurrence of this issue today.

ktrls commented 2 years ago
Issue Type: Performance
Extension Name: gitlens
Extension Version: 12.1.2
OS Version: Windows 10 Pro 21H2 (19044.1826)
VS Code version: 1.69.2e
jenseralmeida commented 2 years ago

The issue happens while expanding the branch tree of a specific repository on a large workspace. It was fine last week, and I am assuming that this is a v12.2 issue.

Issue Type: Performance Extension Name: gitlens Extension Version: v12.2.1 OS Version: Windows 11 Pro 22H2 OS Build 22621.457 VS Code version: 1.71.0

eamodio.gitlens-unresponsive.cpuprofile.txt

eamodio commented 2 years ago

@jenseralmeida I believe the issue you are seeing is fixed in the latest Insiders edition. Can you try to see if the issue is still reproducible there?

You can install the GitLens insiders edition from here.

Please be sure to disable or uninstall the stable version of GitLens first.

jenseralmeida commented 2 years ago

@eamodio, I will run it through the day today, but maybe, the latest v12.2.2 release fixed the issue. I will confirm it later today.

jenseralmeida commented 2 years ago

Hi @eamodio , it surely improved the overall GitLens workflow, as night and day, and now my VS code is not getting unsable anymore, and the extension works fine and fast, most of the time for the regular workflow, like commit, pull and push.

However, doing investigations, and navigating through git using GitLens, is still slow to the point where my feeling of frustration is fighting against how useful the extension is for those more investigative scenarios.

The message below happens after a long waiting time trying to expand the Branches on the Repository panel. This worked fine last week, I mean, we still had some slowness, compared with other Git tools, but never to the point where it would cause issues with my daily workflow.

image

ktrls commented 2 years ago

Hi, I have troubles again with this extension. VSC says that this extension is too slow and so others extensions don't be activated

Can you help me?

eamodio.gitlens-unresponsive.cpuprofile.txt

rapr-odoo commented 7 months ago

eamodio.gitlens-unresponsive.cpuprofile.txt

Issue Type: Performance Extension Name: gitlens Extension Version: v14.8.2 OS Version: Linux x64 6.5.0-21-generic (Ubuntu 22.04) VS Code version: 1.87.0 Version: 1.87.0

This issue has been bugging me for quite some time.

rafaelgoncalves commented 5 months ago

Yeaah, today i had to disable this extension cause my cpu fans was going crazy, i checked that was this lens process and after this now everything is normal again...