Unverified Commit 599ca813 authored by Yixuan Xu's avatar Yixuan Xu Committed by GitHub

types: remove config.experimental.profiling (#44507)

This option was initialial added in #8378.

This pr removes `config.experimental.profiling` since this option is no
longer used.
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent c7285755
......@@ -339,9 +339,6 @@ const configSchema = {
pageEnv: {
type: 'boolean',
},
profiling: {
type: 'boolean',
},
proxyTimeout: {
minimum: 0,
type: 'number',
......
......@@ -92,7 +92,6 @@ export interface ExperimentalConfig {
swcFileReading?: boolean
cpus?: number
sharedPool?: boolean
profiling?: boolean
proxyTimeout?: number
isrFlushToDisk?: boolean
workerThreads?: boolean
......@@ -582,7 +581,6 @@ export const defaultConfig: NextConfig = {
(os.cpus() || { length: 1 }).length) - 1
),
sharedPool: true,
profiling: false,
isrFlushToDisk: true,
workerThreads: false,
pageEnv: false,
......
......@@ -974,10 +974,6 @@ describe.skip('Production Usage with swcMinify', () => {
}
})
it('should not emit profiling events', async () => {
expect(existsSync(join(appDir, '.next', 'profile-events.json'))).toBe(false)
})
it('should not emit stats', async () => {
expect(existsSync(join(appDir, '.next', 'next-stats.json'))).toBe(false)
})
......
......@@ -1183,10 +1183,6 @@ describe('Production Usage', () => {
}
})
it('should not emit profiling events', async () => {
expect(existsSync(join(appDir, '.next', 'profile-events.json'))).toBe(false)
})
it('should not emit stats', async () => {
expect(existsSync(join(appDir, '.next', 'next-stats.json'))).toBe(false)
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment