Skip to content

danielgusmao/wordpress-speedtest

 
 

Repository files navigation

WordPress Speedtest

WordPress speedtest with Sqlite3 on PHP-CLI. You only have to unpack it on a VPS or a shared hosting account with SSH access.

Video on competing with Amazon

Results

Description CPU PHP msec stable*
Private Layer / 4 Cores @ 3.0 GHz Intel X5675 5.6 145 [✓]
UpCloud / in Frankfurt ⏰ Intel E5-2687W v3 5.6 115 [✓]
Liquid Web / Storm VPS 1GB Intel E3-1271 v3 5.6 94 [✓]
Digital Ocean Intel E5-2630L v2 5.6 195 [✓]
Linode / KVM ⏰ Intel E5-2680 v3 5.6 180 [ ]
Virtualbox on my PC AMD FX-6300 5.4 219 [✓]
RunAbove by OVH / Sandbox Intel E312xx Sandy Bridge 5.5 200 [ ]
RunAbove by OVH / Steadyfast Intel E312xx Sandy Bridge 5.5 154 [✓]
OVH Public Cloud / CPU instance EG-7 ⏰ Intel E5-2687W v3 5.6 151 [✓]
OVH Web / Cloud VPS AMD Opteron 4386 5.5 210 [✓]
OVH Web / Cloud VPS AMD Opteron 4284 5.6 293 [✓]
Vultr / Compute instances ⏰ N/A 5.6 165 [ ]
Aruba Cloud / Smart Small (€1) Intel L5640 5.6 210 [ ]
Aruba Cloud / Smart Large Intel E5-2650 v3 5.6 143 [✓]
EDIS / KVM Basic plus Intel E5649 5.6 240 [ ]
Joyent Public Cloud / High CPU 1.75 SmartOS Intel E5-2670 5.5 245 [ ]
Joyent Public Cloud / High CPU 1.75 KVM Intel E5-2690 v3 5.6 267 [ ]
SoYouStart dedicated by OVH / E3-SSD-3 💻 Intel E3-1245 v2 5.6 148 [✓]
SoYouStart dedicated by OVH / E3-SSD-3 💻 Intel E3-1245 v2 + 5.6 113 [✓]
Brightbox / SSD 1G ⏰ Intel E312xx Sandy Bridge 5.5 210 [✓]
Custom PC / ASUS P5KPL-AM EPU 💻 Intel Pentium E5400 5.3 262 [ ]
HostHatch / SSD VPS - KVM Intel E5-1650 v2 5.6 256 [ ]
StackPort / m1.medium (beta) Intel Haswell 5.6 121 [✓]
GleSYS / OpenVZ in Falkenberg ⏰ Intel E5-2687W v3 5.6 129 [✓]
BigV / in York QEMU 5.6 210 [✓]
Wable / Bundle #2 (OpenVZ) N/A 5.6 203 [✓]
Scaleway / C1 💻 ⏰ Marvell Armada 370/XP 5.6 1111 [✓]
SWNet Group Intel E5-2630 v3 5.6 167 [ ]
Rendszerinformatika Intel E5-2665 5.5 222 [ ]
Amazon EC2 / c4.large ⏰ Intel E5-2666 v3 5.6 113 [✓]
CenturyLink / Standard server ⏰ Intel E5-2680 5.6 151 [✓]
CenturyLink / Hyperscale Intel E5-2697 v2 5.6 150 [✓]
RamNode / Premium KVM SSD in NL Intel E3-1230 V2 5.6 185 [ ]
webtropia-myLoc / vServer M 4.0 Intel E5-2620 v2 5.6 234 [ ]
Cloud.hu by EZIT / Cloud Webtárhely Plus 2 †† Intel E3-1240 V2 7.0 122 [✓]
Cloud.hu by EZIT / Cloud Webtárhely Plus 2 †† Intel E3-1240 V2 5.6 169 [✓]
Tárhely.eu / Alap DDR4 Intel E5-1620 v3 5.6 175 [ ]
ProfiTárhely / WORDPRESS † Intel E3-1230 V2 5.6 323 [ ]
Magyar Hosting / EVO 3 †† Intel E5-1650 5.6 195 [✓]
Host Europe / Virtual Server Advanced Intel E5-2620 v2 5.6 256 [ ]
Host Europe / Root Server M Intel E5-2620 v2 5.6 207 [✓]
Host Europe / new Virtual Server Advanced Intel E5-2640 v3 5.6 122 [✓]
Cloud.hu by EZIT / Pro Cloud Flotta ⏰ Intel X5670 5.6 283 [ ]
elastichosts / VM 2000 MHz ⏰ Intel E5-2680 v2 5.6 179 [✓]
VEXXHOST / v1-standard-1 Intel E5520 5.6 220 [✓]
Springs.io by elastichosts / Container 8000 MHz ⏰ Intel E5-2680 v2 5.6 161 [ ]
CityCloud / 1C-1GB in London ⏰ Intel E312xx Sandy Bridge 5.6 152 [ ]
LeaseWeb / Virtual Server Type S QEMU 5.6 153 [✓]
Hostinger / OpenVZ Plan 1 Intel E5-2620 v3 5.6 264 [✓]
Netrouting / XEN256 Intel X5650 5.6 198 [ ]
Magyar Hosting / SSD VPS Intel X5690 5.5 180 [ ]
Packet / Type 1 in EWR1 💻 ⏰ Intel E3-1240 v3 5.6 99 [✓]
servetheworld / SSD 2 GB in Norway Intel E5 5.6 225 [ ]
Pantheon / (sandbox site) †† Intel E5-2670 5.6 430 [ ]
Maxer / VPS 2GHz N/A 5.6 272 [✓]
Gandi.net / Simple Hosting †† Intel E5-2650L 5.4 600 [ ]
iFastNet / Entry (OpenVZ) Intel i7-4771 5.6 190 [ ]
CloudSigma / in ZRH ⏰ Intel E5-2697 v3 5.6 238 [ ]
Scaleway / VPS ⏰ Intel Atom C2750 5.6 500 [✓]
Scaleway / C2S 💻 ⏰ Intel Atom C2550 5.6 381 [✓]
Exoscale / Medium in CH-DK-2 ⏰ Intel E312xx Sandy Bridge 5.6 199 [ ]
Telekom Cloud / c2.medium Intel E5-2658A v3 5.6 415 [✓]
US Dedicated / KVM 1 QEMU 5.6 497 [ ]
GoDaddy / Cloud Server Tiny ⏰ Intel E312xx Sandy Bridge 5.6 190 [✓]
Zetta.IO / m3.medium ⏰ Intel E5-2695 v2 5.6 209 [✓]
Zetta.IO / t2.small ⏰ Intel E5-2640 v3 5.6 190 [ ]
Microsoft Azure / Standard DS1 ⏰ Intel E5-2660 5.6 220 [ ]
Microsoft Azure / Standard D1 v2 ⏰ Intel E5-2673 v3 5.6 143 [✓]
Packet / Type 1 in AMS1 💻 ⏰ Intel E3-1240 v5 5.6 93 [✓]
RackForest / Linux VPS Eight Intel E5-2630 v2 5.6 230 [✓]
RackForest / SSD Ten †† Intel E3-1231 v3 5.6 105 [✓]
Binary Lane / 1 CPU 512 MB ⏰ N/A 5.6 190 [ ]
Server4You / vServer SSD M8 Intel E5520 5.6 209 [✓]
Byte.nl / trial †† Intel E56xx 5.6 381 [✓]
A Small Orange / Level II Cloud VPS + Cloud VIP Boost QEMU 5.6 203 [✓]
SzerverPlex / 4core 2GB Intel X5450 5.6 256 [✓]
KnownHost / SSD-1 managed Intel E5-2620 v3 5.6 167 [✓]
Storm on Demand / Storm VPS 1GB ⏰ Intel E3-1271 v3 5.6 94 [✓]
Szerverem.hu / XXXL AMD Opteron 6136 5.6 297 [✓]
ATW / OctopusVS Intel E5-2670 5.6 190 [ ]
PCextreme / Agile 512M ⏰ Common KVM 5.6 143 [ ]
PCextreme / Stamina 4G ⏰ Common KVM 5.6 198 [✓]
Integrity / vCloud Intel E7-4870 5.6 181 [✓]
Inulogic / VPS Perso Intel E3-1240 v2 5.6 117 [✓]
Virpus / Pure SSD VPS Intel E5-2620 5.6 341 [ ]
ProfitBricks / in Frankfurt ⏰ AMD Opteron 62xx 5.6 201 [✓]
HostUS / Unmanaged VPS Intel E5-1650 v3 5.6 128 [✓]
GloboTech / Popular 2 Intel E5-26xx 5.6 234 [✓]
Versanus / 4core 0.5GB AMD Opteron 6238 5.6 270 [ ]
ATW / FlyHOST 💻 ARMv7 rev 3 (v7l) 5.6 406 [✓]
Webhuset / SSD VPS 2GB Intel E5-2665 5.6 207 [✓]
Webonic / V2 Intel E312xx Sandy Bridge 5.6 175 [ ]
Description CPU PHP msec stable*

