I hereby claim:
- I am robfig on github.
- I am robfig (https://keybase.io/robfig) on keybase.
- I have a public key whose fingerprint is B8D7 6647 DBE9 3A03 9E5F 92E3 8018 674F 7E67 DBDA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function f() { | |
var c = []; | |
$(".js-donut-graph").each(function(g, e) { | |
var b = $(e); | |
e = {a:e, b:parseInt(b.css("width")), g:parseInt(b.data("score")), c:parseInt(b.data("avgScore")), canvas:void 0}; | |
c.push(e); | |
b = h(e.b, e); | |
$(e.a).append(b); | |
e.canvas = b; | |
}); |
// Package bench is a package which contains | |
// programs of Go Benchmark Competition. | |
package bench | |
import ( | |
"bufio" | |
"bytes" | |
"errors" | |
"fmt" | |
"os" |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"sort" | |
"strings" | |
"time" | |
"github.com/laurent22/ical-go" |
<html> | |
<body> | |
<style> | |
body { | |
width: 900px; | |
margin: auto; | |
font-family: helvetica; | |
} | |
p { |
#!/bin/sh | |
# | |
# Bash completion script for the go commandline tool. Presently it activates | |
# to show packages under $GOPATH on these subcommands: | |
# - go install | |
# - go build | |
# - go test | |
# | |
# Install by sourcing this file from your .bash_profile, or copy it in. | |
# |
bitbucket.org/tebeka/selenium 02df1758050f | |
code.google.com/p/cascadia 4f03c71bc42b | |
code.google.com/p/go-uuid 7dda39b2e7d5 | |
code.google.com/p/go.exp b6cb26fb5e26 | |
code.google.com/p/go.net bc411e2ac33f | |
code.google.com/p/go.text d7d53b6d3df8 | |
code.google.com/p/goauth2 5877582f0cb0 | |
code.google.com/p/gogoprotobuf dc9b8350fb4568b6562900df872672f378242552 | |
code.google.com/p/goprotobuf 48b0cac3bc4a | |
code.google.com/p/log4go c3294304d93f |
hg clone https://code.google.com/p/go /home/pi/autobench/work/go | |
requesting all changes | |
adding changesets | |
adding manifests | |
adding file changes | |
added 18484 changesets with 63793 changes to 8344 files (+7 heads) | |
updating to branch default | |
3818 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
hg clone -r go1.1.2 /home/pi/autobench/work/go /home/pi/autobench/work/go1.1.2 | |
adding changesets |
/Users/robfig/autobench/work/go.tip/bin/go test -bench=. bench/go1 > /Users/robfig/autobench/work/go1-tip.txt | |
testing: warning: no tests to run | |
/Users/robfig/autobench/work/go.11/misc/benchcmp /Users/robfig/autobench/work/go1-11.txt /Users/robfig/autobench/work/go1-tip.txt | |
benchmark old ns/op new ns/op delta | |
BenchmarkBinaryTree17 6685798102 5448294853 -18.51% | |
BenchmarkFannkuch11 4472978544 4454452974 -0.41% | |
BenchmarkFmtFprintfEmpty 108 154 +42.59% | |
BenchmarkFmtFprintfString 376 344 -8.51% | |
BenchmarkFmtFprintfInt 245 283 +15.51% | |
BenchmarkFmtFprintfIntInt 371 468 +26.15% |
;; OSX - Update the PATH to match that from the shell | |
(defun set-exec-path-from-shell-PATH () | |
(let ((path-from-shell | |
(replace-regexp-in-string "[[:space:]\n]*$" "" | |
(shell-command-to-string "$SHELL -l -c 'echo $PATH'")))) | |
(setenv "PATH" path-from-shell) | |
(setq exec-path (split-string path-from-shell path-separator)))) | |
(when (equal system-type 'darwin) (set-exec-path-from-shell-PATH)) | |
;; Go mode |