trace

command
v0.0.0-...-e636a3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

README

Trace Profiling

The trace profiling can help identify the health of your programs. We will use a simple program to learn how to navigate and read some of the tracing information you can find in the trace tool.

Trace Command

// Run the website and hit the /work handler.
// The hit <control><C> to shut the service down.

// Run the trace tool with the generated profile.
go tool trace trace.out

// Look at the profile data as well.
go tool pprof ./trace cpu.pprof

Navigating the tracing tool and interpreting the data requires in class instruction.

Code Review

Profiling Test (Go Playground)


All material is licensed under the Apache License Version 2.0, January 2004.

Documentation

Overview

Sample program that performs a series of I/O related tasks to better understand tracing in Go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL