Page MenuHomeSoftware Heritage

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

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

Details

Summary

by moving import statements in functions.

Related to T2575.

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Thu, Sep 10, 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.Thu, Sep 10, 11:29 AM
This revision is now accepted and ready to land.Thu, Sep 10, 11:29 AM
This revision was automatically updated to reflect the committed changes.