Skip to content

Commit 7d1b506

Browse files
committed
change
1 parent ec867f2 commit 7d1b506

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

README.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ or standalone
2323
```sh
2424
git clone https://github.com/krowinski/php-mysql-replication.git
2525

26-
composer install
26+
composer install -o
2727
```
2828

2929
MySQL server settings
@@ -84,7 +84,7 @@ Available options:
8484

8585
'databasesOnly' - array to only listen on given databases (default all databases)
8686

87-
'tableCacheSize' - some data are collected from information schema, this data is cached. This variable set cache for tables bigger takes more memory. (default 128 objects)
87+
'tableCacheSize' - some data are collected from information schema, this data is cached.
8888

8989
'custom' - if some params must be set in extended/implemented own classes
9090

@@ -337,29 +337,30 @@ Benchmarks
337337
=========
338338
Tested on VM
339339

340-
Debian 8.3
341-
PHP 5.6.17
342-
MySQL 5.6.29-76.2-log Percona Server
340+
Debian 8.7
341+
PHP 5.6.30
342+
Percona 5.6.35
343343

344-
```
344+
```sh
345345
inxi
346346
```
347-
CPU~Dual core Intel Core i5-2500K (-MCP-) clocked at 3701 Mhz Kernel~3.16.0-4-amd64 x86_64 Up~2 days Mem~1170.9/3952.4MB HDD~41.9GB(15.2% used) Procs~119 Client~Shell inxi~2.1.28
347+
348+
CPU(s)~4 Single core Intel Core i5-2500Ks (-SMP-) clocked at 5901 Mhz Kernel~3.16.0-4-amd64 x86_64 Up~1 day Mem~1340.3/1996.9MB HDD~41.9GB(27.7% used) Procs~122 Client~Shell inxi~2.1.28
348349

349350
```sh
350351
php example/benchmark.php
351352
```
352353
Start insert data
353-
6531 event by seconds (1000 total)
354-
6665 event by seconds (2000 total)
355-
6674 event by seconds (3000 total)
356-
6535 event by seconds (4000 total)
357-
6555 event by seconds (5000 total)
358-
6615 event by seconds (6000 total)
359-
6619 event by seconds (7000 total)
360-
6660 event by seconds (8000 total)
361-
6666 event by seconds (9000 total)
362-
6701 event by seconds (10000 total)
363-
6696 event by seconds (11000 total)
364-
6704 event by seconds (12000 total)
354+
7442 event by seconds (1000 total)
355+
7679 event by seconds (2000 total)
356+
7914 event by seconds (3000 total)
357+
7904 event by seconds (4000 total)
358+
7965 event by seconds (5000 total)
359+
8006 event by seconds (6000 total)
360+
8048 event by seconds (7000 total)
361+
8038 event by seconds (8000 total)
362+
8040 event by seconds (9000 total)
363+
8055 event by seconds (10000 total)
364+
8058 event by seconds (11000 total)
365+
8071 event by seconds (12000 total)
365366

0 commit comments

Comments
 (0)