• Hana Kim's avatar
    cmd/trace: revert internal/traceparser · 6d5caf38
    Hana Kim authored
    The performance improvement is not as big as we hoped.
    Until the API is feature complete, we postpone the release
    and avoid added complexity.
    
    This change was prepared by reverting all the changes affected
    src/cmd/trace and src/internal/traceparser packages after
    golang.org/cl/137635, and then bringing back MMU computation
    APIs (originally in src/internal/traceparser) to the
    src/internal/trace package.
    
    Revert "cmd/trace: use new traceparser to parse the raw trace files"
    This reverts https://golang.org/cl/145457
      (commit 08816cb8).
    
    Revert "internal/traceparser: provide parser that uses less space and parses segments of runtime trace files"
    This reverts https://golang.org/cl/137635
      (commit daaf361f).
    
    Change-Id: Ic2a068a7dbaf4053cd9674ca7bde9c58e74385b4
    Reviewed-on: https://go-review.googlesource.com/c/150517
    Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarAustin Clements <austin@google.com>
    6d5caf38
goroutines.go 8.45 KB