INCATools / ontology-development-kit

Bootstrap an OBO Library ontology
http://incatools.github.io/ontology-development-kit/
BSD 3-Clause "New" or "Revised" License
212 stars 53 forks source link

Collect per-command resource usage data. #940

Closed gouttegd closed 7 months ago

gouttegd commented 9 months ago

When running under ODK_DEBUG=yes, instruct make to run every command through a small wrapper around the actual shell to capture resource usage (CPU time and memory consumption) for each command, in addition to capturing resource usage for the entire run. The resource usage data is written into tmp/debug.log.

gouttegd commented 9 months ago

@matentzn @anitacaron I’ve done only limited testing of this for now. I’ll do more when I’m back next week.

matentzn commented 9 months ago

This looks great!

@anitacaron when you have an opportunity can you test this?

anitacaron commented 9 months ago

I tested it, and it looks good.