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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: reduces anonymous top level functions #703

Merged
merged 1 commit into from Dec 23, 2022

Conversation

sverweij
Copy link
Owner

Description

  • replaces all anonymous functions that were assigned to a module.exports

Motivation and Context

Non-anonmous functions are easier to identify in heap and cpu profiles

How Has This Been Tested?

  • green ci

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Documentation only change
  • Refactor (non-breaking change which fixes an issue without changing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • 馃摉

    • My change doesn't require a documentation update, or ...
    • it does and I have updated it
  • 鈿栵笍

    • The contribution will be subject to The MIT license, and I'm OK with that.
    • The contribution is my own original work.
    • I am ok with the stuff in CONTRIBUTING.md.

so they're easier to identify in heap and cpu profiles
@sverweij sverweij merged commit a1cc3b6 into develop Dec 23, 2022
@sverweij sverweij deleted the refactor/reduces-anonymous-top-level-functions branch December 23, 2022 09:10
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.

None yet

1 participant