The Compute Engine step "Purge db" can be optimized by dropping a few operations:
- do not try to delete past measures of directories and files. Indeed the table project_measures contains only project measures.
- do not persist the measures on new code in project_measures. They are never read and past measures require to be deleted on each new analysis. That generates a lot of IO in DB.