Skip to content

Instantly share code, notes, and snippets.

View seanhess's full-sized avatar

Sean Hess seanhess

View GitHub Profile
woot:tvclient seanhess$ make test
GHUNIT_CLI=1 xcodebuild -target Tests -configuration Debug -sdk iphonesimulator4.0 build
Build settings from command line:
PLATFORM_NAME = iphonesimulator
SDKROOT = /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk
=== BUILD NATIVE TARGET Tests OF PROJECT tvclient WITH CONFIGURATION Debug ===
Check dependencies
PhaseScriptExecution "Run Script" /Users/seanhess/itv/build/tvclient.build/Debug-iphonesimulator/Tests.build/Script-78510CD012A6CBC900E64E41.sh
R::gen("BlogPost");
$post = new BlogPost();
$post->title = "Title";
$post->description = "description";
$post->save();
R::gen("BlogPost");
$post = new BlogPost();
$post->title = "Title";
$post->description = "description";
$post->save();
var tail = spawn("tail", ["-f", LogPath])
tail.stdout.on('data', function(data) {
sys.puts("IN " + data)
})
tail.stderr.on('data', function(data) {
sys.puts("ERR " + data)
})
woot:kod seanhess$ ./update.sh
Fetching from upstream (https://github.com/rsms/kod.git)...
Updating submodules...
woot:kod seanhess$ deps/libcss/build.sh
------------------- libwapcaplet -------------------
Architectures in the fat file: lib/libwapcaplet.a are: i386 x86_64
------------------- libparserutils -------------------
Architectures in the fat file: lib/libparserutils.a are: i386 x86_64
------------------- libcss -------------------
Architectures in the fat file: lib/libcss.a are: i386 x86_64
// NOTE: Fugue *almost* works great. But it doesn't seem to responsd to the USR2 signal correctly
// Try it one more time.
var fugue = require('fugue')
var path = require("path")
var sys = require('sys')
// https://github.com/pgte/fugue
// Send kill -USR2 <PID> to hot reload! 0 downtime.
cd /Users/seanhess/projects/kod
setenv LANG en_US.US-ASCII
/Developer/usr/bin/llvm-gcc-4.2 -x objective-c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DEV_MULTIPLICITY=0 -DK_DEBUG_BUILD=1 -mfix-and-continue -mmacosx-version-min=10.6 -gdwarf-2 -iquote /Users/seanhess/itv/build/kod.build/Debug/Kod.build/Kod-generated-files.hmap -I/Users/seanhess/itv/build/kod.build/Debug/Kod.build/Kod-own-target-headers.hmap -I/Users/seanhess/itv/build/kod.build/Debug/Kod.build/Kod-all-target-headers.hmap -iquote /Users/seanhess/itv/build/kod.build/Debug/Kod.build/Kod-project-headers.hmap -F/Users/seanhess/itv/build/Debug -F/Users/seanhess/projects/kod -F/Users/seanhess/projects/kod/deps/chromium-tabs/build/Debug -F/Users/seanhess/projects/kod/deps/libcss/cocoa-framework/build/Debug -F/Users/seanhess/projects/kod/deps -I/Users/seanhess/itv/build/Debug/include -I/Users/seanhess/projects/kod/src/ICU/include -I/Users/seanhess/proj
TESTER VS 256/4*512 New Baseline
======================================
A smoother curve, and no drops, but response times edge up earlier.
Users RSTav Usersps Success Err
50 507 100 100 0
100 510 200 200 0
250 531 487 487 0
500 621 824 824 0
#---------------------------------------------------------------------
# Global settings
#---------------------------------------------------------------------
global
log 127.0.0.1 local2
chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid
maxconn 4000
user haproxy
group haproxy
@seanhess
seanhess / loadUrl.sh
Created January 29, 2011 22:06
apache benchmark stepping test
#!/bin/bash
url=$1
rest=5
echo "AB Testing $url in steps"
# Steps = [5, 10, 25, 50, 75, 100, 125, 150, 175, 200]