refactor(page): 删除旧版页面文件

This commit is contained in:
2026-08-16 05:31:45 +08:00
parent ca76678afc
commit 1396487af9
88 changed files with 12633 additions and 1081 deletions

View File

@@ -0,0 +1,32 @@
# Experimental Switches
Offer these last, label them experimental in the report, and keep them out of
the default recommendation set. Get the user's agreement before enabling any
of them.
## Incremental compilation of klib artifacts
```properties
# gradle.properties
kotlin.incremental.native=true
```
Recompiles only the changed part of a klib into the final binary, which helps
warm rebuilds after small edits. If it causes broken or inconsistent builds,
revert it and file a YouTrack issue with a minimized reproducer.
## smallBinary
The `smallBinary` binary option sets `-Oz` as the default LLVM optimization
level to shrink release binaries and their link time. It can cost runtime
performance, so verify hot paths before keeping it. It applies to release
binaries — it is not a fix for slow debug loops.
## LLVM backend customization
Customizing the LLVM backend is a last resort when nothing else helps, and is
out of scope for a routine performance pass — point the user at the official
documentation instead of improvising compiler flags.
Docs: https://kotlinlang.org/docs/native-binary-options.html and
https://kotlinlang.org/docs/native-improving-compilation-time.html