https://kedro.org/ logo
#questions
Title
# questions
g

Galen Seilis

01/15/2024, 5:10 PM
Is there a way to run cProfile on my Kedro project?
1
n

Nok Lam Chan

01/24/2024, 5:00 PM
sorry for late reply. I don't know cProfile particularly well.
For anything you need to run programatically, you can use the Python API to run
Copy code
profiler.start()
session.run()
profiler.end()
If you need to run it in CLI, then
python -m kedro
is equivalent to
kedro run
and you can use your preferred choice of profiler on top of this
3 Views