Skip to content

Instantly share code, notes, and snippets.

🔨
Professional YAML architect

Dave Cheney davecheney

🔨
Professional YAML architect
Block or report user

Report or block davecheney

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View badidea.go
package main
import (
"fmt"
"sync"
"unsafe"
)
func main() {
var wg sync.WaitGroup
View design-document.md

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 Oct 7, 2018
test/bench/go1 benchmark results
View go1.0-vs-go1.11.txt
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)
View envoy 1.6 stats
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
View debug.log
[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
View debug.log
[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
View ingress-watwat.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kuard
labels:
app: kuard
spec:
backend:
serviceName: kuard
servicePort: 80
View ingress-wat.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kuard
labels:
app: kuard
spec:
backend:
serviceName: kuard
servicePort: 80
View ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kuard
labels:
app: kuard
spec:
backend:
serviceName: kuard
servicePort: 80
View client-go-release-4.0-dep.toml
[[constraint]]
name="k8s.io/apimachinery"
revision="1fd2e63a9a370677308a42f24fd40c86438afddf"
[[constraint]]
name="k8s.io/client-go"
branch="release-4.0"
You can’t perform that action at this time.