IRC log of #schooltool for Friday, 2005-09-09

*** ignas has joined #schooltool00:12
bskahansrichter: with a new checkout of your branch, make seems to fail on the svn checkout of zope02:09
bskahan% make test                                              +tor/schooltool@pigpen02:09
bskahansvn co svn+ssh://svn.zope.org/repos/main/Zope3/branches/testbrowser-integration/src/zope/testbrowser Zope3/src/zope/testbrowser02:09
bskahanPermission denied (publickey,keyboard-interactive).02:09
bskahansvn: Connection closed unexpectedly02:09
*** bskahan has quit IRC03:30
*** jinty has quit IRC03:55
*** th1a has quit IRC04:05
*** povbot has joined #schooltool19:52
povbot/svn/commits: * ignas committed revision 4935:19:57
povbot/svn/commits: Added caching to dayEvents function in the CalendarViewBase.  Added a missing unit test.  Removed cpu hogging tal:define from the inner loop in the daily template.19:57
ignasth1a, ping19:57
th1aHi ignas20:00
povbot/svn/commits: * ignas committed revision 4936:20:07
povbot/svn/commits: Change the name of the calendar cache attribute in CalendarViewBase to make unit tests look better.20:07
*** gintas has joined #schooltool20:07
ignasth1a, an issue - navigation protlet in calendar views is hogging quite a lot of resources at the moment, most probably we will optimize it to be as fast as possible20:13
th1aWhich part of the portlet?20:13
ignasthough - the code not run will always be faster :D20:13
ignasthe 3 months20:13
ignaswith busy days20:13
th1aHm.  Perhaps we should just shitcan that feature.20:14
ignasthe bottle neck is -  showing which days are busy which are not20:14
th1aWhat do you guys think?20:15
mgedminignas, can you quantify the cost?20:15
mgedmin50% rendering time? 30 milliseconds?20:15
ignasat the moment - more than 50%20:16
ignasafter yearly view optimizations might get reduced to 20-30 maybe 50 :/20:16
ignascan't predict reliably20:16
th1aIs that something that could be cached?20:17
ignaswell, everything can be cached ...20:18
ignasyet that might take more time ...20:19
ignasdepends on the yearly view code20:19
ignasactually20:19
th1aHow does it depend on the yearly view code?20:20
th1aAre we keeping the yearly view?20:20
ignasyes20:22
ignasyearly view is similar to the protlet - they both need only info whether a day is busy or not20:22
ignasso after optimizing the yearly view to generate such a mask (busy,busy, free)20:23
ignaswe can apply the same methof (even the same code)20:23
ignasto the protlet20:23
th1aOK.20:24
th1aRight now we have the current month and the next two?20:24
ignasi think previous, current, next20:25
th1aDefinitely cut the previous month.20:25
th1aAnd do some work on optimizing the portlet.20:26
th1aIf it is still slowing down the page too much, we'll retract the feature, at least for now.20:26
th1aDoes that sound reasonable?20:27
mgedminI think that's what ignas wanted to find out20:27
mgedminwhether removing that feature is acceptable20:27
th1a:-)20:27
mgedminif we just disable the free/busy day calculation, that should give us 99% of the speedup we'd get by removing the calendar portlet altogether20:27
th1aYeah, I'd say take a pass at optimizing the portlet,20:28
mgedminwe can also calculate the time cost of the free/busy after we've finished optimizing the yearly view -- which solves the same problem20:28
th1aand if it is going to take a long time to get a significant speedup, keep the calendar but drop the free/busy feature.20:28
mgedminok20:28
mgedminthanks20:28
*** gintas has quit IRC20:56
*** jinty has left #schooltool22:12
*** jinty has quit IRC22:12
*** mgedmin has quit IRC22:33
*** bskahan has quit IRC22:56
*** ignas has quit IRC23:01
*** dasmm has quit IRC23:08
povbot/svn/commits: * alga committed revision 4937:23:32
povbot/svn/commits: Optimized weekly and monthly recurrence rules to fast-forward to the interesting time period instead of expanding all recurrences from the very start.23:32
*** tvon has quit IRC23:38
*** tvon has joined #schooltool23:43

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!