/eth-provider-benchmark

Compare the accuracy and consistency of Ethereum service providers head to head on a suite of tests.

Primary LanguagePythonMIT LicenseMIT

Benchmark of Ethereum Service Providers

This benchmark allows you to compare the accuracy and consistency of Ethereum service providers, including Alchemy, Infura and CloudFlare, head to head on a suite of tests.

Installation

Be sure you have the latest version of Python3, then activate a virtual environment with the needed dependencies by running:

bash setup.sh
source env/bin/activate

Usage

To see the paramaters needed to invoke the tests, use:

python3 provider_benchmark.py -h

Each test that you run is repeated 457 times, with a 5 second delay, but you can edit these paraterms in config.py

Contributing

We are constantly working on adding new tests, so stay tuned for updates! Feel free to add more extensive tests and other providers as you see fit.