Let's create one million posts to see the performance of a Wordpress site.
The purpose of this document is to find out what is the underlying data that gets modified in a wordpress database when a post with an image are created.
| <?php | |
| /** | |
| * @author https://github.com/andrieslouw | |
| * @copyright 2016 | |
| **/ | |
| function cfban($ipaddr){ | |
| $cfheaders = array( | |
| 'Content-Type: application/json', | |
| 'X-Auth-Email: [email protected]', |
| // >>> DatHost Competitive Config 0.1 <<< // | |
| // Reset from Practice to Competitive | |
| sv_cheats "false" // Disable cheats | |
| mp_ct_default_grenades "" // Spawn CTs without grenades | |
| mp_t_default_grenades "" // Spawn Ts without grenades | |
| sv_showimpacts "0" // Don't show bullet impacts | |
| sv_falldamage_scale "1" // Enable fall damage | |
| sv_full_alltalk "0" // Disable voice chat with anyone |
| class Compression | |
| { | |
| /** | |
| * | |
| * X / Y / Z Meta verilerini barındırır. | |
| * | |
| * @author Ismail <[email protected]> | |
| * | |
| */ | |
| public enum Metadata |
| // Copyright (c) 2016 StagPoint Software | |
| namespace StagPoint.Networking | |
| { | |
| using System; | |
| using UnityEngine; | |
| using UnityEngine.Networking; | |
| /// <summary> | |
| /// Provides some commonly-used functions for transferring compressed data over the network using |
| 💖 __ _____ _ _____ _____ __ _____ _ _ 💖 | |
| 💖 \ \ / / __| | | / _ \ \ / / __| \ \ / / _ \| | | | 💖 | |
| 💖 \ \/\/ /| _| | |_| (_) \ V /| _| \ V / (_) | |_| | 💖 | |
| 💖 \_/\_/ |___| |____\___/ \_/ |___| |_| \___/ \___/ 💖 |
| 🍬 ___ ___ _____ ___ ___ _ _ ___ ___ _ _ 🍬 | |
| 🍬 | _ )/ _ \_ _| | _ ) __| \| / __|/ _ \| \| | 🍬 | |
| 🍬 | _ \ (_) || | | _ \ _|| .` \__ \ (_) | .` | 🍬 | |
| 🍬 |___/\___/ |_| |___/___|_|\_|___/\___/|_|\_| 🍬 |
| sudo apt-get update | |
| sudo apt-get install -y python-pip | |
| sudo apt-get install -y python-dev | |
| sudo apt-get install -y libzmq-dev | |
| sudo pip install virtualenv | |
| virtualenv venv | |
| source venv/bin/activate | |
| pip install locustio | |
| pip install pyzmq |