Skip to content

The benchmark code to go with the "Speed Up Your React Server With These 6 Weird Tricks" talk

Notifications You must be signed in to change notification settings

aickin/react-server-perf-tricks

Repository files navigation

react-server-perf-tricks

This repo contains the code for the benchmark used in my talk "Speed Up Your React Server With These 6 Weird Tricks".

YouTube: Speed Up Your React Server With These 6 Weird Tricks

In the talk, I presented a small ReactJS benchmark, and I edited the code in stages to improve the benchmark performance. All 7 versions of the code are present in this repo as different branches, from stage-0 (no optimizations at all) to stage-6 (all optimizations from the talk applied). Note that each stage includes the tricks from the previous stages.

How to install

git clone https://github.com/aickin/react-server-perf-tricks.git
npm install

How to run

Checkout the stage you want to run and then type npm run benchmark. For example, if you want to run stage 3 (Babel Transforms):

git checkout stage-3
npm run benchmark

About

The benchmark code to go with the "Speed Up Your React Server With These 6 Weird Tricks" talk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published