<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bolt on Ubuntu Tips</title><link>https://ubuntips.com/tags/bolt/</link><description>Recent content in Bolt on Ubuntu Tips</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 24 Nov 2026 20:36:57 +0800</lastBuildDate><atom:link href="https://ubuntips.com/tags/bolt/index.xml" rel="self" type="application/rss+xml"/><item><title>Three php-fpm builds side by side: Sury, clang + BOLT, and everything from source</title><link>https://ubuntips.com/posts/three-php-fpm-builds-package-clang-lean/</link><pubDate>Tue, 24 Nov 2026 20:00:00 +0800</pubDate><guid>https://ubuntips.com/posts/three-php-fpm-builds-package-clang-lean/</guid><description>&lt;p&gt;Two earlier posts on this blog, &lt;a href="https://ubuntips.com/posts/is-a-compiled-php-faster/"&gt;Is a compiled PHP faster?&lt;/a&gt; and &lt;a href="https://ubuntips.com/posts/everything-on-lto-pgo-made-php-slower/"&gt;Everything on: LTO + PGO made PHP slower&lt;/a&gt;, concluded that building PHP yourself buys nothing once the tracing JIT is on. This round says that was wrong, or at least incomplete. Two flaws in my build harness were hiding the gain, and the tool that finds it is one I had never tried: &lt;strong&gt;LLVM BOLT&lt;/strong&gt;.&lt;/p&gt;&#10;&lt;p&gt;Short version: &lt;strong&gt;a php-fpm built with clang, ThinLTO and BOLT serves logged-in XenForo pages 5-10 % faster than Ondřej Surý&amp;rsquo;s package.&lt;/strong&gt; Compiling every library from upstream on top of that (newest OpenSSL, ICU, curl, PCRE2, all static) added nothing I could measure. My setup script now offers all three builds behind one switch, so I can measure them again whenever versions change.&lt;/p&gt;</description></item></channel></rss>