Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Latest commit

 

History

History
297 lines (254 loc) · 22.5 KB

README.md

File metadata and controls

297 lines (254 loc) · 22.5 KB

Speedtest for WordPress

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

Target speed is below 150 msec (faster than my AMD FX-6300)

How to choose VPS provider?

Video on competing with Amazon 4th video

Top 10 European Cloud Service Providers 2016 Price-Performance Report

Cloud Provider Directory by Gartner

List of datacenters

Results

Description CPU PHP msec stable*
🏆 UpCloud / in Frankfurt ⏰ Intel E5-2687W v3 5.6 115 [✓]
Liquid Web / Storm VPS 1GB ⏰ Intel E3-1271 v3 5.6 94 [✓]
Contabo / VPS M SSD Intel E5-2620 v3 5.6 159 [✓]
Oktawave / v1.highcpu-2.09 ⏰ freetier Intel E5-2660 v3 5.6 133 [✓]
Exoscale / Medium in CH-DK-2 ⏰ Intel E312xx Sandy Bridge 5.6 178 [✓]
Exoscale / Medium in CH-GVA-2 ⏰ Intel E5-2680 v4 5.6 145 [✓]
VPS.ag / Cloud VPS (€3, lxc) Intel E5-2440 v2 5.6 209 [✓]
Private Layer / 4 Cores @ 3.0 GHz Intel X5675 5.6 145 [✓]
Google Compute Engine / n1-highcpu-2 ⏰ freetier Intel Xeon 2.60 GHz 5.6 137 [✓]
Digital Ocean Intel E5-2630L v2 5.6 195 [✓]
Linode / KVM ⏰ Intel E5-2680 v3 5.6 180 [ ]
Tu Cloud Server / VPS 50 in Madrid Intel E5-2620 v2 5.6 179 [✓]
My custom PC 💻 AMD FX-6300 5.6 158 [✓]
RunAbove by OVH / Steadyfast Intel E312xx Sandy Bridge 5.5 154 [✓]
OVH Public Cloud / CPU Instance EG-7 ⏰ Intel E5-2650 v3 5.6 128 [ ]
OVH Public Cloud / CPU Instance HG-7 ⏰ Intel E5-2687W v3 5.6 160 [ ]
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 [✓]
Aruba Cloud / Smart Small (€1) Intel E5-2650L v3 5.6 190 [ ]
Aruba Cloud / Smart Small (€1) Intel E5-2650L v4 5.6 138 [✓]
EDIS / KVM Basic plus Intel E5649 5.6 240 [ ]
Joyent Public Cloud / Infrastructure container High CPU 4 SmartOS Intel E5-2670 5.6 245 [ ]
Joyent Public Cloud / KVM High CPU 1.75 Intel E5-2670 5.6 160 [✓]
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 [✓]
StackPort / m1.small ⏰ QEMU 5.6 119 [ ]
GleSYS / OpenVZ in Falkenberg ⏰ Intel E5-2687W v3 5.6 129 [✓]
Bytemark (formerly 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 ⏰ freetier 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 by 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 X5650 5.6 204 [✓]
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 160 [ ]
CloudSigma / in ZRH ⏰ Intel E5-2697 v3 5.6 238 [ ]
Scaleway / VC1S ⏰ Intel Atom C2750 5.6 500 [✓]
Scaleway / C2S 💻 ⏰ Intel Atom C2550 5.6 381 [✓]
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 [ ]
Tiktalik / CPU Hog ⏰ Intel E3-1230 V2 5.6 136 [✓]
Tiktalik / PRO ⏰ Intel E3-1230 V2 5.6 140 [ ]
NephoScale / CS2.2-SSD ⏰ Intel E5-2690 v2 5.6 143 [✓]
Joyent / Infrastructure Container ⏰ Intel E5-2690 v3 5.6 167 [✓]
CityCloud / 2C-1GB in Frankfurt ⏰ Intel E5-26XX 5.6 128 [✓]
TerraHost / VS X-5 2016 Intel E3-1240 v5 5.6 107 [✓]
BlazingFast / SSD Cloud Server 2GB Intel E3-1240 v3 5.6 140 [ ]
Hawk Host / Basic VPS Intel E5-2620 5.6 255 [ ]
Bluehost / VPS standard †† Intel E5-2650 v3 5.6 201 [ ]
VPSDime / VPS 6GB Intel E5-2630 5.6 231 [✓]
SoftLayer by IBM / VPS 2 cores ⏰ Intel E5-2650 v2 5.6 175 [✓]
DreamHost / gp1.lightspeed ⏰ Intel E5-2620 v4 5.6 150 [ ]
SwiftwayCloud / 3.0 GB Intel E5-2620 5.6 231 [✓]
Host1Plus / 2C-2GB in Frankfurt Intel E5-2620 v3 5.6 151 [ ]
iwStack by Prometeus / 2C-1GB in NL ⏰ Intel E3-1241 v3 5.6 109 [✓]
netcup / RS 2000 G7 Intel E5-2680 v4 5.6 148 [ ]
Neohost.com.ua / KVM-SSD-2048 Intel E3-1230 v2 5.6 115 [✓]
SnackHost by VSHosting / 1C-1GB ⏰ AMD Opteron 63xx 5.6 261 [✓]
Rackhost / VPS 2048 Intel 5160 5.6 230 [✓]
Packet / Type 2A in EWR1 💻 ⏰ Cavium ThunderX CN8890 5.6 500 [✓]
Innofield / Flow App Engine Intel E5-2695 v2 5.6 206 [✓]
e24cloud.com / 4C 8GB ⏰ Intel E5-2670 v2 5.6 183 [✓]
Cloudwatt by Orange / n1.cw.highcpu-2 ⏰ Intel E312xx 5.6 200 [✓]
Dediserve / 2C-2GB in Vienna QEMU 5.6 203 [✓]
Dediserve / 2C-2GB in Frankfurt Intel E5-2660 5.6 219 [✓]
Lunacloud / 2C-2GB in Portugal ⏰ Intel E5-2640 v2 5.6 201 [ ]
Togglebox / 2C-2GB on HV41.dal ⏰ Intel E5-2670 v3 5.6 142 [✓]
Auro / standard.4 ⏰ Intel E5-2670 5.6 141 [✓]
Sweden Dedicated / SSD VPS 1024 MB Intel E5640 5.6 337 [✓]
Cloudwatt by Orange / n2.cw.standard-2 ⏰ Intel E312xx 5.6 109 [✓]
Steadfast / 2C-1GB ⏰ Intel E5-2650 5.6 224 [ ]
Kamatera / 2C-1GB shared vCPU ⏰ Intel E5-2690 v4 5.6 140 [ ]
Kamatera / 2C-1GB dedicated vCPU ⏰ Intel E5-2690 v4 5.6 133 [✓]
Comalis / PRO 24G dedicated 💻 Intel Xeon 5.6 185 [✓]
Atlantic.Net / G2.2GB ⏰ Intel E5-2620 5.6 250 [✓]
Advania / Small Platinum QEMU 5.6 141 [ ]
Scaleway / X64-30GB ⏰ Intel D-1531 5.6 211 [ ]
Scaleway / ARM64-8GB ⏰ Cavium ThunderX 5.6 559 [✓]
hosttech / Sunny 2C-2GB Intel E5-2620 v3 5.6 189 [ ]
Platform.sh / Standard ⏰ Intel E5-2670 v2 7.0 180 [ ]
RoseHosting / SSD 2 VPS Intel E5-2660 v4 5.6 111 [✓]
A2 Hosting / Dynamic VPS OpenVZ Intel E5-2620 v4 5.6 171 [✓]
Time4VPS / KVM Linux 2 Intel E5-2640 v4 5.6 160 [ ]
IP-Projects / vServer M SSD Intel E5-1650 v4 5.6 162 [✓]
MikroVPS / XEN-512M Intel X5650 5.6 296 [ ]
Cherry Servers / SMART8 Intel E3-1240 5.6 135 [✓]
Combell / m1.medium Intel E5-2660 5.6 151 [✓]
JZT / Midi Intel X5675 5.6 199 [✓]
ZeroTime Services / VPS Pro 2C Intel E5-2630 v3 5.6 145 [ ]
fxhosting.hu / KVM-H 8 Intel E5-2440 5.6 214 [✓]
Kyup by SiteGround / 2C-1GB lxc ⏰ Intel E5-2690 v2 5.6 160 [ ]
FirstVDS / Разгон ⏰ Intel E5-2630 v3 5.6 179 [✓]
DataPacket / VServer 2 GB Intel E5-1650 5.6 149 [✓]
Magyar Hosting / SSD VPS Intel E5-2667 v2 5.6 130 [✓]
Snel / Bucket Intel E5-2630 v4 5.6 180 [✓]
H4Y / VM-2 Intel E5-2690 5.6 178 [✓]
CloudVPS / Small HD 2GB Intel E5-2697 v4 5.6 134 [✓]
Keyweb / RVS L14 SSD Intel i7 5.6 122 [✓]
FASTVPS / EVO-8-SSD Intel E5-2630 v4 5.6 169 [✓]
Selectel, vscale.io / 2C-1GB in ru-1b ⏰ Intel E5-2680 v4 5.6 123 [✓]
1984 / VServer Intel E5-2670 v3 5.6 159 [ ]
uHost / L VPS Server Intel E5-2696 v3 5.6 135 [✓]
IntoVPS / M4 Intel E5-2640 v4 5.6 105 [✓]
Description CPU PHP msec stable*

* Stable means deviation is within ± 10%, the main cause is memory bandwidth.

Shared hosting with SSH access.

†† 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

# Live stability test on one core
while :; do { time taskset 0x00000001 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

* Download msec from szepeviktor/debian-server-tools

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

Install PHP 5.6 on CentOS 7 https://rpms.remirepo.net/wizard/

cPanel server's PHP-CLI binary location /opt/alt/php56/usr/bin/php

Please report your result!

Provider Top List

{
echo "| Description | CPU | PHP | msec | stable |"
wget -qO- https://github.com/szepeviktor/wordpress-speedtest/raw/master/README.md \
    | grep "^|" | sed -e "s|\*\*||g" | grep -v "^| Description |" \
    | sort -t "|" -k 5 -n
} > wordpress-speedtest-sorted-results.md

Then use a Markdown editor like Caret to display it. Also see issue #6.

How to choose VPS provider?

Operation

  1. Company transparency, status page
  2. Data center location
  3. Price
  4. Has own AS? Number of peers
  5. Response to abuse report, spammer neighbors
    • http://www.projecthoneypot.org/
    • https://www.talosintelligence.com/reputation_center/lookup?search=AS-description
    • https://cleantalk.org/blacklists/AS0000
    • https://cymon.io/IP
  6. Stores plain text passwords?
  7. Response time of nighttime technical support in case of network or hardware failure
  8. Daytime technical and billing support

Infrastructure

  1. Redundancy: power, cooling, network, storage, hypervisor
  2. Network: worldwide and regional bandwidth, port speed, D/DoS mitigation, IPv6 http://bgp.he.net/
  3. CPU speed: PassMark CPU Mark 2000+, sysbench < 20 ms, WordPress Speedtest < 150 ms
  4. Memory bandwidth: flat graphs with bandwidth64
  5. Disk access time: < 1 ms
  6. Scheduled backup
This page contains affiliate links