Not really PHP vs React, but, some kind of dumb Apples-ish vs Apples-ish comparison
First run the data server:
% cd data
% binserve
This will serve the pokemon data on port 8080. You can use binserve or any other fast static server.
Then run one of the following:
% cd app-router-test
% pnpm i
% pnpm build
% pnpm start
Test: http://locahost:3001/
% cd pages-test
% pnpm i
% pnpm build
% pnpm start
Test: http://locahost:3000/
cd php-test
php -S localhost:8000
Test: http://locahost:8000/
cd rails-test
bundle install
bundle exec rails s
Test: http://locahost:3000/
Install oha and run:
oha -n 100 [test URL]