php-vs-react

Not really PHP vs React, but, some kind of dumb Apples-ish vs Apples-ish comparison

Stars
6

RSCs vs All Comers

Running

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:

NextJS 13.4 App Router

% cd app-router-test
% pnpm i
% pnpm build
% pnpm start

Test: http://locahost:3001/

NextJS 13.4 Pages

% cd pages-test
% pnpm i
% pnpm build
% pnpm start

Test: http://locahost:3000/

PHP

cd php-test
php -S localhost:8000

Test: http://locahost:8000/

Rails

cd rails-test
bundle install
bundle exec rails s

Test: http://locahost:3000/

Testing

Install oha and run:

oha -n 100 [test URL]