Sometimes bottle takes a lot of time

MRAB python at mrabarnett.plus.com
Sun Aug 23 17:44:33 CEST 2015


On 2015-08-23 16:20, Cecil Westerhof wrote:
> On Sunday 23 Aug 2015 16:05 CEST, Johannes Bauer wrote:
>
>> On 22.08.2015 16:15, Christian Gollwitzer wrote:
>>
>>> Probably yes. You should take a look at the OP again and compare
>>> the time stamps. It says that in between two consecutive calls of
>>> the same program, the request was served once in a second, and once
>>> with serious delays. Despite that the server is localhost. In
>>> between both trials there are 20 seconds. I do not see, how git
>>> bisect would help here.
>>
>> I do completely understand that in two consecutive runs one time the
>> problem occurs and the other time it doesn't.
>>
>> It's highly unlikely that such a bug would ever have passed the
>> bottle QA and if it did it would affect thousands of users (who
>> would report this issue, since it's very severe). It is much more
>> likely the bug is somewhere within the OP's program. By git bisect
>> he can find out where he introduced the bug.
>
> You have to explain something to me: how can I introduce a bug without
> changing anything? Maybe by having wrong thoughts?
>
>
>>> Note that this says nothing about the location of the bug, in can
>>> still be either in the OPs code or in the framework.
>>
>> Yup. Note that he has now shifted from blaming bottle to blaming
>> Firefox. Same thing with that claim. If somehow website delivery was
>> delayed 6 seconds reproducibly, people would have noticed.
>
> I never blamed bottle, I was asking if it could be a problem with
> bottle.
>
The subject says otherwise. :-)

[snip]



More information about the Python-list mailing list