Skip to content

Instantly share code, notes, and snippets.

@kurin
kurin / bmark.go
Created April 27, 2019 02:39
Benchmark code
package main
import (
"bytes"
"compress/gzip"
"flag"
"fmt"
"io"
"io/ioutil"
"os"
type ThingInt struct {
}
func (t ThingInt) FooInt(i, j int)
func (t ThingInt) Foo(i, j interface{})
type ThingString struct {
}
func (t ThingString) FooString(i, j string)
type ThingInt struct {
}
func (t ThingInt) FooInt(i, j int)
type ThingString struct {
}
func (t ThingString) FooString(i, j string)
package main
import (
"context"
"io"
)
func main() {
}

Keybase proof

I hereby claim:

  • I am kurin on github.
  • I am kurin (https://keybase.io/kurin) on keybase.
  • I have a public key whose fingerprint is DC69 9B6A 44CE 6B21 85F3 504C 8CFD 543F E75E BFA4

To claim this, I am signing this object: