Skip to content

vlascik/disk-perf-git-and-pnpm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

disk-perf-git-and-pnpm

This repo aims to prove that something is wrong with APFS on macOS, but is also a good stress test in general when changing machine tooling that wants to oberve fs events (such as security tooling / EDR / virus scanners / etc).

The Test

Steps:

  1. Setup
  2. Gather Results
  3. Report / PR with your Results ❤️

Setup

have node @ >= 22.11 have pnpm @ >= 10.2

(if you have proto (with auto-install) or volta installed, these versions will be selected for you)

git clone git@github.com:NullVoxPopuli/disk-perf-git-and-pnpm.git
cd disk-perf-git-and-pnpm

pnpm install # Fill the cache so we don't hit the network during testing

Gather Results

Since you've installed all the dependencies already, we can start with the clean test:

time ( git clean -Xfd; git clean -fd )

Windows Powershell:

(Measure-Command { git clean -Xfd; git clean -fd }).ToString()

And then once that finishes, we can run the install test:

time ( pnpm install )

Windows Powershell:

(Measure-Command { pnpm install }).ToString()
If using zsh

your time will be total.

0.01s user 0.00s system 94% cpu 0.007 total
#.                              ^ this number

and round to the tenths decimal place

if using bash

your time will be real.

real    2.02s # this number
user    0.00s
sys     0.01s

and round to the tenths decimal place

PR your Results back to this Repo:

CPU RAM (GB) Clean (s) Install (s) Date FileSystem & Disk OS
AMD Ryzen 5 7640U 12 Core 92 6.8 5.9 2025-02-07 Ext4 : WD Black SN850 500GB Ubuntu 24.04.1
AMD Ryzen 9 7900X 12/24 Core 64 6.0 4.3 2025-02-07 Ext4 : Samsung SSD 980 Pro 2TB Ubuntu 24.04.1
Apple M1 Pro 16 42.2 44.0 2025-02-09 APFS (Encrypted) : APPLE SSD AP0512R 500GB macOS 15.3
Apple M1 Max 64 31.5 44.2 2025-02-08 APFS (Encrypted) : APPLE SSD AP1024R 1TB macOS 14.7.3
Apple M4 16 29.6 31.4 2025-02-08 APFS (Encrypted) : APPLE SSD AP1024Z 1TB
AMD Ryzen 7 7800X3D 8 Core 32 17.1 16.1 2025-02-09 Ext4 : Corsair MP600 PRO LPX Ubuntu 22.04.3
AMD Ryzen 7 7800X3D 8 Core 32 65.5 42.3 2025-02-09 NTFS : Corsair MP600 PRO LPX Windows 10 Pro 22H2
AMD Ryzen 5 7800X3D 8 Core 64 69.5 73.3 2025-02-09 NTFS : WD Black SN850x 2TB Windows 11 Pro 23H2

About

Stress test for parallel disk i/o using git and pnpm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.9%
  • TypeScript 11.8%
  • EJS 6.5%
  • CSS 1.8%
  • HTML 1.6%
  • Vue 1.1%
  • Other 3.3%