3 ms·
My surprising takeaway is prettier is single-threaded when formatting multiple files. Seems like an embarrassingly parallel problem, even a default-off -j<N> op
by oefrha 5y ago
My surprising takeaway is prettier is single-threaded when formatting multiple files. Seems like an embarrassingly parallel problem, even a default-off -j<N> option would go a long way.
- esprehn 5y agoIf you run prettier through jest (ex. By way of eslint) you get parallelism.