Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: increase precision of GODEBUG=gctrace=1 times #10970

Closed
aclements opened this issue May 27, 2015 · 1 comment
Closed

runtime: increase precision of GODEBUG=gctrace=1 times #10970

aclements opened this issue May 27, 2015 · 1 comment
Milestone

Comments

@aclements
Copy link
Member

Currently GODEBUG=gctrace=1 truncates cpu and clock times to ms. As a result, many of these times are almost always printed as 0, which is not useful for statistics. We should change this to print some decimal places if the whole part is small, down to at least microsecond precision. That will keep the numbers in user-friendly milliseconds, while still providing more precision for when it matters.

@RLH

@aclements aclements self-assigned this May 27, 2015
@aclements aclements added this to the Go1.5 milestone May 27, 2015
@gopherbot
Copy link
Contributor

CL https://golang.org/cl/10554 mentions this issue.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants