Page MenuHomeSoftware Heritage

cli: speedup the `swh` cli command startup time
ClosedPublic

Authored by douardda on Sep 10 2020, 10:25 AM.

Details

Summary

by moving import statements in functions.

Related to T2575.

Event Timeline

douardda created this revision.Sep 10 2020, 10:25 AM

Build is green

Patch application report for D3901 (id=13751)

Rebasing onto 6706f7a7f5...

Current branch diff-target is up to date.
Changes applied before test
commit 60c535ddee7bad85533974630855b0da825af899
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Sep 9 17:48:44 2020 +0200

    cli: speedup the `swh` cli command startup time
    
    by moving import statements in functions.
    
    Related to T2575.

See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/38/ for more details.

ardumont accepted this revision.Sep 10 2020, 11:29 AM
This revision is now accepted and ready to land.Sep 10 2020, 11:29 AM
This revision was automatically updated to reflect the committed changes.