Closed zhquan closed 11 months ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/github.py | 2 | 75.79% | ||
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/sortinghat_gelk.py | 44 | 80.63% | ||
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/git.py | 92 | 72.63% | ||
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/enrich.py | 123 | 73.61% | ||
<!-- | Total: | 261 | --> |
Totals | |
---|---|
Change from base Build 5400461112: | -0.01% |
Covered Lines: | 9166 |
Relevant Lines: | 11090 |
This commit improves the performance of the enrichment process.
_connecto_name
).get_uuid
.__fix_field_date
method to__cast_str_to_datetime
to convert str to datetime and fix possible date format errors. With this method we reduce the number of calls of thestr_to_datetime
method.__add_commit_meta_fields
method it only creates a new identity when it doesn't exist in SortingHat.add_identity
method, remove theupdate_profile
mutation; this is no longer necessary as we are using GraphQL.