Skip to content

Add time warnings #502

Description

@andrefpf

What feature would you like?

It is very hard to keep the software consistently fast.
Most optimizations are based on some constraints that with time may be modified and are lost.
We should have a few time utilities to ensure that optimizations are not lost over time.

Currently my suggestions are the following:

  • Store a timestamp in the software startup and add warnings if the delta time from startup to a few keypoints exceeds a maximum time limit
  • Create a decorator to use in critical functions that should execute instantly. This decorator will log a warning whenever the function takes more than a maximum time limit

Mockups / Examples

No response

Contact Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentation 📜Theory reference, tutorials, code documentationMaintainability 🛠️Code quality improvements and infrastructure updatesOptimization 🏎️The solution for this issue will make the software run faster in the average case

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions