1 2011-01-12T00:12:46 * ThomasWaldmann wonders whether the openid stuff is working current (without my HTTPException patch)
2 2011-01-12T00:13:16 <dreimark> why do you ?
3 2011-01-12T00:13:52 <dreimark> it may be is only a problem if the request is rejected
4 2011-01-12T00:25:02 <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10276:a7e294136bf0 2.0-dev/MoinMoin/__init__.py: add timers to create_app so we see how slow the misc. parts of the startup are
5 2011-01-12T00:25:21 <ThomasWaldmann> dreimark: because the patch is not committed, so redirects don't work in auth
6 2011-01-12T00:26:01 <dreimark> i had only a problem without it at the time oid failed
7 2011-01-12T00:33:41 *** grzywacz
8 2011-01-12T00:36:13 <dreimark> gn
9 2011-01-12T00:43:55 <ThomasWaldmann> gn dreimark
10 2011-01-12T00:45:14 <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10277:7890996eb5d5 2.0-dev/MoinMoin/ (__init__.py config/default.py): cfg.index_rebuild setting to save startup time once you have a valid index
11 2011-01-12T00:45:48 <ThomasWaldmann> ^^ saves 5s for me (2x 2.5s because the reloader starts it all again)
12 2011-01-12T00:53:26 *** maker__
13 2011-01-12T01:06:36 <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10278:ae0bcb7e7d37 2.0-dev/MoinMoin/__init__.py:
14 2011-01-12T01:06:36 <CIA-56> use modules' before_request/after_request, not application's
15 2011-01-12T01:06:36 <CIA-56> we don't need the timers and wiki environment setup for requests that deal
16 2011-01-12T01:06:36 <CIA-56> with static files, but the application hooks run for EVERY request.
17 2011-01-12T01:42:50 *** vpv
18 2011-01-12T01:42:56 *** vpv
19 2011-01-12T02:16:30 *** Kapace
20 2011-01-12T07:17:30 *** izibi
21 2011-01-12T08:45:56 <dreimark> moin
22 2011-01-12T08:46:05 <dreimark> 2011-01-12 08:45:39,730 INFO MoinMoin.util.clock:40 timer create_app total(0): 1389.81ms
23 2011-01-12T08:48:24 <dreimark> the most time it spends at timer create_app index rebuild(0): 1222.68ms
24 2011-01-12T08:49:09 <ThomasWaldmann> see the new cfg setting :)
25 2011-01-12T08:49:10 *** gwork
26 2011-01-12T08:49:43 <ThomasWaldmann> build it once and use it as long as possible without rebuild. rebuild_index = False
27 2011-01-12T08:50:25 <ThomasWaldmann> also a slight issue is that due to the reloader, that code runs twice on startup
28 2011-01-12T08:51:04 <dreimark> ThomasWaldmann: how fast is it for you now
29 2011-01-12T08:51:09 <ThomasWaldmann> not a big issue in production because it is rarely started, but for development it can be slightly annoying, esp. if stuff in startup takes more than a second
30 2011-01-12T08:51:46 <ThomasWaldmann> starts in 2,3 secs total for me
31 2011-01-12T08:52:10 <ThomasWaldmann> without rebuild_index, load_xml, save_xml
32 2011-01-12T08:53:49 <dreimark> rebuild_index = False
33 2011-01-12T08:53:58 <dreimark> ops
34 2011-01-12T08:54:05 <dreimark> index_rebuild = False
35 2011-01-12T08:54:15 <dreimark> 2011-01-12 08:53:27,854 INFO MoinMoin.util.clock:40 timer create_app total(0): 207.68ms
36 2011-01-12T08:54:35 <ThomasWaldmann> yeah, *2
37 2011-01-12T08:55:19 <ThomasWaldmann> + some stuff that is not measured
38 2011-01-12T08:56:04 <ThomasWaldmann> 2011-01-12 08:55:49,490 INFO MoinMoin.util.clock:40 timer total(0): 2033.76ms
39 2011-01-12T08:56:12 <ThomasWaldmann> first request of "moin" item
40 2011-01-12T08:56:29 <dreimark> http://paste.pocoo.org/show/319277/
41 2011-01-12T08:56:31 <ThomasWaldmann> 2011-01-12 08:56:15,210 INFO MoinMoin.util.clock:40 timer total(0): 202.84ms
42 2011-01-12T08:56:40 <ThomasWaldmann> second request of "moin"
43 2011-01-12T08:57:44 <dreimark> 2011-01-12 08:57:14,296 INFO MoinMoin.util.clock:40 timer total(0): 29.13ms
44 2011-01-12T08:57:47 <dreimark> for me
45 2011-01-12T08:58:13 <dreimark> hmm, can't believe that my setup is 10 times faster
46 2011-01-12T08:59:01 <ThomasWaldmann> register is much faster for you
47 2011-01-12T08:59:31 <ThomasWaldmann> more faster total with load_xml = None
48 2011-01-12T09:00:26 <dreimark> load config makes 25% for me
49 2011-01-12T09:00:58 <ThomasWaldmann> but startup (as long as it is <2-3s) doesn't matter much, we won't optimize for cgi
50 2011-01-12T09:01:17 <dreimark> 10%
51 2011-01-12T09:01:50 <ThomasWaldmann> it should be faster now for static file requests btw
52 2011-01-12T09:01:54 <dreimark> yes, i look later at the other box how long it takes there
53 2011-01-12T09:02:02 <ThomasWaldmann> because all that wiki stuff init is not done any more
54 2011-01-12T09:02:12 <dreimark> :)
55 2011-01-12T09:03:22 <dreimark> bbl
56 2011-01-12T09:08:20 <ThomasWaldmann> static files requests are ~ 200/s now for me
57 2011-01-12T10:58:54 *** greg_f
58 2011-01-12T13:24:33 <dreimark> http://paste.pocoo.org/show/319390/
59 2011-01-12T13:25:49 <dreimark> is fast without disabling index_rebuild. but i don't remember the reloader seen on the laptop
60 2011-01-12T13:26:36 <dreimark> this is a quite old machine
61 2011-01-12T14:23:58 *** m4k3r
62 2011-01-12T15:56:48 *** kapace__
63 2011-01-12T17:03:07 *** gwork
64 2011-01-12T17:44:54 *** greg_f
65 2011-01-12T18:02:48 *** izibi
66 2011-01-12T18:21:52 *** m4k3r
67 2011-01-12T19:10:22 *** Trip
68 2011-01-12T19:10:48 *** Trip
69 2011-01-12T19:13:26 *** TripleEntendre
70 2011-01-12T19:20:57 *** Guest68155
71 2011-01-12T19:35:27 *** raignarok
72 2011-01-12T20:14:09 *** eSyr_
73 2011-01-12T20:20:00 *** grzywacz
74 2011-01-12T20:20:00 *** grzywacz
75 2011-01-12T22:47:23 *** raignarok
76 2011-01-12T22:47:38 *** raignarok
77 2011-01-12T22:53:58 <dreimark> re
78 2011-01-12T22:54:15 <dreimark> silent or netsplit
79 2011-01-12T22:57:02 <dreimark> hmm why is that * Restarting with reloader... so late?
80 2011-01-12T23:03:49 *** raignarok
81 2011-01-12T23:25:07 <ThomasWaldmann> dreimark: i asked myself the same
82 2011-01-12T23:55:11 *** grzywacz
83
MoinMoin: MoinMoinChat/Logs/moin-dev/2011-01-12 (last edited 2011-01-11 23:45:02 by IrcLogImporter)