Andrew Healey 8/7/2025

Optimizing My Disk Usage Program

Read Original

This technical article follows up on a fast macOS disk usage program called 'dumac'. The author explains how feedback led to a 28% performance improvement by replacing the Tokio async runtime with Rayon's work-stealing thread pool. This change reduced thread scheduling overhead and optimized access to data structures, making the tool more efficient for CPU-bound, blocking I/O operations.

Optimizing My Disk Usage Program

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week