Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95534
| From | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Sometimes bottle takes a lot of time |
| Date | 2015-08-21 23:22 +0200 |
| Organization | Decebal Computing |
| Message-ID | <87si7cnxq6.fsf@Equus.decebal.nl> (permalink) |
I created a simple application with bottle:
https://github.com/CecilWesterhof/PublishedPhotos
But sometimes it needs a lot of time. For example:
127.0.0.1 - - [21/Aug/2015 23:16:40] "GET / HTTP/1.1" 304 0
127.0.0.1 - - [21/Aug/2015 23:16:40] "GET /static/css/default.css HTTP/1.1" 304 0
127.0.0.1 - - [21/Aug/2015 23:16:46] "GET /static/JavaScript/angular.js HTTP/1.1" 304 0
127.0.0.1 - - [21/Aug/2015 23:16:46] "GET /static/appPublishedPhotos.js HTTP/1.1" 304 0
127.0.0.1 - - [21/Aug/2015 23:16:46] "GET /links/data HTTP/1.1" 200 2884
127.0.0.1 - - [21/Aug/2015 23:16:52] "GET /versionPython HTTP/1.1" 200 5
127.0.0.1 - - [21/Aug/2015 23:16:52] "GET /versionSQLite HTTP/1.1" 200 5
Between default.css and angular.js there are six seconds. And between
/links/data and /versionPytjon is again six seconds. What is happening
here?
Just before everything was done in a second:
127.0.0.1 - - [21/Aug/2015 23:16:22] "GET / HTTP/1.1" 200 956
127.0.0.1 - - [21/Aug/2015 23:16:22] "GET /static/css/default.css HTTP/1.1" 304 0
127.0.0.1 - - [21/Aug/2015 23:16:22] "GET /static/appPublishedPhotos.js HTTP/1.1" 304 0
127.0.0.1 - - [21/Aug/2015 23:16:22] "GET /static/JavaScript/angular.js HTTP/1.1" 304 0
127.0.0.1 - - [21/Aug/2015 23:16:23] "GET /versionPython HTTP/1.1" 200 5
127.0.0.1 - - [21/Aug/2015 23:16:23] "GET /links/data HTTP/1.1" 200 2884
127.0.0.1 - - [21/Aug/2015 23:16:23] "GET /versionSQLite HTTP/1.1" 200 5
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-21 23:22 +0200
Sometimes bottle takes a lot of time gst <g.starck@gmail.com> - 2015-08-21 14:55 -0700
Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 13:34 +0200
Re: Sometimes bottle takes a lot of time Peter Otten <__peter__@web.de> - 2015-08-22 09:49 +0200
Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 13:37 +0200
Re: Sometimes bottle takes a lot of time Michael Torrie <torriem@gmail.com> - 2015-08-22 09:33 -0600
Re: Sometimes bottle takes a lot of time Rustom Mody <rustompmody@gmail.com> - 2015-08-22 09:13 -0700
Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 20:03 +0200
Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 23:06 +0200
Re: Sometimes bottle takes a lot of time Chris Angelico <rosuav@gmail.com> - 2015-08-23 09:13 +1000
Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 02:51 +0200
Re: Sometimes bottle takes a lot of time Chris Angelico <rosuav@gmail.com> - 2015-08-23 11:05 +1000
Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 14:45 +0200
Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-22 11:41 +0200
Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 13:28 +0200
Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-22 14:09 +0200
Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 15:09 +0200
Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-22 15:51 +0200
Re: Sometimes bottle takes a lot of time Christian Gollwitzer <auriocus@gmx.de> - 2015-08-22 16:15 +0200
Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-23 16:05 +0200
Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 17:20 +0200
Re: Sometimes bottle takes a lot of time MRAB <python@mrabarnett.plus.com> - 2015-08-23 16:44 +0100
Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 18:15 +0200
Re: Sometimes bottle takes a lot of time Michael Torrie <torriem@gmail.com> - 2015-08-23 10:47 -0600
Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-23 22:55 +0200
Re: Sometimes bottle takes a lot of time Ben Finney <ben+python@benfinney.id.au> - 2015-08-24 10:01 +1000
csiph-web