mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-19 17:58:39 +00:00
feat: reduce buffer size of NetToMojoPendingBuffer from 16 to 8KB (#269718)
* feat: reduce buffer size of NetToMojoPendingBuffer from 16 to 8KB * chore: bump distro
This commit is contained in:
2
.npmrc
2
.npmrc
@@ -1,6 +1,6 @@
|
||||
disturl="https://electronjs.org/headers"
|
||||
target="37.6.0"
|
||||
ms_build_id="12502201"
|
||||
ms_build_id="12506819"
|
||||
runtime="electron"
|
||||
build_from_source="true"
|
||||
legacy-peer-deps="true"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "code-oss-dev",
|
||||
"version": "1.106.0",
|
||||
"distro": "7eefb0edc90d0589e8f481c8ed3cfe00bd65c738",
|
||||
"distro": "15be134acbf860e28d3a27345b6c825f3c0e1c0a",
|
||||
"author": {
|
||||
"name": "Microsoft Corporation"
|
||||
},
|
||||
|
||||
@@ -320,11 +320,12 @@ function configureCommandlineSwitchesSync(cliArgs: NativeParsedArgs) {
|
||||
});
|
||||
|
||||
// Following features are enabled from the runtime:
|
||||
// `NetAdapterMaxBufSizeFeature` - Specify the max buffer size for NetToMojoPendingBuffer, refs https://github.com/microsoft/vscode/issues/268800
|
||||
// `DocumentPolicyIncludeJSCallStacksInCrashReports` - https://www.electronjs.org/docs/latest/api/web-frame-main#framecollectjavascriptcallstack-experimental
|
||||
// `EarlyEstablishGpuChannel` - Refs https://issues.chromium.org/issues/40208065
|
||||
// `EstablishGpuChannelAsync` - Refs https://issues.chromium.org/issues/40208065
|
||||
const featuresToEnable =
|
||||
`DocumentPolicyIncludeJSCallStacksInCrashReports,EarlyEstablishGpuChannel,EstablishGpuChannelAsync,${app.commandLine.getSwitchValue('enable-features')}`;
|
||||
`NetAdapterMaxBufSizeFeature:NetAdapterMaxBufSize/8192,DocumentPolicyIncludeJSCallStacksInCrashReports,EarlyEstablishGpuChannel,EstablishGpuChannelAsync,${app.commandLine.getSwitchValue('enable-features')}`;
|
||||
app.commandLine.appendSwitch('enable-features', featuresToEnable);
|
||||
|
||||
// Following features are disabled from the runtime:
|
||||
|
||||
Reference in New Issue
Block a user