Skip to content

ewguo/1brc

 
 

Repository files navigation

1BRC: One Billion Row Challenge in PHP

PHP implementation of Gunnar's 1 billion row challenge:

I wrote a blog post about the story that led to this version: Processing One Billion Rows in PHP!

Usage

make average
# or
php createMeasurements.php 1000000000
php -d extension=parallel calculateAverage.php > average.txt

Requirements

This solutions requires a ZTS build of PHP and ext-parallel to be installed for that PHP version.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.4%
  • Makefile 0.6%