Skip to content

Commit e899cba

Browse files
authored
Merge pull request #6 from mohdaquib/fix-readme
Refactor README.md to improve diagram readability with HTML line breaks
2 parents 095b95b + af73d30 commit e899cba

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,30 @@ side-by-side in the same benchmark session, and gates the optimized state on a h
4242
```mermaid
4343
graph TD
4444
subgraph ":app — Application"
45-
APP_APP[AndroidPerfLabApplication\nCoroutineScope + SDK orchestration]
46-
APP_MA[MainActivity\nCompose host]
47-
APP_INIT[5 Startup Initializers\nCrashReporting · Analytics\nPerfMonitor · FeatureFlags\nRemoteConfig]
48-
APP_FAKE[5 Fake SDKs\nSimulated I/O delays]
45+
APP_APP["AndroidPerfLabApplication<br/>CoroutineScope + SDK orchestration"]
46+
APP_MA["MainActivity<br/>Compose host"]
47+
APP_INIT["5 Startup Initializers<br/>CrashReporting · Analytics<br/>PerfMonitor · FeatureFlags<br/>RemoteConfig"]
48+
APP_FAKE["5 Fake SDKs<br/>Simulated I/O delays"]
4949
end
5050
5151
subgraph ":ui — Compose library"
52-
UI_HOME[HomeScreen\nNavigation hub]
53-
UI_FEED[FeedScreen\n220-item LazyColumn]
54-
UI_DETAIL[DetailScreen\n10+ recomposition fixes]
55-
UI_ANIM[AnimatedListScreen\nDraw-phase alpha · Layout-phase expand]
56-
UI_UNANIM[UnoptimizedAnimatedListScreen\nBaseline with all 4 anti-patterns]
57-
UI_ITEM[FeedItem\n@Immutable]
52+
UI_HOME["HomeScreen<br/>Navigation hub"]
53+
UI_FEED["FeedScreen<br/>220-item LazyColumn"]
54+
UI_DETAIL["DetailScreen<br/>10+ recomposition fixes"]
55+
UI_ANIM["AnimatedListScreen<br/>Draw-phase alpha · Layout-phase expand"]
56+
UI_UNANIM["UnoptimizedAnimatedListScreen<br/>Baseline with all 4 anti-patterns"]
57+
UI_ITEM["FeedItem<br/>Immutable"]
5858
end
5959
6060
subgraph ":data — Data layer"
61-
DATA_REPO[Repository&lt;T&gt;\nsuspend getAll / getById]
61+
DATA_REPO["Repository&lt;T&gt;<br/>suspend getAll / getById"]
6262
end
6363
6464
subgraph ":benchmarks — Android test module"
65-
BM_STARTUP[StartupBenchmark\nCOLD · WARM · HOT ×10 iterations]
66-
BM_APP[AppStartupBenchmark\nbaseline vs optimized ×10 iterations]
67-
BM_SCROLL[ScrollBenchmark\nunoptimized vs optimized ×5 iterations]
68-
BM_PROFILE[BaselineProfileGenerator]
65+
BM_STARTUP["StartupBenchmark<br/>COLD · WARM · HOT ×10 iterations"]
66+
BM_APP["AppStartupBenchmark<br/>baseline vs optimized ×10 iterations"]
67+
BM_SCROLL["ScrollBenchmark<br/>unoptimized vs optimized ×5 iterations"]
68+
BM_PROFILE["BaselineProfileGenerator"]
6969
end
7070
7171
APP_APP --> APP_INIT
@@ -77,8 +77,8 @@ graph TD
7777
UI_HOME --> UI_UNANIM
7878
UI_FEED --> UI_ITEM
7979
80-
APP_APP -->|":data"| DATA_REPO
81-
APP_APP -->|":ui"| UI_HOME
80+
APP_APP -->|"data layer"| DATA_REPO
81+
APP_APP -->|"ui layer"| UI_HOME
8282
8383
BM_STARTUP -->|targetProjectPath| APP_APP
8484
BM_APP -->|targetProjectPath| APP_APP

0 commit comments

Comments
 (0)