<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>stripShow &#187; Bugs</title>
	<atom:link href="http://stripshow.monkeylaw.org/category/bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://stripshow.monkeylaw.org</link>
	<description>Webcomics plugin for WordPress</description>
	<lastBuildDate>Fri, 06 May 2011 16:01:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Slow performance under PHP 5</title>
		<link>http://stripshow.monkeylaw.org/2008/07/16/slow-performance-under-php-5/</link>
		<comments>http://stripshow.monkeylaw.org/2008/07/16/slow-performance-under-php-5/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 16:36:39 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Bugs]]></category>

		<guid isPermaLink="false">http://stripshow.monkeylaw.org/2008/07/16/slow-performance-under-php-5/</guid>
		<description><![CDATA[OK, so I&#8217;ve been neglecting PHP 5 for a while, and only recently updated a few of my sites to run on it. When I did, I found a problem you might run into with stripShow. If you have a lot of strips and storylines, you may see a serious performance hit under PHP 5 [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so I&#8217;ve been neglecting PHP 5 for a while, and only recently updated a few of my sites to run on it. When I did, I found a problem you might run into with stripShow.</p>
<p>If you have a lot of strips and storylines, you may see a serious performance hit under PHP 5 &#8212; this is the result of a quirk in the strtotime() function. It is looking up the default timezone for your site, and that takes a moment &#8212; it&#8217;s doing that several times for each strip, multiplied by each storyline. The delay on my own site added up to about 14 seconds!</p>
<p>There is a solution. It only lags if the default timezone is not set on your PHP site. This is a known issue with PHP 5, and can be read about <a href="http://bugs.php.net/bug.php?id=40363">here</a>.</p>
<p>For the next version of stripShow (which will be 1.6.1, a bug fix release) I&#8217;m removing the references to strtotime() from storyline initialization, as I&#8217;ve discovered they&#8217;re not necessary anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://stripshow.monkeylaw.org/2008/07/16/slow-performance-under-php-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

