chore: restore default performance profile to default
- commit
- f2703174807c2d6b1fcf81cab9fad4901acbe9de
- author
- brice · · 2026-02-07 05:12 UTC
- parent
- c809edb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
4 files · +5 -5
M docs/config/index.md +2 -2
| @@ -532,7 +532,7 @@ Performance profiles provide preset configurations for WebKitGTK tuning. These s | |||
| 532 | 532 | ||
| 533 | 533 | | Key | Type | Default | Valid Values | Description | | |
| 534 | 534 | |-----|------|---------|--------------|-------------| | |
| 535 | - | | `performance.profile` | string | `"lite"` | `default`, `lite`, `max`, `custom` | Performance profile selection | | |
| 535 | + | | `performance.profile` | string | `"default"` | `default`, `lite`, `max`, `custom` | Performance profile selection | | |
| 536 | 536 | ||
| 537 | 537 | ### Profiles | |
| 538 | 538 | ||
| @@ -558,7 +558,7 @@ Performance profiles provide preset configurations for WebKitGTK tuning. These s | |||
| 558 | 558 | **Example:** | |
| 559 | 559 | ```toml | |
| 560 | 560 | [performance] | |
| 561 | - | profile = "lite" # Daily-use default | |
| 561 | + | profile = "default" # WebKit baseline default | |
| 562 | 562 | ||
| 563 | 563 | # For WebKit baseline behavior: | |
| 564 | 564 | # profile = "default" | |
| @@ -532,7 +532,7 @@ Performance profiles provide preset configurations for WebKitGTK tuning. These s | |||||
| 532 | 532 | ||||
| 533 | | Key | Type | Default | Valid Values | Description | | 533 | | Key | Type | Default | Valid Values | Description | | ||
| 534 | |-----|------|---------|--------------|-------------| | 534 | |-----|------|---------|--------------|-------------| | ||
| 535 | - | | `performance.profile` | string | `"lite"` | `default`, `lite`, `max`, `custom` | Performance profile selection | | 535 | + | | `performance.profile` | string | `"default"` | `default`, `lite`, `max`, `custom` | Performance profile selection | |
| 536 | 536 | ||||
| 537 | ### Profiles | 537 | ### Profiles | ||
| 538 | 538 | ||||
| @@ -558,7 +558,7 @@ Performance profiles provide preset configurations for WebKitGTK tuning. These s | |||||
| 558 | **Example:** | 558 | **Example:** | ||
| 559 | ```toml | 559 | ```toml | ||
| 560 | [performance] | 560 | [performance] | ||
| 561 | - | profile = "lite" # Daily-use default | 561 | + | profile = "default" # WebKit baseline default |
| 562 | 562 | ||||
| 563 | # For WebKit baseline behavior: | 563 | # For WebKit baseline behavior: | ||
| 564 | # profile = "default" | 564 | # profile = "default" | ||
M docs/reference/configuration.md +1 -1
| @@ -104,7 +104,7 @@ | |||
| 104 | 104 | | `update.enable_on_startup` | bool | `true` | | | |
| 105 | 105 | | `update.auto_download` | bool | `false` | | | |
| 106 | 106 | | `update.notify_on_new_settings` | bool | `true` | | | |
| 107 | - | | `performance.profile` | string | `lite` | `default`, `lite`, `max`, `custom` | | |
| 107 | + | | `performance.profile` | string | `default` | `default`, `lite`, `max`, `custom` | | |
| 108 | 108 | | `performance.skia_cpu_painting_threads` | int | `0` | | | |
| 109 | 109 | | `performance.skia_gpu_painting_threads` | int | `-1` | | | |
| 110 | 110 | | `performance.skia_enable_cpu_rendering` | bool | `false` | | | |
| @@ -104,7 +104,7 @@ | |||||
| 104 | | `update.enable_on_startup` | bool | `true` | | | 104 | | `update.enable_on_startup` | bool | `true` | | | ||
| 105 | | `update.auto_download` | bool | `false` | | | 105 | | `update.auto_download` | bool | `false` | | | ||
| 106 | | `update.notify_on_new_settings` | bool | `true` | | | 106 | | `update.notify_on_new_settings` | bool | `true` | | | ||
| 107 | - | | `performance.profile` | string | `lite` | `default`, `lite`, `max`, `custom` | | 107 | + | | `performance.profile` | string | `default` | `default`, `lite`, `max`, `custom` | |
| 108 | | `performance.skia_cpu_painting_threads` | int | `0` | | | 108 | | `performance.skia_cpu_painting_threads` | int | `0` | | | ||
| 109 | | `performance.skia_gpu_painting_threads` | int | `-1` | | | 109 | | `performance.skia_gpu_painting_threads` | int | `-1` | | | ||
| 110 | | `performance.skia_enable_cpu_rendering` | bool | `false` | | | 110 | | `performance.skia_enable_cpu_rendering` | bool | `false` | | | ||
M internal/infrastructure/config/defaults.go +1 -1
| @@ -293,7 +293,7 @@ func DefaultConfig() *Config { | |||
| 293 | 293 | Prefix: "", | |
| 294 | 294 | }, | |
| 295 | 295 | Performance: PerformanceConfig{ | |
| 296 | - | Profile: ProfileLite, // Daily-use default: lighter profile | |
| 296 | + | Profile: ProfileDefault, // Use WebKit defaults by default | |
| 297 | 297 | ZoomCacheSize: defaultZoomCacheSize, | |
| 298 | 298 | WebViewPoolPrewarmCount: defaultWebViewPoolPrewarmCount, | |
| 299 | 299 | // Skia threading - balanced defaults (unset = use WebKit defaults) | |
| @@ -293,7 +293,7 @@ func DefaultConfig() *Config { | |||||
| 293 | Prefix: "", | 293 | Prefix: "", | ||
| 294 | }, | 294 | }, | ||
| 295 | Performance: PerformanceConfig{ | 295 | Performance: PerformanceConfig{ | ||
| 296 | - | Profile: ProfileLite, // Daily-use default: lighter profile | 296 | + | Profile: ProfileDefault, // Use WebKit defaults by default |
| 297 | ZoomCacheSize: defaultZoomCacheSize, | 297 | ZoomCacheSize: defaultZoomCacheSize, | ||
| 298 | WebViewPoolPrewarmCount: defaultWebViewPoolPrewarmCount, | 298 | WebViewPoolPrewarmCount: defaultWebViewPoolPrewarmCount, | ||
| 299 | // Skia threading - balanced defaults (unset = use WebKit defaults) | 299 | // Skia threading - balanced defaults (unset = use WebKit defaults) | ||
M internal/infrastructure/config/defaults_test.go +1 -1
| @@ -10,7 +10,7 @@ func TestDefaultConfig_RuntimeLoggingProfile(t *testing.T) { | |||
| 10 | 10 | cfg := DefaultConfig() | |
| 11 | 11 | assert.Equal(t, "info", cfg.Logging.Level) | |
| 12 | 12 | assert.False(t, cfg.Logging.CaptureGTKLogs) | |
| 13 | - | assert.Equal(t, ProfileLite, cfg.Performance.Profile) | |
| 13 | + | assert.Equal(t, ProfileDefault, cfg.Performance.Profile) | |
| 14 | 14 | assert.Equal(t, CookiePolicyNoThirdParty, cfg.Privacy.CookiePolicy) | |
| 15 | 15 | assert.True(t, cfg.Privacy.ITPEnabled) | |
| 16 | 16 | assert.False(t, cfg.Media.ShowDiagnosticsOnStartup) | |
| @@ -10,7 +10,7 @@ func TestDefaultConfig_RuntimeLoggingProfile(t *testing.T) { | |||||
| 10 | cfg := DefaultConfig() | 10 | cfg := DefaultConfig() | ||
| 11 | assert.Equal(t, "info", cfg.Logging.Level) | 11 | assert.Equal(t, "info", cfg.Logging.Level) | ||
| 12 | assert.False(t, cfg.Logging.CaptureGTKLogs) | 12 | assert.False(t, cfg.Logging.CaptureGTKLogs) | ||
| 13 | - | assert.Equal(t, ProfileLite, cfg.Performance.Profile) | 13 | + | assert.Equal(t, ProfileDefault, cfg.Performance.Profile) |
| 14 | assert.Equal(t, CookiePolicyNoThirdParty, cfg.Privacy.CookiePolicy) | 14 | assert.Equal(t, CookiePolicyNoThirdParty, cfg.Privacy.CookiePolicy) | ||
| 15 | assert.True(t, cfg.Privacy.ITPEnabled) | 15 | assert.True(t, cfg.Privacy.ITPEnabled) | ||
| 16 | assert.False(t, cfg.Media.ShowDiagnosticsOnStartup) | 16 | assert.False(t, cfg.Media.ShowDiagnosticsOnStartup) | ||