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

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes