Bug #9818

Driver Maintenance: btech.py - Uploads are very, very slow compared to downloads.

Added by Jim Unroe 6 months ago. Updated 5 months ago.

Status:Closed Start date:04/01/2022
Priority:Normal Due date:
Assignee:Jim Unroe % Done:

100%

Category:-
Target version:chirp-daily
Chirp Version:daily Platform:All
Model affected:(All models)

Description

The btech.py driver module has always been very slow at uploading. A patch was added to make downloading more reliable but make the upload times even worse. In some cases it has taken as long a 6 minutes to load the channels and settings into a radio (while downloading the same data only takes about 1/2 minute).

This affects all radio models that are programmed with this driver module.

Jim KC9HI

Associated revisions

Revision 3674:d95d082a721b
Added by Jim Unroe 6 months ago

Address slow uploads for radios programmed by btech.py driver module.

Uploads using this driver have always been slow. A patch submitted to
address issue #3993 made matters worse.

Testing has indicated that the "sleep" that has been in use from the
begining and was increased in issue 3993 is only necessary during
downloading.

This patch addresses the issue by only having the "sleep(0.002)"
effective during the download cloning process. Uploads with the
"sleep" removed have been tested to be just as fast as downloads.

fixes #9818

History

Updated by Jim Unroe 6 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Patch submitted. Support will be in the next CHIRP daily build following acceptance.

Jim KC9HI

Updated by Jim Unroe 6 months ago

  • Status changed from Resolved to In Progress
  • % Done changed from 100 to 50

Speed improvements are available in today's CHIRP daily build. However, further improvements are forthcoming so I reopened this issue.

Jim KC9HI

Updated by Anonymous 5 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Applied in changeset d95d082a721b.

Also available in: Atom PDF