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 has quit IRC
   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__ has quit IRC
  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 has quit IRC
  18 2011-01-12T01:42:56  *** vpv has joined #moin-dev
  19 2011-01-12T02:16:30  *** Kapace has quit IRC
  20 2011-01-12T07:17:30  *** izibi has quit IRC
  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 has joined #moin-dev
  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 has joined #moin-dev
  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 has joined #moin-dev
  62 2011-01-12T15:56:48  *** kapace__ has quit IRC
  63 2011-01-12T17:03:07  *** gwork has quit IRC
  64 2011-01-12T17:44:54  *** greg_f has quit IRC
  65 2011-01-12T18:02:48  *** izibi has joined #moin-dev
  66 2011-01-12T18:21:52  *** m4k3r has quit IRC
  67 2011-01-12T19:10:22  *** Trip has joined #moin-dev
  68 2011-01-12T19:10:48  *** Trip is now known as Guest68155
  69 2011-01-12T19:13:26  *** TripleEntendre has quit IRC
  70 2011-01-12T19:20:57  *** Guest68155 is now known as TripleEntendre
  71 2011-01-12T19:35:27  *** raignarok has joined #moin-dev
  72 2011-01-12T20:14:09  *** eSyr_ is now known as eSyr
  73 2011-01-12T20:20:00  *** grzywacz has joined #moin-dev
  74 2011-01-12T20:20:00  *** grzywacz has joined #moin-dev
  75 2011-01-12T22:47:23  *** raignarok has quit IRC
  76 2011-01-12T22:47:38  *** raignarok has joined #moin-dev
  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 has quit IRC
  81 2011-01-12T23:25:07  <ThomasWaldmann> dreimark: i asked myself the same
  82 2011-01-12T23:55:11  *** grzywacz has quit IRC
  83 

MoinMoin: MoinMoinChat/Logs/moin-dev/2011-01-12 (last edited 2011-01-11 23:45:02 by IrcLogImporter)