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

chore: optimized stats calculation by fetching contribution data in parallel using Promise.all #416

Merged
merged 1 commit into from
Aug 31, 2024

Commits on Aug 31, 2024

  1. chore: optimized stats calculation by fetching contribution data in p…

    …arallel using Promise.all
    
    - Replaced sequential for loop with Promise.all to fetch contributions for each year in parallel.
    - Utilized Array.reduce to aggregate total commit contributions, restricted contributions, and pull request review contributions.
    - Improved performance by reducing the overall time to retrieve data from GitHub API.
    FajarKim committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    25cecec View commit details
    Browse the repository at this point in the history