https://github.com/maxhumber/vanillaspeechrecognition
A "vanilla" comparison of the TCA SpeechRecognition app
https://github.com/maxhumber/vanillaspeechrecognition
Last synced: 11 months ago
JSON representation
A "vanilla" comparison of the TCA SpeechRecognition app
- Host: GitHub
- URL: https://github.com/maxhumber/vanillaspeechrecognition
- Owner: maxhumber
- Created: 2024-09-07T18:09:00.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T15:03:28.000Z (over 1 year ago)
- Last Synced: 2024-12-15T02:09:49.192Z (over 1 year ago)
- Language: Swift
- Homepage:
- Size: 74.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 🍦 VanillaSpeechRecognition
A 1:1 "vanilla" implementation of the [TCA SpeechRecognition](https://github.com/pointfreeco/swift-composable-architecture/tree/1.16.1/Examples/SpeechRecognition) app (v1.16.1)
It is 100% compatible with **Swift 6**, **Xcode 16**, and **iOS 18**, and does not use any third-party dependencies.
#### Comparison
| Metric | 🍦 | TCA |
| --------------------------- | ---------- | --------------- |
| Dependencies | 0 | 16 |
| "Cold" Build Time (seconds) | 1.1 | 32.4 |
| "Warm" Build Time (seconds) | 0.1 | 0.4 |
| Indexing Time | Negligible | Several minutes |
| Lines of code\* | 319 | 579 |
\*Calculated by:
```zsh
% find . -name '*.swift' | xargs wc -l
73 ./VanillaSpeechRecognitionTests/VanillaSpeechRecognitionTests.swift
236 ./VanillaSpeechRecognition/SpeechRecognitionView.swift
10 ./VanillaSpeechRecognition/VanillaSpeechRecognitionApp.swift
319 total
```
#### Screenshot