From: Greg W. <gr...@gr...> - 2004-05-20 11:23:55
|
I think a cache for All Combined and webcals would be a great idea. I=20= think that's the cause of a lot of slowdowns for me, as when I load a=20 single calendar it takes only a few seconds (rather than 15) as you'd=20 expect because it's parsing less, but then when I reload the single=20 calendar it takes under a second. Also, the blacklisted calendars=20 aren't parsed for All Combined, right? OK, here are the speed changes I see: -Week: 16.563 --> 16.310 (0.689) -Month: 16.185 --> 14.806 (0.488) -Year: 15.646 --> 15.821 (0.628) So it's hard to tell if that changed it much, as there's such=20 variability in times even keeping everything constant, but it seems a=20 bit faster. I don't have a copy of 1.1 installed right now, but I could try=20 installing one over the weekend or next week for comparison. Greg -- http://www.gregwestin.com Contact info: http://www.gregwestin.com/contact.php On May 20, 2004, at 2:24 AM, Chad Little wrote: > I've made a pass at optimizing the ical_parser itself, as template=20 > overhead is about that of 2 calendars. I've also added a new time=20 > check for full page and template. =46rom that we can see what speed=20 > improvements come from parsing icals and from generating the=20 > templates. I will work on adding a cache to All Combined and webcals,=20= > to speed things up further after beta. Greg, give CVS one more shot. I=20= > don't expect more than 1/2 a second or so. Also, it would be helpful=20= > to see what your times your getting from 1.1, as I'd think 2.0 is a=20 > hair faster (as most of the overhead is ical parsing itself). > > I'm also starting optimizing CSS and XHTML, my year view clocked in at=20= > 220K, and is now around 100K. > > -C > > On May 19, 2004, at 6:14 AM, Greg Westin wrote: > >> Here's what I got before and after with the calendars in CVS: >> -Week: 3.751 --> 3.264 >> -Month: 3.665 --> 3.184 >> -Year: 4.269 --> 3.368 >> >> Also, just for general interest, here's what I get before, with my=20 >> calendars (not CVS): >> -Week: 17.779 --> 16.715 >> -Month: 17.659 --> 15.722 >> -Year: 17.480 --> 15.943 >> >> So maybe not quite 20%, but significantly faster! >> >> Greg >> -- >> http://www.gregwestin.com >> Contact info: http://www.gregwestin.com/contact.php >> >> On May 18, 2004, at 11:52 PM, Chad Little wrote: >> >>> I've checked in some new code, and am seeing about a 20% speed=20 >>> increase. Can you run your tests again, then update CVS and tell me=20= >>> how yours improves. I test 7 calendars on a 1Ghx Powerbook and get=20= >>> 1.8 - 2.0 a page load. >>> >>> -C >>> >>> On May 17, 2004, at 4:22 PM, Greg Westin wrote: >>> >>>> I don't know why, but I get drastically slower generation times. =20= >>>> For example: >>>> >>>> Day: 3.511 >>>> Month: 4.061 >>>> Year: 4.906 >>>> >>>> With my actual calendars rather than those in CVS, it's about 3-4=20= >>>> times as slow. Any ideas why this might be? >>>> >>>> Also, every time I load a PHPiCalendar page, I see a little yellow=20= >>>> alert sign in the Safari tab I'm using. Is this due to an error in=20= >>>> the code, or some problem with my server, or what? >>>> >>>> Greg Westin >>>> -- >>>> http://www.gregwestin.com >>>> Contact info: http://www.gregwestin.com/contact.php >>>> >>>> On May 17, 2004, at 5:10 PM, Marook Zuug Kenja wrote: >>>> >>>>> Hi, >>>>> >>>>> I get: Page generated in 0.902 seconds. >>>>> >>>>> But it loads and displayes in Safari in 10-15 sec (512Kb=20 >>>>> connection) >>>>> >>>>> >>>>> ____________________________________________ >>>>> Jakob Peterh=E4nsel >>>>> Network Consultant >>>>> Tel: +45 7022 1014 >>>>> Fax: +45 7022 1013 >>>>> Mob: +45=A022 68 49 61 >>>>> jp...@ne... >>>>> www.NetPoint.com >>>>> >>>>> >>>>> On 17. maj 2004, at 22:50, Chad wrote: >>>>> >>>>>> Mine says: >>>>>> >>>>>> Page generated in 0.749 seconds. >>>>>> >>>>>> For year calendar. How slow were you seeing? Mind you, I have a=20= >>>>>> 30KB cap on my webserver, so slow webserving isnt the same as=20 >>>>>> slow page generation. >>>>>> >>>>>> -C >>>>>> >>>>>> On May 16, 2004, at 8:53 PM, Dietrich Ayala wrote: >>>>>> >>>>>>> Looks really good! >>>>>>> >>>>>>> The only problem I noticed was that the rendering of the year=20 >>>>>>> calendar was very slow. >>>>>>> >>>>>>> -dietrich >>>>>>> >>>>>>> Chad Little wrote: >>>>>>>> For those not up on cvs, take a look at 2.0, coming soon: >>>>>>>> http://www.chadsdomain.com/phpicalendar/ >>>>>>>> I'd like to get a test version public by June. >>>>>>>> -C >>>>>>>> ------------------------------------------------------- >>>>>>>> This SF.Net email is sponsored by: SourceForge.net Broadband >>>>>>>> Sign-up now for SourceForge Broadband and get the fastest >>>>>>>> 6.0/768 connection for only $19.95/mo for the first 3 months! >>>>>>>> http://ads.osdn.com/?ad_id=3D2562&alloc_id=3D6184&op=3Dclick >>>>>>>> _______________________________________________ >>>>>>>> Phpicalendar-devel mailing list >>>>>>>> Php...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> This SF.Net email is sponsored by: SourceForge.net Broadband >>>>>>> Sign-up now for SourceForge Broadband and get the fastest >>>>>>> 6.0/768 connection for only $19.95/mo for the first 3 months! >>>>>>> http://ads.osdn.com/?ad_id=3D2562&alloc_id=3D6184&op=3Dclick >>>>>>> _______________________________________________ >>>>>>> Phpicalendar-devel mailing list >>>>>>> Php...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> This SF.Net email is sponsored by: SourceForge.net Broadband >>>>>> Sign-up now for SourceForge Broadband and get the fastest >>>>>> 6.0/768 connection for only $19.95/mo for the first 3 months! >>>>>> http://ads.osdn.com/?ad_id=3D2562&alloc_id=3D6184&op=3Dclick >>>>>> _______________________________________________ >>>>>> Phpicalendar-devel mailing list >>>>>> Php...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: SourceForge.net Broadband >>>>> Sign-up now for SourceForge Broadband and get the fastest >>>>> 6.0/768 connection for only $19.95/mo for the first 3 months! >>>>> http://ads.osdn.com/?ad_id%62&alloc_ida84&op=CCk >>>>> _______________________________________________ >>>>> Phpicalendar-devel mailing list >>>>> Php...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: SourceForge.net Broadband >>>> Sign-up now for SourceForge Broadband and get the fastest >>>> 6.0/768 connection for only $19.95/mo for the first 3 months! >>>> http://ads.osdn.com/?ad_id%62&alloc_ida84&op=3Dclick >>>> _______________________________________________ >>>> Phpicalendar-devel mailing list >>>> Php...@li... >>>> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: SourceForge.net Broadband >>> Sign-up now for SourceForge Broadband and get the fastest >>> 6.0/768 connection for only $19.95/mo for the first 3 months! >>> http://ads.osdn.com/?ad_id%62&alloc_ida84&op=CCk >>> _______________________________________________ >>> Phpicalendar-devel mailing list >>> Php...@li... >>> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: SourceForge.net Broadband >> Sign-up now for SourceForge Broadband and get the fastest >> 6.0/768 connection for only $19.95/mo for the first 3 months! >> http://ads.osdn.com/?ad_id%62&alloc_ida84&op=3Dclick >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle=20 > 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id=9966&op=CCk > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |