Skip to content

Commit c3a20cf

Browse files
docs: add chef-mate adoption stats to assisted-factory page (#2)
Adds an "In the wild" section to the assisted-factory docs pointing at Plus-Mobile-Apps/chef-mate#178 (first real-world adoption), with the net LOC reduction and the benchmarked build-time delta so prospective users have measured numbers instead of vibes. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 5510274 commit c3a20cf

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

‎docs/assisted-factory.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,18 @@ public class <Source>(
136136
```
137137

138138
The `<Source>` name is derived from the source class's fully-qualified name so generated types do not collide across packages.
139+
140+
## In the wild
141+
142+
The assisted-factory extension was first adopted at scale in [Plus-Mobile-Apps/chef-mate#178](https://github.com/Plus-Mobile-Apps/chef-mate/pull/178), which migrated the app's BLoC factory wiring from hand-written bridge classes to `@ContributesAssistedFactory`.
143+
144+
| Metric | Result |
145+
| ------------------------------------- | --------------------------------- |
146+
| Files changed | 30 |
147+
| Lines removed | 563 |
148+
| Lines added | 128 |
149+
| Net boilerplate removed | **−435 LOC** |
150+
| Android `assembleDebug` (warm daemon) | ~16s → ~17s (+1s, +20 KSP tasks) |
151+
| Cold-daemon / CI overhead | ~5s one-time |
152+
153+
KSP2's reuse of the K2 frontend means the additional processor pass is parasitic on the existing `kotlinc` invocation, and the reduction in hand-written source roughly offsets the small KSP cost. The net build-time impact is within run-to-run variance on a warm daemon.

0 commit comments

Comments
 (0)