-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(troika-three-text): parallelize SDF generation with multiple wor…
…ker threads Since the SDF generation worker no longer contains expensive font parsing state, it is lightweight enough to spawn in multiple workers for parallelization. Currently uses a max of 4 worker threads, which are terminated after an idle timeout, for 3-4x overall performance increase in the SDF generation phase.
- Loading branch information
Showing
1 changed file
with
46 additions
and
46 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