<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Topic: Question about rendering time</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Question about rendering time</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 15:12:16 +0000</pubDate>

<item>
<title>HowToGeek on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time/page/2#post-10280</link>
<pubDate>Sun, 19 Aug 2007 04:57:10 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10280@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Yeah, all other forums do a &#34;diff&#34; patch approach to creating mods, which is the main thing that drove me to use bbPress in the first place... the plugin architecture is so much simpler.&#60;/p&#62;
&#60;p&#62;I really like the idea of making &#34;pluggable&#34; actions the way bbPress does, but I'm not entirely fond of the filters. In most cases I don't use the filters in my theme, but change the theme to directly output the data.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time/page/2#post-10278</link>
<pubDate>Sun, 19 Aug 2007 03:03:36 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10278@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've discovered another interesting approach that SMF takes - their &#34;plugins&#34; are actually true mods where it's a sort of &#34;diff&#34; file that patches the sources. Keeps it running very fast no matter how make addons you use. To a certain degree it keeps working between minor version changes (ie. 1.1.1-1.1.3) but major changes will break many of them. Still, it's an interesting approach and very different to bbPress.&#60;/p&#62;
&#60;p&#62;They also do virtually everything in memory as arrays (roles, etc) where bbPress runs through a big bunch of code to return a value ie. bb_current_user_can(&#34;administrate&#34;).&#60;/p&#62;
&#60;p&#62;I know wordpress.org's forum has distributed backup servers but it operates as a single server correct? I'm wondering just how far bbpress can scale on a single server. Once you offload mysql &#38;#38; email functions, that's about as far as you can go easily on a single server.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time/page/2#post-10259</link>
<pubDate>Sat, 18 Aug 2007 10:34:00 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10259@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I finally found one weakness in SMF (took awhile!)&#60;br /&#62;
No tags/category support and no hacks/mods in sight to add the ability.. Of course few other forums have such an ability. I've been setting up a new SMF forum for a client just to learn it and they gave me a list of sub-forums they wanted - I was like this would have been perfect for bbpress, instead of sub-forums which are unnecessary in their case and will confusing visitors.&#60;/p&#62;
&#60;p&#62;(ie. &#34;photos&#34; sub-forum which really, could be photos in any other forum, just tagged to show a topic has  a photo)
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time/page/2#post-10257</link>
<pubDate>Sat, 18 Aug 2007 05:28:24 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10257@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;That doesn't seem too difficult to believe, I ran bbpress through phped profiler and it looks like the templating makes it slightly slower than if you directly outputted the code like most other forums do.&#60;/p&#62;
&#60;p&#62;Which does make sense... what I've been considering is making a theme that doesn't use all the filters but directly outputs the data.&#60;/p&#62;
&#60;p&#62;That theme author should seriously consider moderating his forum... there's nothing but spam on it.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time/page/2#post-10254</link>
<pubDate>Sat, 18 Aug 2007 04:14:20 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10254@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I built a SMF forum on a litespeed server yesterday and I sometimes get 0.023 page render times - it's some crazy stuff. I didn't even think numbers that low were possible.&#60;/p&#62;
&#60;p&#62;SMF seems heavy in some areas but it's completely geared for quick output. I think it's only weakness is that it will always look a certain blocky style - but it gets the job done for any big forum requirements. Lots of mods and themes available too. And you can set it up in under 30 minutes, under 10 minutes if you've done it before. I'd like to see bbpress grow up to be something like that.&#60;/p&#62;
&#60;p&#62;At some point I want to port this style to bbpress:&#60;br /&#62;
&#60;a href=&#34;http://www.harzem.com/themes/preview/index.php?theme=6&#34; rel=&#34;nofollow&#34;&#62;http://www.harzem.com/themes/preview/index.php?theme=6&#60;/a&#62;&#60;br /&#62;
Pretty sure it can be done (that's the theme author's site)
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time/page/2#post-10236</link>
<pubDate>Fri, 17 Aug 2007 04:33:13 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10236@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You should put up a donate button on your page...  or just get really familiar with vim =)&#60;/p&#62;
&#60;p&#62;I'm thinking that 0.05 seconds to render a page is really quite good for most sites... I can't seem to find a big forum that includes the render time in the page source.&#60;/p&#62;
&#60;p&#62;What I've been thinking about, however, is that a customizable caching plugin would be really useful, especially for the really old posts that are mostly viewed via a google search. Been reading through the wp-cache2 source to see if there's really all that much to it.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10235</link>
<pubDate>Fri, 17 Aug 2007 04:15:23 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10235@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;No &#34;fastload&#34; is not very useful for servers with a proper opcode cache and responsive disk system (and files are fetched and rendered on the same node). On my VPS it actually adds a few ms on average.&#60;/p&#62;
&#60;p&#62;The load on dreamhost has been over 20 for most of today so it's not surprising anyone will find the bbpress+smf test sites slow.&#60;/p&#62;
&#60;p&#62;I'm probably going to switch the showcase back to nearlyfreespeech shortly which is still on the slower side and uses  only http 1.0 as it's forces though a squid proxy. &#60;/p&#62;
&#60;p&#62;Unless someone can find a $20 or less per year host that has a better setup as my budget is maxed out. Can't even afford to replace my mouse that's acting up right now.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10231</link>
<pubDate>Thu, 16 Aug 2007 19:04:33 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10231@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;They are both slower than all hell for me.&#60;/p&#62;
&#60;p&#62;I'm very interested in your fastload plugin... but I wonder if it would matter much for opcode cached sites.&#60;/p&#62;
&#60;p&#62;Seems like the majority of the problems in speed I'm getting are from the repeated hooks in tight loops.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10223</link>
<pubDate>Thu, 16 Aug 2007 15:13:57 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10223@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've never seen their mysql take longer than 16-20ms to connect and never, ever more than 100ms to load all the queries.  Storing code in mysql  is crazy but just may work in weird cases like that. Of course if 1000 people did it, they'd ban the technique.&#60;/p&#62;
&#60;p&#62;What's really interesting is their microtime never gives accurate results and frequently negative numbers. Either their multi-cores have clocks that are out of sync or parts of the code are somehow executing on different servers???? I posted a question about it on their support forum and it was mysteriously deleted the next day.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10222</link>
<pubDate>Thu, 16 Aug 2007 15:11:49 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10222@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Feel free to play with page load times:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.dreamhosters.com/forums/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.dreamhosters.com/forums/&#60;/a&#62;&#60;br /&#62;
vs.&#60;br /&#62;
&#60;a href=&#34;http://bbpress.dreamhosters.com/smf/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.dreamhosters.com/smf/&#60;/a&#62;&#60;br /&#62;
The server is absolutely crawling right now so it's a great time to see how bad each one is. With &#34;fastload&#34; bbpress is respectable against smf.&#60;/p&#62;
&#60;p&#62;I've unblocked the hidden bb-benchmarks so any user can see them if you do a view source and scroll to the bottom if you want to see all the stats.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10221</link>
<pubDate>Thu, 16 Aug 2007 15:10:46 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">10221@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#38;gt; I have this clever little idea to trick dreamhost by storing the &#34;fastload&#34; plugins and includes as mysql blobs and using eval. Their mysql stays consistently fast.&#60;/p&#62;
&#60;p&#62;Eeeek!&#60;/p&#62;
&#60;p&#62;Let us know how that goes, I've never found any aspect of Dreamhost &#34;fast&#34;, cheap - yes, roomy - yes, fast - no.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10220</link>
<pubDate>Thu, 16 Aug 2007 15:03:09 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10220@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Yeah I've seem some really interesting hosting methods by running bbpress on several cheap shared hosts just to see how it behaves.&#60;/p&#62;
&#60;p&#62;SMF still freaks me out though. Then again they have like 5 years of development or much more if you include YaBB experience.&#60;/p&#62;
&#60;p&#62;I have this clever little idea to trick dreamhost by storing the &#34;fastload&#34; plugins and includes as mysql blobs and using eval.  Their mysql stays consistently fast.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10219</link>
<pubDate>Thu, 16 Aug 2007 15:02:40 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">10219@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You could probably drop the deprecated functions altogether. Would save a few milliseconds.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10218</link>
<pubDate>Thu, 16 Aug 2007 14:59:16 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">10218@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;File system hits are particularly bad on Dreamhost because from what I can tell the user home directories are actually based on file servers that are separate to the machine running apache.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10217</link>
<pubDate>Thu, 16 Aug 2007 14:56:29 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10217@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've reduced the number of files included to:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;=== executed files ===
/index.php : 0.44 Kb
/bb-load.php : 0.46 Kb
/config.php : 2.28 Kb
/bb-settings.php : 7.49 Kb
/bb-includes/db-mysqli.php : 12.77 Kb
/my-plugins/fastload-includes.php : 298.75 Kb
/my-plugins/fastload-plugins.php : 93.66 Kb
/bb-includes/pluggable.php : 8.86 Kb
/bb-includes/locale.php : 6.91 Kb
/bb-templates/kakumei/front-page.php : 3.03 Kb
/bb-templates/kakumei/header.php : 1.6 Kb
/bb-templates/kakumei/logged-in.php : 0.21 Kb
/bb-templates/kakumei/footer.php : 1.13 Kb
==================================================&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;With a little work I could make pluggable &#38;#38; locale include properly too.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10216</link>
<pubDate>Thu, 16 Aug 2007 14:54:12 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">10216@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;SMF is even smaller than that because a lot of the content in those files is comments.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10215</link>
<pubDate>Thu, 16 Aug 2007 14:53:34 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10215@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well every millisecond on the output does matter and the reasons you listed are very valid, but on heavily loaded servers, I have to believe the biggest weakness is the sheer number of files that have to seek and load. If they aren't in the server's file cache (dreamhost might have 1000 virtual hosts per node or more) that can cause long delays. Even if using an opcode cache, the cache still has to check the file date/size in the OS before it allows execution.&#60;/p&#62;
&#60;p&#62;But even bbpress's output template requires 3+ files to be included. SMF does it entirely differently in one single file.&#60;/p&#62;
&#60;p&#62;I've built a prototype &#34;fastload&#34; plugin that concatinates two pools of files:&#60;br /&#62;
1.  includes (except a few outside the general block in bb-settings)&#60;br /&#62;
2. all plugins&#60;/p&#62;
&#60;p&#62;It actually works to some degree to speed things up on dreamhost when they are are at insane loads.&#60;/p&#62;
&#60;p&#62;By reducing the number of files to seek from 40 to less than 10 the page load times are much better.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10212</link>
<pubDate>Thu, 16 Aug 2007 14:44:57 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">10212@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Here are a couple of other reasons why SMF might be faster.&#60;/p&#62;
&#60;p&#62;* SMF doesn't use php-gettext for translation, it uses an array of text that can be replaced. This method approaches the speed of a native gettext implementation.&#60;/p&#62;
&#60;p&#62;* bbPress has a lot of functions to register.&#60;/p&#62;
&#60;p&#62;* SMF has (auto-detecting) built in support for memcached, eAccelerator, MMCache, AlternativePHP Cache and the Zend Optimiser&#60;/p&#62;
&#60;p&#62;* Most (all?) of SMF is written inside PHP, i.e. the HTML is in strings that are echoed out of PHP, this is slightly quicker than dropping in and out of PHP to output to the browser.&#60;/p&#62;
&#60;p&#62;* Many bbPress plugins don't need to load on every page, they could start with some sort of conditional that requests the current bbPress location and then just send a &#34;return&#34; when they aren't required.&#60;/p&#62;
&#60;p&#62;That's all I can think of after a quick look.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10209</link>
<pubDate>Thu, 16 Aug 2007 11:52:29 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10209@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Ah, here's SMF's secret against bbPress - sheer number of files + size.&#60;/p&#62;
&#60;p&#62;This definitely makes me want to go ahead with making a &#34;quick loader&#34; that will concat all the includes and then all the plugins as two blobs that can be either loaded from disk or mysql at user discretion based on the weakness of their shared server:&#60;/p&#62;
&#60;p&#62;Front pages compared:&#60;br /&#62;
(keep in mind SMF actually has even more features than the dozen plugins loaded with bbPress, online user tracker, etc)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;SMF 1.1.3
files for front page: 8 files, 338.45 Kb

