Skip to content

Instantly share code, notes, and snippets.

View yurishkuro's full-sized avatar

Yuri Shkuro yurishkuro

View GitHub Profile
@yurishkuro
yurishkuro / gist:b135e6750df0f95aa86c35a77cc736d4
Created August 5, 2017 00:08
by-value vs. by-pointer benchmark
package jaeger
// go test -bench=.
// BenchmarkByValue-8 2000000000 0.56 ns/op
// BenchmarkByPointer-8 2000000000 0.28 ns/op
import "testing"
func BenchmarkByValue(b *testing.B) {
b1 := b1{}
@yurishkuro
yurishkuro / gist:273b5c0ed3556dfb84a095002f7dc40c
Last active August 4, 2017 23:24
jaeger-ui runtime dependency licenses (produced with `license-checker --production --csv`)
"module name","license","repository"
"ansi-regex@2.1.1","MIT","https://github.com/chalk/ansi-regex"
"ansi-styles@2.2.1","MIT","https://github.com/chalk/ansi-styles"
"ansi-styles@3.0.0","MIT","https://github.com/chalk/ansi-styles"
"array-findindex-polyfill@0.1.0","MIT","https://github.com/ryanhefner/Array.prototype.findIndex"
"asap@2.0.5","MIT","https://github.com/kriskowal/asap"
"ast-types@0.8.18","MIT","https://github.com/benjamn/ast-types"
"ast-types@0.9.4","MIT","https://github.com/benjamn/ast-types"
"babel-code-frame@6.22.0","MIT","https://github.com/babel/babel/tree/master/packages/babel-code-frame"
"babylon@6.15.0","MIT","https://github.com/babel/babylon"