***********************************************************
* Benchmark code is in compliance with JDK 1.5 or later
***********************************************************

The Benchmark example exercises a combination of space/map operations, for various scenarios into/from
the space/local-cache with various object types.

Under the bin folder, there are several run scripts.

The runTestEmb script will execute write, read and take operations using Space API on an embedded Space.
To use Map API (put, get , remove), add -map

For a remote Space example, run the startAll script which starts a Space instance called benchmarkSpace.
Then run the benchmark runTest script which will perform operations against the remote Space.
It is configured with the following options: -i 50000 -s 1000  -clean -showrate 5000 -all -pause -exit
i.e. run 50,000 iterations with a payload of 1K, with throughput displayed on each cycle.

To control more benchmark options, use the run.{bat/sh} script with the -h (help) arguments.
Please refer to the manual for more information:
https://docs.gigaspaces.com/14.2/admin/benchmark-utility-cli.html

The run-benchmark-ui script is a graphical interface for executing the options and visualizing the results.