* Stable means deviation is within ± 10%.

Shared hosting with SSH access.

†† Shared high-resource hosting with SSH access.

💻 Dedicated server, not VPS.

⏰ Hourly (or daily) billing available.

+ CPU scaling_governor was set to performance.

Quick installation

# On a Debian based system
apt-get install -y wget ca-certificates php5-cli php5-sqlite

# Test sqlite extension
php -m | grep -Eqx "sqlite3|SQLite" || echo "Please enable sqlite extension." 1>&2

# Download and untar in one go
wget -qO- https://github.com/szepeviktor/wordpress-speedtest/releases/download/v0.1.2/wordpress-speedtest.tar.gz|tar xzv

# Start a test
cd wordpress-speedtest/ && time php index.php > /dev/null

Usage

# One time run
time php index.php|grep -q 'Hello world.</a></h2>' || echo "WordPress error." 1>&2

# Ten runs
time for R in {1..10}; do php index.php > /dev/null; done

# Live stability test
while :; do { time php index.php > /dev/null; sleep 0.2; } 2>&1|grep "^real"; done

# Simple graph * with percentage of change
MSEC_PERC=1 MSEC_DELAY=0 MSEC_DOT=_ MSEC_DIVIDER=2 msec php index.php

# Nice graph of stability
apt-get install -y gnuplot5-nox feedgnuplot
while :; do { time php index.php > /dev/null; sleep 0.2; } 2>&1 \
 | sed -n 's/^real\s\+0m\([0-9.]\+\)s$/\1/p'; done \
 | feedgnuplot --terminal 'dumb 120,40' --stream --points --lines -xlen 30 --set "xtics 10"

# CPU model
dmidecode --type 4
cat /proc/cpuinfo

Install PHP 5.6 on Ubuntu 14.04 LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php5-5.6

cPanel servers have PHP-CLI binary at /opt/alt/php56/usr/bin/php

* Download msec from szepeviktor/debian-server-tools

Please report your result!

About

WordPress speedtest with Sqlite3 on PHP-CLI

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 53.1%
  • PHP 40.6%
  • JavaScript 6.2%
  • Other 0.1%