wrk -t4 -c400 -d10s http://127.0.0.1:1337/
Running 10s test @ http://127.0.0.1:1337/
4 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 7.02ms 6.94ms 82.86ms 85.27%
<?php | |
/** | |
* PSR4 autoloader using spl_autoload_register | |
* @package HN_Reactive | |
* @author Thomas J Belknap <[email protected]> | |
*/ | |
namespace HN_Reactive; | |
spl_autoload_register( function ( $class ) { |
-- Create a group | |
CREATE ROLE readaccess; | |
-- Grant access to existing tables | |
GRANT USAGE ON SCHEMA public TO readaccess; | |
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
-- Grant access to future tables | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
<?php | |
/** | |
* UNTESTED EXAMPLE! | |
* Please don’t use in production without having tested it before! | |
* @link http://wordpress.stackexchange.com/a/12165 | |
* @return void | |
*/ | |
function example__disable_rocket_cache_for_amp_pages() { | |
if ( ! defined( 'AMP_QUERY_VAR' ) ) | |
return; |
<?php | |
// ... | |
function woo_payment_gateway() { | |
class Woo_PayPal_Gateway extends WC_Payment_Gateway { | |
} | |
} |
{ | |
"name": "spakkionu/validate", | |
"description": "Validation Test", | |
"require": { | |
"illuminate/validation": "~4.2.9" | |
}, | |
"license": "MIT", | |
"authors": [ | |
{ | |
"name": "Jonathan Bernardi", |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: skeleton | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
http://sugg.search.yahoo.net/sg/?output=jsonp&nresults=10&command=django | |
http://sugg.search.yahoo.net/sg/?output=json&nresults=10&command=django | |
http://sugg.search.yahoo.net/sg/?output=xml&nresults=10&command=django |