summaryrefslogtreecommitdiffstats
path: root/~GUI
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2022-12-14 21:45:30 -0800
committeryum <yum.food.vr@gmail.com>2022-12-14 23:04:29 -0800
commit8326dee0bf01956b450858212cbdba3403b32b0d (patch)
tree3c218f1e3159543df9b935dd6a43685a0811107d /~GUI
parentf9bcee6acf6f8a418d2f96368941fc05e4b72252 (diff)
Optimize transcription latency
Shave off ~500ms due to locking. Acquiring a threading.Lock takes hundreds of milliseconds and the global interpreter lock already takes care of most crashy race conditions, so just remove the locks. Avoid writing audio to disk, saving more time (and disk wear / IOPS). Add basic profiling to transcribe(). Omit timestamps, since we don't use them (maybe we should!) Shorten noise indicators to 350ms The whisper behavior where it repeats tokens causes certain transcriptions to take many seconds. I haven't thought about how to fix this, yet.
Diffstat (limited to '~GUI')
0 files changed, 0 insertions, 0 deletions