| 12 | |
| 13 | p.s. Here are some numbers from Query Monitor comparing the current BP master to the proposed changes in the most recent patch. THis is the reults of loading the members directory with a user that has 424 friendships (a mix of initiator and recipient, some confirmed, some not). The cache round trips are much fewer. |
| 14 | |
| 15 | '''Master branch''' |
| 16 | Page generation time 0.5668 |
| 17 | 1.9% of 30s limit |
| 18 | |
| 19 | Peak memory usage 30,915 kB |
| 20 | 23.6% of 131,072 kB limit |
| 21 | |
| 22 | Database query time 0.1740 |
| 23 | Database queries Total: 51 |
| 24 | |
| 25 | Object cache 95.5% hit rate (17,055 hits, 812 misses) |
| 26 | External object cache not in use |
| 27 | |
| 28 | |
| 29 | '''With above changes''' |
| 30 | Page generation time 0.5748 |
| 31 | 1.9% of 30s limit |
| 32 | |
| 33 | Peak memory usage 30,950 kB |
| 34 | 23.6% of 131,072 kB limit |
| 35 | |
| 36 | Database query time 0.1811 |
| 37 | Database queries Total: 50 |
| 38 | |
| 39 | Object cache 69.2% hit rate (1,869 hits, 832 misses) |
| 40 | External object cache not in use |