<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[阿Tim日志]]></title> 
<link>https://atim.cn/index.php</link> 
<description><![CDATA[专业的php开发者.开发团队的带队人]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[阿Tim日志]]></copyright>
<item>
<link>https://atim.cn/post//</link>
<title><![CDATA[php8-jit 测试]]></title> 
<author>bkkkd &lt;partybase@gmail.com&gt;</author>
<category><![CDATA[有感而发]]></category>
<pubDate>Mon, 27 Apr 2020 01:29:54 +0000</pubDate> 
<guid>https://atim.cn/post//</guid> 
<description>
<![CDATA[ 
	续上一篇日志< <a href="https://atim.cn/post/1132/" target="_blank">c,golang,java,php,nodejs,python,pypy运算速度粗焅比较</a>><br/>看到网上已经有人在测试php8,就尝试使用php8运行一下LangTest的代码.<br/>使用了docker来运行<br/><div class="code"><br/>docker run --rm -it &#92;<br/>&nbsp;&nbsp;&nbsp;&nbsp;-v /data/code/LangTest/php:/var/www/html &#92;<br/>&nbsp;&nbsp;&nbsp;&nbsp;-w /var/www/html &#92;<br/>&nbsp;&nbsp;&nbsp;&nbsp; keinos/php8-jit&nbsp;&nbsp;&#92;<br/>&nbsp;&nbsp;&nbsp;&nbsp; ./run.sh<br/></div><br/><br/>php8-jit<br/><div class="code"><br/>run php<br/>end i:1000000000 count:499999999500000000 time:2.9510369300842<br/></div><br/><br/>php7.2<br/><div class="code"><br/>run php<br/>end i:1000000000 count:499999999500000000 time:26.515455007553<br/></div><br/>相对于php7.2快了差不多<span style="color: #FF0000;">9倍</span>了.<br/><br/>但和c, java, golang等还差得很远.<br/>
]]>
</description>
</item><item>
<link>https://atim.cn/post//#blogcomment</link>
<title><![CDATA[[评论] php8-jit 测试]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://atim.cn/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>