Skip to content

Add performance decorator for function metrics#1038

Merged
canbula merged 1 commit into
canbula:masterfrom
Emine0010:patch-5
Jun 5, 2026
Merged

Add performance decorator for function metrics#1038
canbula merged 1 commit into
canbula:masterfrom
Emine0010:patch-5

Conversation

@Emine0010

Copy link
Copy Markdown
Contributor

This decorator tracks execution time, memory usage, and call count for functions.

Describe your changes

Checklist

  • I have read the [CONTRIBUTING]
  • I have performed a self-review of my own code
  • I have run the code locally and it works as expected
  • I have commented my code, particularly in hard-to-understand areas

Screenshots (if appropriate)

This decorator tracks execution time, memory usage, and call count for functions.

@canbula canbula left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use functools and remove the global assignments.

@canbula canbula merged commit 8e4ff15 into canbula:master Jun 5, 2026
1 check passed
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.

2 participants