index.php : 14.31 Kb
Settings.php : 3.71 Kb
Sources/QueryString.php : 18.84 Kb
Sources/Subs.php : 132.37 Kb
Sources/Errors.php : 15.94 Kb
Sources/Load.php : 92.47 Kb
Sources/Security.php : 29.88 Kb
Sources/MessageIndex.php : 30.93 Kb
=====================================================&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;`&#60;br /&#62;
bbPress 0.8.3 alpha&#60;br /&#62;
files for front page: 40 files, 437.15 Kb&#60;/p&#62;
&#60;p&#62;index.php : 0.44 Kb&#60;br /&#62;
bb-load.php : 0.46 Kb&#60;br /&#62;
config.php : 2.28 Kb&#60;br /&#62;
bb-settings.php : 7.14 Kb&#60;br /&#62;
bb-includes/db-mysqli.php : 12.77 Kb&#60;br /&#62;
bb-includes/functions.php : 71.73 Kb&#60;br /&#62;
bb-includes/wp-classes.php : 3.37 Kb&#60;br /&#62;
bb-includes/classes.php : 37.98 Kb&#60;br /&#62;
bb-includes/formatting-functions.php : 8.73 Kb&#60;br /&#62;
bb-includes/template-functions.php : 59.12 Kb&#60;br /&#62;
bb-includes/capabilities.php : 13.15 Kb&#60;br /&#62;
bb-includes/cache.php : 8.52 Kb&#60;br /&#62;
bb-includes/deprecated.php : 8.17 Kb&#60;br /&#62;
bb-includes/wp-functions.php : 36.06 Kb&#60;br /&#62;
bb-includes/kses.php : 17.65 Kb&#60;br /&#62;
bb-includes/l10n.php : 1.76 Kb&#60;br /&#62;
bb-includes/bozo.php : 10.1 Kb&#60;br /&#62;
bb-includes/akismet.php : 8.14 Kb&#60;br /&#62;
bb-includes/default-filters.php : 4.45 Kb&#60;br /&#62;
bb-includes/script-loader.php : 9.2 Kb&#60;br /&#62;
bb-includes/compat.php : 0.57 Kb&#60;br /&#62;
my-plugins/_bb-benchmark.php : 4.79 Kb&#60;br /&#62;
my-plugins/_cookie-year.php : 0.92 Kb&#60;br /&#62;
my-plugins/bb-polls.php : 21.04 Kb&#60;br /&#62;
my-plugins/bb-signatures.php : 11.52 Kb&#60;br /&#62;
my-plugins/report-post.php : 3.92 Kb&#60;br /&#62;
my-plugins/user-topics-to-favorites.php : 0.59 Kb&#60;br /&#62;
my-plugins/bb-topic-views.php : 5.91 Kb&#60;br /&#62;
my-plugins/my-views.php : 10.13 Kb&#60;br /&#62;
my-plugins/notification.php : 2.26 Kb&#60;br /&#62;
my-plugins/my-views-started-participated-topics.php : 1.52 Kb&#60;br /&#62;
my-plugins/my-views-most-least-views.php : 2.7 Kb&#60;br /&#62;
my-plugins/plugin-browser.php : 21.72 Kb&#60;br /&#62;
my-plugins/my-views-installed-available-plugins.php : 6.61 Kb&#60;br /&#62;
bb-includes/pluggable.php : 8.86 Kb&#60;br /&#62;
bb-includes/locale.php : 6.91 Kb&#60;br /&#62;
bb-templates/kakumei/front-page.php : 3.03 Kb&#60;br /&#62;
bb-templates/kakumei/header.php : 1.6 Kb&#60;br /&#62;
bb-templates/kakumei/logged-in.php : 0.21 Kb&#60;br /&#62;
bb-templates/kakumei/footer.php : 1.13 Kb&#60;br /&#62;
=====================================================&#60;br /&#62;
&#60;code&#62;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10207</link>
<pubDate>Thu, 16 Aug 2007 08:39:17 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10207@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I just installed SMF on the my dreamhost account next to bbpress.&#60;/p&#62;
&#60;p&#62;SMF blows away bbpress's performance, every time.&#60;/p&#62;
&#60;p&#62;I have to investigate how the heck they do that. It feels like they are using partial page caching but their performance stats say they are using the same number of queries.&#60;/p&#62;
&#60;p&#62;Then again I know bbpress's weakness is not the queries, it's all those plugins getting included and then firing up when the filters/actions first trigger.&#60;/p&#62;
&#60;p&#62;Bugs the heck out of me. bbPress should be as fast!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10204</link>
<pubDate>Thu, 16 Aug 2007 06:02:46 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10204@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;eaccellerator and xcache are derived from the same original core - eaccellerator is a tad slower than both xcache and apc, but it also has the fewest problems and fewest incompatibilities compared to both. I believe it also has several people working on it, unlike xcache which means the project doesn't grind to a halt when one person becomes distracted. No opcode cache project can in theory leapfrog in performance over another, it's just little tweaks here and there.&#60;/p&#62;
&#60;p&#62;The big secret is replacing Apache with LiteSpeed or if you really have alot of time on your hands and don't need virtual hosts, Lighttpd. Apache is very inefficient, especially running PHP.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10195</link>
<pubDate>Wed, 15 Aug 2007 17:48:01 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10195@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sweet stats there.... I'm still working on trimming some time off the page loads.&#60;/p&#62;
&#60;p&#62;Yeah, MediaTemple's best dedicated virtual server is $150 / month, and that's what I'm using. I don't pay that much because I'm in their partner program, but I wouldn't mind paying it to make sure that my site is fast enough. &#60;/p&#62;
&#60;p&#62;I'm really quite happy with them.&#60;/p&#62;
&#60;p&#62;I'll be very interested to see what you come up with on the eaccellerator front... I've been considering switching from xcache to that.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10192</link>
<pubDate>Wed, 15 Aug 2007 16:12:29 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10192@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;That's exactly right about Dreamhost.&#60;br /&#62;
I am working on a technique to try to load all the bbpress includes and plugins directly from the eaccelerator memcache instead of seeking on the disk first to check if they have changed (and just let the mysql plugins registry manage that). &#60;/p&#62;
&#60;p&#62;I suspect I can eliminate the 400ms lag if I can pull that off. Not an easy feat though. Requires a replacement bb-settings.php&#60;/p&#62;
&#60;p&#62;Oh and you're probably paying per month  for your dedicated what I pay per year for my VPS (I've migrated twice to get better neighbors):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;=== benchmark &#38;#38; query results === 

 12:08:28 up 25 days,  3:37,  0 users,  load average: 0.07, 0.04, 0.00

total page time: 0.045 seconds.

time to reach each section:
   bb_underscore_plugins_loaded =  0.005
   bb-polls.php loaded =  0.005
   bb-signatures.php loaded =  0.005
   report-post.php loaded =  0.006
   my-views.php loaded =  0.006
   bb-topic-views.php loaded =  0.006
   user-topics-to-favorites.php loaded =  0.006
   admin-post-anything.php loaded =  0.006
   tweaks.php loaded =  0.006
   my-views-most-least-views.php loaded =  0.007
   my-views-started-participated-topics.php loaded =  0.008
   my-views-installed-available-plugins.php loaded =  0.008
   ignore-member.php loaded =  0.009
   bb_plugins_loaded =  0.009
   bb_init =  0.011
   bb_index.php_pre_db =  0.011
   bb_index.php =  0.016
   front-page.php =  0.016
   header.php =  0.017
   logged-in.php =  0.018
   footer.php =  0.045

time to render page: 0.0429 seconds (query time subtracted)

total query count: 12 

total query time: 0.0021 seconds 

slowest call was # 1 : 0.0005 seconds
SELECT * FROM bb_forums LIMIT 1 server:dbh_local connect: 0.38ms&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>HowToGeek on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10190</link>
<pubDate>Wed, 15 Aug 2007 14:39:36 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10190@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;With dreamhost, it really depends on what server you end up on, and what time of the day. If you are lucky enough to get on a decent server without too many others, then you'll have fast performance, or at least tolerable.&#60;/p&#62;
&#60;p&#62;I couldn't live without the VPS... and to answer your question way above somewhere, it's 1GB dedicated. Mediatemple is great.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10184</link>
<pubDate>Wed, 15 Aug 2007 05:20:23 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10184@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Yeah dreamhost certainly does suck. I just have a $20 per year promo account that I completely forgot about until recently when I wanted to test bbpress on various hosts (I'm looking for other super cheap hosts to try it on if you know of any, especially pay-as-you go like nearlyfreespeech.net)&#60;/p&#62;
&#60;p&#62;What's really strange is that some other forum software works MUCH faster on dreamhost and I am trying to figure out why. Take a look at WP plugin author GamerZ's  SMF (simple machines forum, evolved from YaBB) which is on another Dreamhost node:&#60;br /&#62;
&#60;a href=&#34;http://forums.lesterchan.net&#34; rel=&#34;nofollow&#34;&#62;http://forums.lesterchan.net&#60;/a&#62;&#60;br /&#62;
It's incredibly responsive. Not even running an opcode cache. Of course SMF has half a decade of development behind it, but still, it's impressive. I suspect they use partial page caching somehow. Meanwhile &#60;a href=&#34;http://lesterchan.net/&#34;&#62;GamerZ's WP blog&#60;/a&#62; running on the same account, crawls at times.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10183</link>
<pubDate>Wed, 15 Aug 2007 03:47:16 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10183@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for that... good thought.&#60;/p&#62;
&#60;p&#62;I changed it to ob_start(null,8192) instead of using the 4096 value you were using in the plugin. I noticed that when I had it set to 4096, I was still getting the really slow page render time for some reason, but 8192 works perfectly.&#60;/p&#62;
&#60;p&#62;I think I've mentioned it before, but you rule =)&#60;/p&#62;
&#60;p&#62;Oh, and dreamhost sucks.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10182</link>
<pubDate>Wed, 15 Aug 2007 02:25:56 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">10182@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Note that microtime is off by at least 15ms on every call by nature, sometimes more depending what the cpu is doing and if you have a multiple core cpu. Sometimes the core clocks can be out of sync! (This is the problem on Dreamhost I believe)&#60;/p&#62;
&#60;p&#62;By the way, make sure you notice the new benchmark.php starts with an underscore and delete the old one. But if you are done benchmarking you should delete it altogether or the underscore version will auto-load. The underscore was necessary so it could time the other benchmarks as it loaded before it.&#60;/p&#62;
&#60;p&#62;It's well known in any programming language that constant little echos to the output are much less efficient than buffering and outputting it all at the end. So that's something like what you were running into.&#60;/p&#62;
&#60;p&#62;If you use ob_start permanently, make sure you add the second optional chunked output option so the visitor gets periodic output from it, otherwise they won't see anything until the entire page is flushed. Visually (and mentally) it's more rewarding to start seeing some kind of page render the moment you click on something.&#60;/p&#62;
&#60;p&#62;(my bb-gzip plugin enforces the chunked output option if you want to see it in action - note that certain server options will de-chunk the output however and ruin the effect like mod_gzip and most proxy caches like squid)
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10180</link>
<pubDate>Tue, 14 Aug 2007 23:23:59 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10180@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I think I figured it out...  I added my own timing mechanism to virtually every line of code on the front page, and noticed the extra 0.2 seconds was occurring at random places...&#60;/p&#62;
&#60;p&#62;So I put ob_start(); at the beginning of bb-settings.php to turn on output buffering, and now here's the times I get with like 16 plugins installed, logged in as admin with a ton of custom stuff going on and everything is opcached:&#60;/p&#62;
&#60;p&#62;total page time: 0.078 seconds.&#60;br /&#62;
time to reach each section:&#60;br /&#62;
bb_underscore_plugins_loaded = 0.018&#60;br /&#62;
bb_plugins_loaded = 0.021&#60;br /&#62;
bb_init = 0.021&#60;br /&#62;
bb_index.php_pre_db = 0.024&#60;br /&#62;
front-page.php = 0.025&#60;br /&#62;
header.php = 0.025&#60;br /&#62;
logged-in.php = 0.026&#60;br /&#62;
search-form.php = 0.035&#60;br /&#62;
footer.php = 0.078&#60;/p&#62;
&#60;p&#62;Now that is more like it!  Now to remove all my logging....&#60;/p&#62;
&#60;p&#62;And thanks for that benchmark plugin... it's great, I can't live without it now =)
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10178</link>
<pubDate>Tue, 14 Aug 2007 22:03:10 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10178@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;After doing some more research, the plugin loading time is virtually instant when you an opcode cache. &#60;/p&#62;
&#60;p&#62;I added separate timestamp logging which shows that all the plugins are loaded at 0.019 but the bb_plugins_loaded action doesn't get fired until 0.1 seconds later.&#60;/p&#62;
&#60;p&#62;bb-benchmark.php loaded = 0.019&#60;br /&#62;
bb_underscore_plugins_loaded = 0.019&#60;br /&#62;
bb_plugins_loaded = 0.102&#60;br /&#62;
bb_init = 0.103&#60;br /&#62;
bb_index.php_pre_db = 0.106&#60;br /&#62;
front-page.php = 0.106&#60;br /&#62;
header.php = 0.107&#60;br /&#62;
logged-in.php = 0.107&#60;br /&#62;
search-form.php = 0.116&#60;br /&#62;
footer.php = 0.302&#60;/p&#62;
&#60;p&#62;The majority of the time is taken between search form and footer.... I'm not sure yet what gets executed between them.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Question about rendering time"</title>
<link>http://bbpress.org/forums/topic/question-about-rendering-time#post-10177</link>
<pubDate>Tue, 14 Aug 2007 21:09:28 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10177@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This is interesting... because bbpress loads the plugins in order, the bb-benchmark plugin is getting loaded nearly last on my system, so I only see the output from the onlinelist plugin.&#60;/p&#62;
&#60;p&#62;It looks like the vast majority of the execution time is before the plugins even get loaded.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
