Commit f3f990a6 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Trim down the hotpath output.

parent 2aa0f92f
...@@ -89,7 +89,7 @@ func main() { ...@@ -89,7 +89,7 @@ func main() {
fmt.Println("Operation counts:", timing.OperationCounts()) fmt.Println("Operation counts:", timing.OperationCounts())
hot, unique := timing.HotPaths("GetAttr") hot, unique := timing.HotPaths("GetAttr")
top := 200 top := 20
start := len(hot)-top start := len(hot)-top
if start < 0 { if start < 0 {
start = 0 start = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment