Based on this challenge https://github.com/gunnarmorling/1brc
for i in {1..200}; do cat measurements-5000000.txt >> measurements.txt; done;
composer install -o
php challenge.php
Test 1:
- Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz
- OS: Ubuntu 22
- PHP: PHP 8.1
- Time: 2.22 m
Test 2:
- Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz
- OS: Ubuntu 24
- PHP: PHP 8.3
- Time: 3.38 m