Skip to content

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

Merged
WinstonLiyt merged 12 commits intomainfrom
ytli_add_running_time
Sep 20, 2024
Merged

feat: Add runtime measurement for each step and loop in RDLoop.#281
WinstonLiyt merged 12 commits intomainfrom
ytli_add_running_time

Conversation

@WinstonLiyt
Copy link
Contributor

@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/

@WinstonLiyt WinstonLiyt merged commit 83058c8 into main Sep 20, 2024
@WinstonLiyt WinstonLiyt deleted the ytli_add_running_time branch September 20, 2024 08:06
Jensen246 pushed a commit to Jensen246/RD-Agent that referenced this pull request Jun 6, 2025
…osoft#281)

* Add runtime measurement for each step and loop in RDLoop.

* refine some codes

* refine the code (microsoft#276)

* show variables only when it exists (microsoft#277)

* fix: support seed and fix absolute path (microsoft#278)

* fix: support seed and fix absolute path

* Absolute path

* lint

* fix: improve_execution_time_in_kaggle_loop (microsoft#279)

* improve_execution_time_in_kaggle_loop

* fix CI

* fix CI

* fix CI

* fix: Update runner.py to fix a small bug (microsoft#282)

* fix: Update runner.py to fix a small bug

* fix CI

* refine the code

* Update loop.py

* Update rd_loop.py

* Update model_xgb.py

---------

Co-authored-by: XianBW <36835909+XianBW@users.noreply.github.com>
Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
Co-authored-by: Xu Yang <peteryang@vip.qq.com>
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