Skip to content

Instantly share code, notes, and snippets.

View davecheney's full-sized avatar
🔥
more cowbell

Dave Cheney davecheney

🔥
more cowbell
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
name old time/op new time/op delta
BinaryTree17-8 2.36s ± 9% 2.42s ± 2% ~ (p=0.053 n=10+9)
Fannkuch11-8 2.36s ± 1% 2.15s ± 2% -8.70% (p=0.000 n=10+10)
FmtFprintfEmpty-8 33.1ns ± 3% 34.1ns ± 5% ~ (p=0.234 n=9+10)
FmtFprintfString-8 56.4ns ± 2% 58.8ns ± 2% +4.37% (p=0.000 n=10+9)
FmtFprintfInt-8 62.0ns ± 3% 65.1ns ± 3% +5.10% (p=0.000 n=10+10)
FmtFprintfIntInt-8 98.5ns ± 2% 101.2ns ± 2% +2.72% (p=0.000 n=10+8)
FmtFprintfPrefixedInt-8 105ns ± 3% 108ns ± 4% +2.85% (p=0.001 n=10+10)
FmtFprintfFloat-8 165ns ± 1% 164ns ± 1% ~ (p=0.384 n=8+10)
FmtManyArgs-8 415ns ± 1% 412ns ± 2% ~ (p=0.148 n=9+10)
package main
import (
"fmt"
"sync"
"unsafe"
)
func main() {
var wg sync.WaitGroup

Title

Status: {draft,in review, approved/declined}

Goals

  • goal one
  • goal two (optional)
  • goal three (pushing it, don't try to boil all the oceans in one sitting)
@davecheney
davecheney / go1.0-vs-go1.11.txt
Created October 7, 2018 11:13
test/bench/go1 benchmark results
name old time/op new time/op delta
BinaryTree17 5.44s ± 2% 3.27s ± 2% -39.90% (p=0.000 n=20+19)
Fannkuch11 4.95s ± 2% 2.68s ± 2% -45.87% (p=0.000 n=20+20)
FmtFprintfEmpty 142ns ± 2% 49ns ± 3% -65.39% (p=0.000 n=20+18)
FmtFprintfFloat 765ns ± 2% 260ns ± 2% -66.02% (p=0.000 n=20+20)
FmtFprintfInt 341ns ± 2% 95ns ± 2% -72.08% (p=0.000 n=19+20)
FmtFprintfIntInt 554ns ± 2% 150ns ± 1% -72.95% (p=0.000 n=20+19)
FmtFprintfPrefixedInt 497ns ± 3% 178ns ± 3% -64.12% (p=0.000 n=20+20)
FmtFprintfString 466ns ± 2% 86ns ± 3% -81.54% (p=0.000 n=20+20)
FmtManyArgs 2.23µs ± 2% 0.59µs ± 1% -73.46% (p=0.000 n=20+17)
cluster.contour.bind_errors: 0
cluster.contour.http2.header_overflow: 0
cluster.contour.http2.headers_cb_no_stream: 0
cluster.contour.http2.rx_reset: 0
cluster.contour.http2.too_many_header_frames: 0
cluster.contour.http2.trailers: 0
cluster.contour.http2.tx_reset: 0
cluster.contour.internal.upstream_rq_200: 7
cluster.contour.internal.upstream_rq_2xx: 7
cluster.contour.lb_healthy_panic: 0
[2018-06-04 04:38:13.399][1][info][main] source/server/server.cc:181] initializing epoch 0 (hot restart version=10.200.16384.127.options=capacity=16384, num_slots=8209 hash=228984379728933363 size=2654312)
[2018-06-04 04:38:13.401][1][info][main] source/server/server.cc:183] statically linked extensions:
[2018-06-04 04:38:13.401][1][info][main] source/server/server.cc:185] access_loggers: envoy.file_access_log,envoy.http_grpc_access_log
[2018-06-04 04:38:13.401][1][info][main] source/server/server.cc:188] filters.http: envoy.buffer,envoy.cors,envoy.ext_authz,envoy.fault,envoy.filters.http.rbac,envoy.grpc_http1_bridge,envoy.grpc_json_transcoder,envoy.grpc_web,envoy.gzip,envoy.health_check,envoy.http_dynamo_filter,envoy.ip_tagging,envoy.lua,envoy.rate_limit,envoy.router,envoy.squash
[2018-06-04 04:38:13.401][1][info][main] source/server/server.cc:191] filters.listener: envoy.listener.original_dst,envoy.listener.proxy_protocol,envoy.listener.tls_inspector
[2018-06-04 04:38:13.401][1][info][main] source/ser
[2018-06-04 03:56:06.564][1][info][main] source/server/server.cc:181] initializing epoch 0 (hot restart version=10.200.16384.127.options=capacity=16384, num_slots=8209 hash=228984379728933363 size=2654312)
[2018-06-04 03:56:06.564][1][info][main] source/server/server.cc:183] statically linked extensions:
[2018-06-04 03:56:06.564][1][info][main] source/server/server.cc:185] access_loggers: envoy.file_access_log,envoy.http_grpc_access_log
[2018-06-04 03:56:06.564][1][info][main] source/server/server.cc:188] filters.http: envoy.buffer,envoy.cors,envoy.ext_authz,envoy.fault,envoy.filters.http.rbac,envoy.grpc_http1_bridge,envoy.grpc_json_transcoder,envoy.grpc_web,envoy.gzip,envoy.health_check,envoy.http_dynamo_filter,envoy.ip_tagging,envoy.lua,envoy.rate_limit,envoy.router,envoy.squash
[2018-06-04 03:56:06.564][1][info][main] source/server/server.cc:191] filters.listener: envoy.listener.original_dst,envoy.listener.proxy_protocol,envoy.listener.tls_inspector
[2018-06-04 03:56:06.564][1][info][main] source/ser
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kuard
labels:
app: kuard
spec:
backend:
serviceName: kuard
servicePort: 80
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kuard
labels:
app: kuard
spec:
backend:
serviceName: kuard
servicePort: 80