HipHop deployment

HipHop for PHP is a source code transformer.

This page is about Wikimedia-sponsored work on HipHop support in MediaWiki, and its deployment to Wikimedia production wikis.

Roadmap
This work is on hold until the Hip Hop developers make more progress on the Hip Hop Virtual Machine (hhvm)

Below are items archived from the 2011-2 Roadmap document:
 * preparation
 * Create HipHop instance that includes a full production image
 * run CI tests on HipHop as well as Zend
 * push further necessary fixes into the detail plan
 * possibly break out parsing from rest of MediaWiki

Additional documents

 * User requirements:
 * Specifications:
 * Software design document:
 * Test plan:
 * Documentation plan:
 * User interface design docs:
 * Schedule:
 * Task management:
 * Release management plan:
 * Communications plan:
 * Status updates

To do
These tasks are available for anyone to work on:


 * Output compression is broken for large pages. Binary garbage is displayed. Isolate and report upstream.
 * Preview is broken, the server aborts when $wgParser->parse is called from EditPage::getPreviewText. Isolate and report upstream.
 * Make the PHPUnit tests work.
 * Test all core special pages and other core features.
 * Fix any extensions that you are interested in.
 * Fix the notices and warnings that HipHop generates at runtime, as far as possible.
 * Benchmarking & profiling:
 * Benchmark the CPU usage of various kinds of requests, comparing HipHop with Zend.
 * Profile CPU usage in HipHop and identify targets for optimisation.
 * Maybe look at using xhprof
 * See also the tracking bug (40926)

Further links

 * meeting notes from May 2013