Skip to content

Instantly share code, notes, and snippets.

View alexbrainman's full-sized avatar

Alex Brainman alexbrainman

  • Melbourne, Australia
View GitHub Profile
@alexbrainman
alexbrainman / debuggin_cl_307372.md
Created September 19, 2021 08:29
debuggin_cl_307372

image

@alexbrainman
alexbrainman / debuggin_cl_204340.md
Last active November 16, 2019 23:08
debuggin_cl_204340

I run all.bat on top of Patchset 5.

It stopped at

image

I used Process Explorer to look at build tree

image

@alexbrainman
alexbrainman / screen_capture
Last active February 26, 2019 08:18
Go issue #27743
We couldn’t find that file to show.
@alexbrainman
alexbrainman / linux.txt
Created December 3, 2015 05:31
TestServer_RejectsLargeFrames logs
server: about to read some data
client: about to write 24 bytes: [80 82 73 32 42 32 72 84 84 80 47 50 46 48 13 10 13 10 83 77 13 10 13 10]
client: 24 bytes written
client: about to write 9 bytes: [0 0 0 4 0 0 0 0 0]
client: 9 bytes written
client: about to read some data
server: 24 bytes read: [80 82 73 32 42 32 72 84 84 80 47 50 46 48 13 10 13 10 83 77 13 10 13 10]
server: about to write 27 bytes: [0 0 18 4 0 0 0 0 0 0 5 0 16 0 0 0 3 0 0 0 250 0 6 0 16 1 64]
server: 27 bytes written
server: about to read some data
@alexbrainman
alexbrainman / new
Created September 18, 2015 09:54
BenchmarkAppendGrowByte changes
PASS
BenchmarkAppendGrowByte 300 4888008 ns/op
BenchmarkAppendGrowByte 300 4940008 ns/op
BenchmarkAppendGrowByte 300 4940008 ns/op
BenchmarkAppendGrowByte 300 4940008 ns/op
BenchmarkAppendGrowByte 300 4940008 ns/op
BenchmarkAppendGrowByte-2 100 32146057 ns/op
BenchmarkAppendGrowByte-2 100 34048062 ns/op
BenchmarkAppendGrowByte-2 100 39000069 ns/op
BenchmarkAppendGrowByte-2 50 38376068 ns/op
@alexbrainman
alexbrainman / bench.txt
Last active September 14, 2015 02:59
try to remove call to timeBeginPeriod benchmarks
time package benchmarks:
benchmark old ns/op new ns/op delta
BenchmarkAfterFunc-2 4263577 3796006 -10.97%
BenchmarkAfter-2 1000057200 15459028000 +1445.81%
BenchmarkStop-2 820046 1302602 +58.84%
BenchmarkSimultaneousAfterFunc-2 957054 1965603 +105.38%
BenchmarkStartStop-2 385022 473867 +23.08%
BenchmarkTicker-2 1000057 15620028 +1461.91%
BenchmarkNow-2 20.6 20.3 -1.46%