An open API service indexing awesome lists of open source software.

https://github.com/cebe/yii2-activerecord-benchmark

A benchmark to test yii active record performance for different backends
https://github.com/cebe/yii2-activerecord-benchmark

Last synced: about 1 year ago
JSON representation

A benchmark to test yii active record performance for different backends

Awesome Lists containing this project

README

          

Yii2 ActiveRecord benchmark
===========================

This is a benchmark to test [Yii2](https://github.com/yiisoft/yii2) ActiveRecord performance for different database backends.

How to use
----------

Clone this repo:
```sh
git clone https://github.com/cebe/yii2-activerecord-benchmark
cd yii2-activerecord-benchmark
```

Install dependencies via [composer](http://getcomposer.org/download/):
```php
composer.phar install
```

Adjust settings in `config.php` and configure your databases.

Run benchmark with
```php
./yii benchmark
```

Wait for the results :-)