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

Change current timing code to use decorators / Make timing optional from config. #34

Open
Sharpz7 opened this issue Jun 27, 2024 · 0 comments
Labels
engineering Engineering

Comments

@Sharpz7
Copy link
Contributor

Sharpz7 commented Jun 27, 2024

Currently, we do: https://github.com/search?q=repo%3Aradoss-org%2Fretuve%20log_timings&type=code

This is inefficient vs having a decorator that can automatically achieve the same thing.

from retuve.timings import functimer

@functimer(title="foo")
def bar():
    pass
@Sharpz7 Sharpz7 added the engineering Engineering label Jun 27, 2024
@Sharpz7 Sharpz7 changed the title Change current timing code to use decorators. Change current timing code to use decorators / Make timing optional from config. Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Engineering
Projects
None yet
Development

No branches or pull requests

1 participant