This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ubuntu:~/wrk# ./wrk -t2 -c20 -d10s http://gittip.axxim.net/Sophie3ac | |
Running 10s test @ http://gittip.axxim.net/Sophie3ac | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 37.59ms 4.05ms 78.19ms 85.00% | |
Req/Sec 266.99 23.42 329.00 65.65% | |
5290 requests in 10.00s, 4.64MB read | |
Requests/sec: 528.92 | |
Transfer/sec: 474.67KB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ubuntu:~/wrk# ./wrk -t2 -c20 -d10s https://www.gittip.com/ | |
Running 10s test @ https://www.gittip.com/ | |
2 threads and 20 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 1.71s 712.82ms 2.22s 100.00% | |
Req/Sec 7.00 0.00 7.00 100.00% | |
71 requests in 10.00s, 1.93MB read | |
Socket errors: connect 0, read 0, write 0, timeout 27 | |
Requests/sec: 7.10 | |
Transfer/sec: 197.46KB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ubuntu:~/wrk# ./wrk -t12 -c400 -d10s https://minotar.net/avatar/clone1018.png | |
Running 10s test @ https://minotar.net/avatar/clone1018.png | |
12 threads and 400 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 84.20ms 73.33ms 416.75ms 92.37% | |
Req/Sec 419.12 137.76 0.85k 73.61% | |
40983 requests in 10.00s, 61.75MB read | |
Socket errors: connect 0, read 0, write 0, timeout 40 | |
Requests/sec: 4098.10 | |
Transfer/sec: 6.17MB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface DatabaseOptions { | |
host?:string; | |
port?:number; | |
protocol?:any; | |
logging?:any; | |
maxConcurrentQueries?:number; | |
dialect?:string; | |
storage?:string; | |
omitNull?:boolean; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var weather = prompt("What is the weather today?"); | |
if (weather === "raining") { | |
document.writeln('You can vote!'); | |
} else { | |
document.writeln('Sorry, you can not vote yet.'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net" | |
"os" | |
) | |
func main() { | |
if len(os.Args) != 2 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var needle = require('needle'); | |
var Plugin = (function () { | |
function Plugin(bot) { | |
this.commands = {}; | |
this.users = {}; | |
this.bot = bot; | |
this.commands = { | |
'gittip': 'onCommandGittip' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Event autoloader | |
foreach (new DirectoryIterator(app_path().'/handlers') as $fileInfo) { | |
if($fileInfo->isDot()) continue; | |
$class = str_replace('.php', '', $fileInfo->getFilename()); | |
$subscriber = new $class; | |
Event::subscribe($subscriber); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Server Software: Aspen! | |
Server Hostname: 192.241.140.36 | |
Server Port: 8537 | |
Document Path: /about/terms/ | |
Document Length: 17628 bytes | |
Concurrency Level: 10 | |
Time taken for tests: 44.764 seconds | |
Complete requests: 1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pure gittip with fake data running postgres fresh locally. | |
Remote: SF | |
Gittip: NY - 2GB Ram 40GB SSD Disk New York 1 Ubuntu 13.04 x64 | |
Server Software: Aspen! | |
Server Hostname: 192.241.140.36 | |
Server Port: 8537 | |
Document Path: / | |
Document Length: 28945 bytes |