shazianu...@gmail.com writes:
> I have an issue with one piece of code in Python that when my API using
> Nginx/Uwsgi/EC2 AWS calls this function it causes latency.
In those cases, I proceed as follows:
* structure the code in a way that it can be called in an interactive
Python interpreter
On 2017-08-29 17:08, shazianu...@gmail.com wrote:
You mean recursive linear search? Or is there a way I can test all my code with
multiple files to see which function is causing issue?
You can just put some timing around the methods that might be a problem,
writing to a logfile. Process a fe
You mean recursive linear search? Or is there a way I can test all my code with
multiple files to see which function is causing issue?
--
https://mail.python.org/mailman/listinfo/python-list
On 2017-08-29 16:22, shazianu...@gmail.com wrote:
Hi,
I have an issue with one piece of code in Python that when my API using
Nginx/Uwsgi/EC2 AWS calls this function it causes latency. I need help to
figure out if there is I am doing something wrong with this particular
function. Rest of the
On 8/29/2017 11:22 AM, shazianu...@gmail.com wrote:
def getvideos(self, listitem):
channelId = ""
returnVideos,dictData = {},{}
mode = 0
channelId = listitem[KEY_CHANNELID]
if KEY_CHANNELMODE in listitem :
mode = int(listitem[KEY_CHANNELMODE])
filteredVideos = []
...
Please make code readable