Getting a snap builds record is slow
Bug #1928943 reported by
Sebastien Bacher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned |
Bug Description
The follow example is taking 2.3s on my hirsute desktop
'''
#!/usr/bin/python3
import time
from launchpadlib.
launchpad = Launchpad.
snapobj = launchpad.load('https:/
before = time.time ()
builds = snapobj.builds[:7]
print('got the builds in %.3f seconds' % (time.time(
'''
Reading the webpage using urllib and doing some hackish parsing gives the same results in less than a second, ideally the launchpad api wouldn't be that much slower
To post a comment you must log in.