-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
出力バイナリの肥大化の抑制と高速化のため、 `LTO = "fat"` に戻します。 #359 で `LTO = "thin"` にしていた。 バイナリ全体および `.text` 部のサイズ比較: - `LTO = "thin"` (20.1 MB) ``` ❯ cargo bloat --package nusamai --bin nusamai --profile release-lto --crates Analyzing target/release-lto/nusamai File .text Size Crate 27.6% 39.3% 5.5MiB nusamai_plateau 12.4% 17.6% 2.5MiB nusamai 9.3% 13.2% 1.9MiB std 7.3% 10.3% 1.5MiB [Unknown] 1.4% 2.0% 285.7KiB regex_automata [...] 2.7% 3.8% 545.6KiB And 89 more crates. Use -n N to show more. 70.2% 100.0% 14.1MiB .text section size, the file size is 20.1MiB ``` - `LTO = "fat"` (16.3 MB) ``` ❯ cargo bloat --package nusamai --bin nusamai --profile release-lto --crates Analyzing target/release-lto/nusamai File .text Size Crate 30.2% 40.0% 4.9MiB nusamai_plateau 14.9% 19.8% 2.4MiB nusamai 8.1% 10.7% 1.3MiB [Unknown] 8.0% 10.6% 1.3MiB std 1.7% 2.2% 282.1KiB regex_automata [...] 2.8% 3.7% 468.6KiB And 81 more crates. Use -n N to show more. 75.4% 100.0% 12.3MiB .text section size, the file size is 16.3MiB ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **リファクタ** - 一部の関数において、パフォーマンス最適化のためインライン展開の設定を調整しました。 - **スタイル** - 特定の機能からデバッグトレイトの自動導出を削除しました。 <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Showing
7 changed files
with
51 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters