First, follow the installation instructions to set up the Relay extension for PHP.
Next, either try the Laravel, WordPress or Magento integrations.
Alternatively, grab the Composer package and run the benchmarks:
composer require cachewerk/relay
First set the REDIS_HOST
and REDIS_PORT
in the phpbench.json
, then run the benchmarks:
composer run bench
composer run bench:verbose
Note: While we're huge fans of New Relic, having the APM agent enabled will significantly slow down Relay and skew the benchmarks.