kaizen-ai / kaizenflow

KaizenFlow is a framework for Bayesian reasoning and AI/ML stream computing
GNU General Public License v3.0
112 stars 77 forks source link

Automatically track elapsed time for scripts #417

Open gpsaggese opened 1 year ago

gpsaggese commented 1 year ago

Add a call that is registered by logging.py to start and stop the counter so that any executable that imports logging.py automatically prints the total elapsed time on the machine.

See something like helpers/hcache.py

atexit.register(clear_global_cache, cache_type="mem", destroy="true")

I can add more specs if needed

samarth9008 commented 1 year ago

@dchoi127 Let @gpsaggese know if more specs are needed.

samarth9008 commented 1 year ago

@dchoi127 no need to work on it rn. @gpsaggese will ping you for new task.

samarth9008 commented 7 months ago

@gpsaggese Can we still outsource this? Is it relevant?

samarth9008 commented 7 months ago

@gpsaggese Any update on this one?

gpsaggese commented 7 months ago

Yes, this one is ok to outsource but not as warm up IMO.