[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Discussions](/c/community/4)

# Performance of hashing on different file systems

83 views · 1 like · 2 posts


NullVoxPopuli (@nullvoxpopuli) · 2025-02-20

I also asked about this here: https://github.com/vercel/turborepo/discussions/10014

------------------

I'm been noticing some very shocking things with APFS, that are honestly quite concerning.

Here is the test I setup: https://github.com/NullVoxPopuli/disk-perf-git-and-pnpm/blob/main/README.md
along with a number of datapoints from various machines and operating systems.
[Interactive table here](https://markdown-table.nullvoxpopuli.com/?file=https%3A%2F%2Fraw.githubusercontent.com%2FNullVoxPopuli%2Fdisk-perf-git-and-pnpm%2Frefs%2Fheads%2Fmain%2FREADME.md&key=&cv=%5B%5B%22%20Clean%20(s)%20%22%2C%22%2300aa00%22%2C%22%23aa0000%22%5D,%5B%22%20Install%20(s)%20%22%2C%22%2300aa00%22%2C%22%23aa0000%22%5D%5D)
![image](upload://nDpqOgmPafYeZcTvEqKD35ecffB.png)



This doesn't test turbo specifically, but more file creation and deletion.

turborepo has to read all files in a package (governed by `inputs`), to use as part of what creates the hash for a task.

Now, I know `read` is different from `create` and `delete`, but still... I wonder.

Is there a test we can do with turbo in a sufficiently sized repo on both linux/ext4 and macOS/APFS to see how long it takes just to compute hashes for tasks? 

------------------

As an aside, if anyone is curious about disk perf on APFS, I could really use your help if you have an M2, M3, or M4, 

Instructions here: https://github.com/NullVoxPopuli/disk-perf-git-and-pnpm/blob/main/README.md

tl;dr: time ( a git clean ) and time ( dep install )


thank you!!


Amy Egan (@amyegan) · 2025-02-28 · ♥ 1

Thanks for reaching out about your file system performance concerns! It looks like you've been talking with someone from the Turborepo team in your original GitHub discussion, so I'm going to close this topic as a duplicate.

Please feel free to open a new topic if you have any other questions!