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

feat: Add runtime measurement for each step and loop in RDLoop. #281

Merged
merged 12 commits into from
Sep 20, 2024

Conversation

WinstonLiyt
Copy link
Collaborator

@WinstonLiyt WinstonLiyt commented Sep 19, 2024

Description

Add runtime measurement for each step and loop in RDLoop.

  • Use the measure_time decorator to measure runtime of each step method.

Motivation and Context

How Has This Been Tested?

  • Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
  • If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

  1. Pipeline test:
  2. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

📚 Documentation preview 📚: https://RDAgent--281.org.readthedocs.build/en/281/

rdagent/log/time.py Outdated Show resolved Hide resolved
@WinstonLiyt WinstonLiyt merged commit 83058c8 into main Sep 20, 2024
7 checks passed
@WinstonLiyt WinstonLiyt deleted the ytli_add_running_time branch September 20, 2024 08:06
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.

4 participants