Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am subosito on github.
  • I am subosito (https://keybase.io/subosito) on keybase.
  • I have a public key ASDeJdL2xNX3e3z0RGHHkOTMzay8MDYnhAnE9JIvj7wYTgo

To claim this, I am signing this object:

# 01
$ go test --bench=.
goos: linux
goarch: amd64
pkg: github.com/bukalapak/cachexp
BenchmarkExpand/cache-01-expandable-8 30000 55303 ns/op
BenchmarkExpand/cache-02-expandable-8 10000 104054 ns/op

Keybase proof

I hereby claim:

  • I am subosito on github.
  • I am subosito (https://keybase.io/subosito) on keybase.
  • I have a public key whose fingerprint is 5945 2DC2 BC85 BA95 58F4 ACF9 89F8 8B8F 4D3B 0D03

To claim this, I am signing this object:

#!/bin/bash
echo "mode: count" > coverage.out
PACKAGES=`govendor list -no-status +local`
EXIT_CODE=0
for PKG in $PACKAGES; do
echo =-= $PKG
$ make bench
godep go test -bench=.
PASS
BenchmarkGifsicle_Resize_GIF 100 21002215 ns/op
BenchmarkGifsicle_Resize_animatedGIF 10 131517443 ns/op
BenchmarkNFNT_Resize_JPG 30 43795775 ns/op
BenchmarkNFNT_Resize_JPG2PNG 30 47766347 ns/op
BenchmarkNFNT_Resize_JPG2GIF 30 54370537 ns/op
BenchmarkNFNT_Resize_PNG 30 52384573 ns/op
BenchmarkNFNT_Resize_PNG2JPG 20 50822543 ns/op

Keybase proof

I hereby claim:

  • I am subosito on github.
  • I am subosito (https://keybase.io/subosito) on keybase.
  • I have a public key whose fingerprint is C632 4099 BA7B C406 5FEA 4E03 FBC2 F842 5D90 714D

To claim this, I am signing this object:

package main
import (
"flag"
"github.com/subosito/iglo"
"log"
"os"
)
var fname = flag.String("out", "output.html", "Filename of the HTML output")
require 'goliath'
## OUTPUT
#
# use Middleware
# use Goliath::Rack::BarrierAroundwareFactory, Aroundware
# use Goliath::Rack::BarrierAroundwareFactory, Anotherware
#
# APP: on_headers
# APP: on_body
@subosito
subosito / setup.py
Created September 2, 2013 11:44
sixpack-go build!
#!/usr/bin/env python
from sixpack import __version__
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(