This directory contains a benchmarking suite for the Fuse client library. To run it, ensure that you have a Fuse server running on localhost:8080, then run the following command from the root of this repository:
See below for how to run a Fuse server on
localhost:8080
make run-bench
The Fuse server is packaged as a Docker container, and pushed to the DeclareData GitHub package repository.
To run it on your local machine, you need to have Docker installed. If you don't have Docker installed, see instructions for how to do so here. Assuming you do have Docker installed, run the Fuse server with the following command (from the root of this repository):
make run-fuseThis command runs the Fuse server with some default settings. You can customize it by setting the following environment variables:
FUSE_FOLLOW_LOGS- Set totrueto follow the logs of the Fuse server as it runs. Default isfalse.- If you set this to
true, logs will stream in your terminal window and never exit until you pressctrl+c. Doing so will not stop the server, however.
- If you set this to
FUSE_PLATFORM- The Fuse server is built forlinux/amd64andlinux/arm64. This variable lets you specify which platform to run the server on. Default islinux/amd64.
The above command will start the Fuse server on localhost:8080. Since the server listens for requests forever, it won't exit unless you force it to. Run the benchmarking suite (described above) in a new terminal window.