Commit-Queue | +1 |
Ask I mentioned offline, I don't really know how to test this. Any pointers?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Code-Review | +2 |
Ask I mentioned offline, I don't really know how to test this. Any pointers?
But you did hand-test it, right?
log.Printf("failed to find objext sizes in %q: %v", opath, err)
objext?
// objectFileSizes opens a cm/compile generated objext file and
what is "cm"?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
David ChaseAsk I mentioned offline, I don't really know how to test this. Any pointers?
But you did hand-test it, right?
No. I don't know how this tool is used. I just came across a bug using find-grep in x/tools while looking for something else.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
David ChaseAsk I mentioned offline, I don't really know how to test this. Any pointers?
Tim KingBut you did hand-test it, right?
No. I don't know how this tool is used. I just came across a bug using find-grep in x/tools while looking for something else.
It benchmarks the compiler.
```
% go install golang.org/x/tools/cmd/compilebench@latest
% compilebench -short
BenchmarkTemplate 1 58970833 ns/op 147949000 user-ns/op
BenchmarkUnicode 1 43797166 ns/op 46103000 user-ns/op
BenchmarkGoTypes 1 349501292 ns/op 1102874000 user-ns/op
BenchmarkCompiler 1 66763333 ns/op 76304000 user-ns/op
BenchmarkSSA 1 2663752375 ns/op 8821012000 user-ns/op
BenchmarkFlate 1 34896833 ns/op 79261000 user-ns/op
BenchmarkGoParser 1 89897084 ns/op 160999000 user-ns/op
BenchmarkReflect 1 194949000 ns/op 479634000 user-ns/op
BenchmarkTar 1 70947542 ns/op 169373000 user-ns/op
BenchmarkXML 1 85236417 ns/op 211498000 user-ns/op
BenchmarkLinkCompiler 1 630529416 ns/op 448776000 user-ns/op
BenchmarkExternalLinkCompiler 1 6208228417 ns/op 1448390000 user-ns/op
BenchmarkLinkWithoutDebugCompiler 1 198396375 ns/op 197716000 user-ns/op
BenchmarkStdCmd 1 23286951209 ns/op
BenchmarkHelloSize 1 557056 text-bytes 184160 data-bytes 1540866 exe-bytes
BenchmarkCmdGoSize 1 6963200 text-bytes 650832 data-bytes 18360546 exe-bytes
```
You would not want to run it as a test, it takes a while.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |