Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Wed, 17 Oct 2018 12:15:00 +0000 Video: Using the Go tracer #justforfunc #profiling <span class="_mfoc"><span class="_mzgc">What's the best way to create a Mandelbrot fractal in Go? pprof is not enough to help us with this ... let's learn how to use the Go tracer instead! 20 points posted by kenny https://www.youtube.com/watch?v=ySy3sR1LFCQ 2835 Mon, 23 Oct 2017 10:32:00 +0000 The Go execution tracer #profiling <p>Ever wondered how are your goroutines being scheduled by the go runtime? Ever tried to understand why adding concurrency to your program has not given it better performance? The go execution tracer can help answer these and other questions to help you diagnose performance issues, e.g, latency, contention and poor parallelization.</p> 18 points posted by kenny https://blog.gopheracademy.com/advent-2017/go-execution-tracer 3042 Sun, 24 Dec 2017 07:25:00 +0000 strace - add tracing to go programs #profiling #debugging <h3>tracing for go programs</h3> <p>gotrace annotates function calls in go source files with log statements on entry and exit.</p> 13 points posted by kenny https://github.com/jbardin/gotrace 2970 Tue, 28 Nov 2017 16:20:00 +0000 A profiling adventure to speed up go #profiling <p name="654d" id="654d" class="graf graf--p graf-after--h3">At <a href="https://www.ravelin.com/" data-href="https://www.ravelin.com" class="markup--anchor markup--p-anchor" rel="noopener nofollow noopener" target="_blank" style="color: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.439216); background-image: linear-gradient(rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 50%); background-repeat: repeat-x; background-size: 2px 0.1em; background-position: 0px 1.07em;">Ravelin</a>, we catch fraudsters using machine learning. We extract hundreds of different signals from data that our clients send us — such as the prior fraudulence of a location, the number of devices in a customer’s graph network — in real time through our feature extraction service. We then pass these features through our trained models to produce a likelihood of fraud.</p><figure name="d2cc" id="d2cc" class="graf graf--figure graf-after--p" style="margin: 43px 0px 0px; position: relative; clear: both; outline: 0px; box-sizing: border-box; user-select: auto; z-index: 100; color: rgba(0, 0, 0, 0.8); font-family: -apple-system, system-ui, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 18px; background-color: rgb(255, 255, 255);"><div class="aspectRatioPlaceholder is-locked"></div></figure> 12 points posted by fridim https://syslog.ravelin.com/a-profiling-adventure-to-speed-up-go-5cfa198759db 1727 Mon, 13 Feb 2017 13:09:00 +0000 Video: How to optimize Go for high performance #profiling 12 points posted by gopher https://www.youtube.com/watch?v=ZuQcbqYK0BY 802 Sat, 30 Apr 2016 13:03:00 +0000 Daily code optimization using benchmarks and profiling #gophercon #profiling A gophercon india 2016 talk by Karthic Rao - need some help with analyzing whether algorithm A performs faster than B? Or can I know whether method A performs better than method B? Or is approach A to send JSON response to the client performs better than approach B? How to find answers for everyday performance related questions? 12 points posted by lolly https://medium.com/@hackintoshrao/daily-code-optimization-using-benchmarks-and-profiling-in-golang-gophercon-india-2016-talk-874c8b4dc3c5 612 Sat, 20 Feb 2016 23:58:00 +0000 Profiling go #profiling 11 points posted by lolly http://www.integralist.co.uk/posts/profiling-go 2896 Sun, 05 Nov 2017 06:42:00 +0000 Go torch - a Stochastic flame graph profiler #profiling A tool for stochastically profiling Go programs. Collects stack traces and synthesizes them into a flame graph. Uses Go's built in <a href="https://golang.org/pkg/net/http/pprof/">pprof</a> library. 11 points posted by lolly https://github.com/uber/go-torch 675 Tue, 08 Mar 2016 06:10:00 +0000 Using Go Torch to create flame graphs and profile a Go program #profiling 10 points posted by kenny http://uber.github.io/gotorch 1015 Fri, 26 Aug 2016 02:08:00 +0000 goprofui - profiling deployed binaries in real-time with flame graphs and plots. #profiling #flamegraphs Profiling deployed binaries in real-time with flame graphs and plots by wirelessregistry 9 points posted by kenny https://github.com/wirelessregistry/goprofui 1876 Mon, 06 Mar 2017 06:05:00 +0000 Optimising go allocations using pprof #profiling 8 points posted by kenny https://www.robustperception.io/optimising-go-allocations-using-pprof 1605 Mon, 23 Jan 2017 09:20:00 +0000 Code: Visualize call graph of your Go program using dot graphs #profiling Intended purpose of this tool is to show overview of your code's structure by visually representing call graph and type relations. This is especially useful in larger projects where the complexity of the code rises. 8 points posted by truefurby https://github.com/TrueFurby/go-callvis 1463 Wed, 04 Jan 2017 13:56:00 +0000 Cpustat - high frequency performance measurements for Linux #ops #profiling 8 points posted by kenny https://github.com/uber-common/cpustat 659 Fri, 04 Mar 2016 13:50:00 +0000 Benchmark storage and analysis system #profiling We're happy to announce the launch of https://perf.golang.org/, a benchmark storage and analysis system. It provides a standard place to share benchmark results. If you make changes to any performance-sensitive code, run the Go benchmarks as you normally do. If you’re not using it already, please use benchstat instead of benchcmp to compare benchmark results.&nbsp;Benchstat computes statistics across multiple runs of a benchmark and determines whether differences between old and new runs are statistically significant.<div><div>When you want to publish a benchmark result (for example, when you are ready to mail a CL), run benchsave instead of benchstat (benchsave old.txt new.txt). This will upload the results and print benchstat output as well as a URL; please include both in your CL description.</div></div> 7 points posted by kenny https://perf.golang.org/ 1889 Wed, 08 Mar 2017 15:37:00 +0000 Measure performance changes #profiling 7 points posted by tacu http://pliutau.com/measure-performance-changes 1808 Fri, 24 Feb 2017 10:11:00 +0000 How To Build a User-Level CPU Profiler by Russ Cox #profiling 7 points posted by lolly http://research.swtch.com/pprof 1102 Fri, 23 Sep 2016 19:12:00 +0000 Slides: You, latency and profiling #gopherconindia #profiling 6 points posted by kenny https://speakerdeck.com/filosottile/you-latency-and-profiling-at-gophercon-india-2017 1813 Sat, 25 Feb 2017 07:11:00 +0000 gcvis - visualise Go program GC trace data in real time #profiling Visualise Go program GC trace data in real time by dave cheney 6 points posted by gopher https://github.com/davecheney/gcvis 1594 Sat, 21 Jan 2017 22:30:00 +0000 Prism - Profiler injection and analysis tool #profiling Prism is a tool that allows you to collect and analyze profiling data from your go applications. It is not meant to be used as a replacement for tools like pprof but rather as an alternative. 6 points posted by tomf https://github.com/geckoboard/prism 1478 Thu, 05 Jan 2017 21:10:00 +0000 Debugging performance issues in go programs #profiling 6 points posted by gopher https://software.intel.com/en-us/blogs/2014/05/10/debugging-performance-issues-in-go-programs 963 Thu, 28 Jul 2016 08:42:00 +0000 Profiling and optimizing go web applications #profiling 5 points posted by kenny http://artem.krylysov.com/blog/2017/03/13/profiling-and-optimizing-go-web-applications 1939 Wed, 15 Mar 2017 21:10:00 +0000 Golang performance and memory analysis #profiling 5 points posted by kenny http://blog.ralch.com/tutorial/golang-performance-and-memory-analysis 467 Mon, 14 Dec 2015 21:18:00 +0000 Investigating go memory leaks #profiling 4 points posted by norbertfuhs https://www.cossacklabs.com/blog/investigating-go-memory-leaks.html 1849 Thu, 02 Mar 2017 13:38:00 +0000 Memlat - a web-based interactive browser for memory load latency profiles #profiling 4 points posted by andythomas https://godoc.org/github.com/aclements/go-perf/cmd/memlat 739 Tue, 29 Mar 2016 11:36:00 +0000 The Go garbage collector and liveness #profiling 3 points posted by tollela http://www.tedunangst.com/flak/post/go-garbage-collector-and-liveness 1755 Fri, 17 Feb 2017 08:44:00 +0000