Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance performance and user experience with improved progress reporting #65

Merged
merged 2 commits into from
Aug 31, 2024

Conversation

yamadashy
Copy link
Owner

@yamadashy yamadashy commented Aug 29, 2024

This PR addresses performance issues and improves the user experience by preventing the appearance of hanging during CPU-intensive operations.

Key changes:

  1. Performance improvements:

    • Introduced sleep() in CPU-heavy processes (security check, metrics calculation) to prevent event loop blocking
    • Optimized CLI spinner for more efficient updates
  2. Progress reporting enhancements:

    • Implemented a progress callback system for real-time updates
    • Added detailed progress messages for each stage of the packing process
  3. Python support:

    • Extended default ignore list with essential Python-related entries

These changes significantly improve the responsiveness of the application during long-running tasks and provide users with better visibility into the packing process.

@yamadashy yamadashy force-pushed the fix/infinite-loading branch 3 times, most recently from 429f1af to 230ab49 Compare August 31, 2024 08:17
@yamadashy yamadashy changed the title Fix File Writing Performance and Improve Progress Reporting Fix: Replace pMap with sequential processing in fileCollector to avoid file descriptor exhaustion Aug 31, 2024
@yamadashy yamadashy force-pushed the fix/infinite-loading branch from 230ab49 to cd7e83b Compare August 31, 2024 11:11
@yamadashy yamadashy changed the title Fix: Replace pMap with sequential processing in fileCollector to avoid file descriptor exhaustion Fix: Replace pMap with sequential processing in security check Aug 31, 2024
@yamadashy yamadashy force-pushed the fix/infinite-loading branch from cd7e83b to e46fb8c Compare August 31, 2024 11:37
@yamadashy yamadashy changed the title Fix: Replace pMap with sequential processing in security check This PR addresses performance issues and improves the user experience by preventing the appearance of hanging during CPU-intensive operations. Key changes: 1. Performance improvements: - Introduced sleep() in CPU-heavy processes (security check, metrics calculation) to prevent event loop blocking - Optimized CLI spinner for more efficient updates 2. Progress reporting enhancements: - Implemented a progress callback system for real-time updates - Added detailed progress messages for each stage of the packing process 3. Python support: - Extended default ignore list with essential Python-related entries These changes significantly improve the responsiveness of the application during long-running tasks and provide users with better visibility into the packing process. Aug 31, 2024
@yamadashy yamadashy changed the title This PR addresses performance issues and improves the user experience by preventing the appearance of hanging during CPU-intensive operations. Key changes: 1. Performance improvements: - Introduced sleep() in CPU-heavy processes (security check, metrics calculation) to prevent event loop blocking - Optimized CLI spinner for more efficient updates 2. Progress reporting enhancements: - Implemented a progress callback system for real-time updates - Added detailed progress messages for each stage of the packing process 3. Python support: - Extended default ignore list with essential Python-related entries These changes significantly improve the responsiveness of the application during long-running tasks and provide users with better visibility into the packing process. Enhance performance and user experience with improved progress reporting Aug 31, 2024
@yamadashy yamadashy force-pushed the fix/infinite-loading branch from e46fb8c to 7a77a72 Compare August 31, 2024 11:40
@yamadashy yamadashy merged commit a56c84e into main Aug 31, 2024
20 checks passed
@yamadashy yamadashy deleted the fix/infinite-loading branch August 31, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant