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
cmd/trace: low_resolution_timer warning #16247
Comments
CC @dvyukov |
It's not harmful. Just ignore it. |
ok, thanks @dvyukov. |
I'm going to reopen this bug. I spent time trying to find a machine with good enough timers to make that go away, but apparently the warning is always there? This is not a good user experience. |
The warning has supposedly been removed from new versions of chrome, as of June. |
@ianlancetaylor so perhaps we simply need to re-copy the upstream sources? (The trace viewer bundled with the go tool is separate from that built into Chrome.) |
Oh, I didn't realize we had our own copy of the HTML. I guess we could make a new copy, or just clobber the warning message in misc/trace/trace_viewer_lean.html. It's easy to find by searching for "Trace time is low resolution" in that file. |
CL https://golang.org/cl/25117 mentions this issue. |
It was removed in upstream Chrome https://codereview.chromium.org/2016863004 Rather than update to the latest version, make the minimal change for Go 1.7 and change the "showToUser" boolean from true to false. Tested by hand that it goes away after this change. Updates #16247 Change-Id: I051f49da878e554b1a34a88e9abc70ab50e18780 Reviewed-on: https://go-review.googlesource.com/25117 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Not sure why this is still open. We decided the warning was not real, and it's been removed. Closing. /cc @bradfitz |
Please answer these questions before submitting your issue. Thanks!
go version
)?go version go1.7beta2 darwin/amd64
go env
)?build
./fibtrace
from https://play.golang.org/p/tWpeEL4jseThen browse to the "View trace" page (/trace).
The trace viewer displayed without a warning.
The trace viewer with a
Import Warning: low_resolution_timer: Trace time is low resolution, trace may be unusable.
warning.The text was updated successfully, but these errors were encountered: