Sha256: 2dfeb053b6113de250825f0ad73161db19e108972c0718346e0c698971cc37dc

Contents?: true

Size: 774 Bytes

Versions: 21

Compression:

Stored size: 774 Bytes

Contents

# Benchmarks

Benchmarks the Spanner ActiveRecord adapter using a small set of standardized use cases. The benchmarks consists of two
separate runs:
* Execute each use case separately and measure the time needed for each use case.
* Batch all use cases together and execute multiple batches in parallel, measuring the time needed to finish all
  batches. The number of batches varies between 1 and 400. The session pool is configured to contain at most 400
  connections.

Change the configuration in the file `config/database.yml` before running the benchmarks. The instance and database in
the configuration must exist. The tables that are needed will automatically be created by the benchmark script.

Run the benchmark with the command

```bash
bundle exec rake run
```

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
activerecord-spanner-adapter-1.6.3 benchmarks/README.md
activerecord-spanner-adapter-1.6.2 benchmarks/README.md
activerecord-spanner-adapter-1.6.1 benchmarks/README.md
activerecord-spanner-adapter-1.6.0 benchmarks/README.md
activerecord-spanner-adapter-1.5.1 benchmarks/README.md
activerecord-spanner-adapter-1.5.0 benchmarks/README.md
activerecord-spanner-adapter-1.4.4 benchmarks/README.md
activerecord-spanner-adapter-1.4.3 benchmarks/README.md
activerecord-spanner-adapter-1.4.2 benchmarks/README.md
activerecord-spanner-adapter-1.4.1 benchmarks/README.md
activerecord-spanner-adapter-1.4.0 benchmarks/README.md
activerecord-spanner-adapter-1.3.1 benchmarks/README.md
activerecord-spanner-adapter-1.2.2 benchmarks/README.md
activerecord-spanner-adapter-1.2.1 benchmarks/README.md
activerecord-spanner-adapter-1.2.0 benchmarks/README.md
activerecord-spanner-adapter-1.1.0 benchmarks/README.md
activerecord-spanner-adapter-1.0.1 benchmarks/README.md
activerecord-spanner-adapter-1.0.0 benchmarks/README.md
activerecord-spanner-adapter-0.7.0 benchmarks/README.md
activerecord-spanner-adapter-0.6.0 benchmarks/README.md