Connor Peet

Results 463 comments of Connor Peet

`https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64` should be wrapped in quotes: your shell is interpreting the `&` as a special sequence. @rzhao271 we should probably have 'actual direct' download links to the CDN, or have...

I threw together a quick implementation of a parallel prettier runner [here](https://github.com/mixer/parallel-prettier). It's a tiny bit slower on small projects due to the overhead of starting worker processes, but is...

Sure. Probably the easiest way would be to make the [formatFiles loop](https://github.com/prettier/prettier/blob/bba719283d484f27659e2a69ff214cf287f15ab7/src/cli/format.js#L281) dispatch to workers processes or threads, though there may be some additional refactoring needed. If you're interested I...

I started some work in https://github.com/connor4312/prettier/commit/f5f81683ca9f4bbdf68ba97e552ec018f9348dca. I didn't realize that the prettier CLI, and tests, were fully synchronous. This does not work with parallelism, since all surfaces we have available...

Okay, cool. I'll keep going forward in that direction then 🙂

thanks for the heads up! I'll work off your branch tomorrow.

@cspotcode I investigated worker threads for parallel-prettier before, as did trivikr [here](https://github.com/microsoft/parallel-prettier/pull/8), and found them to be marginally slower.

@liesislukas 24 logical processors on my desktop, 16 on my laptop. I think I might have tested on my old 8-thread 2016 macbook but I don't recall.

16 logical processors / 8 physical cores

Looks like build failure is a flake