Building an Optimized PHP Build process on Windows (Part IV)

Previously, I had discussed what it took to use PGO on the Windows PHP build. The lead to me building automated build scripts… Automation as the root of all evil "Anything that can be done for you, automatically, can be done to you, automatically." – David C. Wyland First, I had to get the entire…

0

Crafting an Optimized PHP Build Process on Windows (Part III)

Previously, I had talked about using PGO in the PHP build process. In order to use it I had to observe… The Heisenberg build process “A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.” – The First law of Mentat,…

0

Crafting an Optimized PHP Build Process on Windows (part II)

I had talked about getting started in building the PHP stack last time, now I’m taking it… One step further "We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." – Donald Knuth A chance conversation I had last summer at OSCON with Trent Nelson—who…

0

Crafting an Optimized PHP Build Process on Windows (Part I)

The last several months, I’ve been working very deeply with PHP—specifically—compiling the PHP core itself, and looking for avenues for optimization. This is the first of four posts about the journey I’ve been on with PHP. I get started building PHP "It is a bad plan that admits of no modification" – Publilius Syrus I…

0

Using JScript as a batch scripting language (Part III)

Now that I’ve shown how to build a cool .Format() method for strings, we can put it to good use in a lot of places. In batch scripting, it’s really nice to be able to make nearly every call support replacement arguments in a consistent fashion. In cmd.exe batch scripts, we use %var% all over…

1

PHP on Windows Optimized build—Thread Safe version too!

I’ve just finished tweakin’ out the PGO (Profiled Guided Optimization) build script for PHP on Windows to crank out the thread-safe version of PHP as well. So, now you can test PHP 5.3 RC3-dev PGO optimized for Windows with Apache 2.2! What’s the difference between thread-safe and non-thread-safe? The non-thread-safe version of PHP should be…

1

Using JScript as a batch scripting language (Part II)

Last time, I wrote about synthesizing an #include facility along with handling environment variables in a trivial way. This time, let’s look at filling in a couple more gaps in JScript’s basic scripting functionality. What’s wrong with String? The String class in JavaScript/JScript is … ok. If you work in .NET enough, you’ll eventually get…

2

Using JScript as a batch scripting language (Part I)

As I mentioned a few days ago, I chose JScript to script of the optimized PHP build process that I’ve built. JScript in-box on pretty much every modern Windows operating system, and provides a great deal of flexibility and benefits for a scripting language: – it’s syntax is C like. Very tasty. – it gives…

1

PHP 5.3 RC2 *Highly-Optimized* for Windows available

Howdy, I’ve been working for many months with Pierre Joye—well really, many people in the PHP community–on getting PHP to run faster on Windows. Pierre has been working rapidly on upgrading libraries (Pierre pioneered the work to get PHP and its hoard of dependent libraries updated and properly compiling on Windows), replacing old POSIX-emulation code…

2