geoutils
geoutils copied to clipboard
Add profiling module
Context
The goal of this ticket is to integrate a profiling module into xDEM in order to better monitor functions that are costly in terms of memory and execution time.
To achieve this, we will draw inspiration from the profiling tool implemented in Pandora (source here). However, several adaptations are needed to tailor the profiler to the xDEM context.
Tasks
- [ ] Replace enable_from_config with a simplified method that does not require json_checker. The new API should look like: enable(save_graphs=True, save_raw_data=False)
- [ ] Add unit tests to ensure the profiler behaves as expected
- [ ] Add documentation for the new profiler module and usage guidelines
- [ ] Create profiling for first functions as reprojection, subsample, interpolation
/estimate 5d
See https://github.com/GlacioHack/xdem/issues/754