-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Running `buck2 profile` with both `heap-summary-*` and `heap-flame-*` gathers all the same data... this provides new `heap-*` modes that produce both outputs. Reviewed By: cjhopman Differential Revision: D69315461 fbshipit-source-id: b875c6f624cbec36aeda3485d90e97b9c47593e7
- Loading branch information
1 parent
153db5b
commit d955c5d
Showing
20 changed files
with
193 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions
13
starlark/src/eval/runtime/profile/golden/heap_flame_allocated.flame.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# @generated | ||
# To regenerate, run: | ||
# ``` | ||
# STARLARK_RUST_REGENERATE_GOLDEN_TESTS=1 cargo test -p starlark --lib | ||
# ``` | ||
|
||
range 8 | ||
module;function 16 | ||
module;test.star.test;dict 192 | ||
module;test.star.test;list 384 | ||
module;test.star.test;array 480 | ||
module;test.star.test;tuple 192 | ||
module;test.star.test;test.star.inner;dict 1760 |
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
starlark/src/eval/runtime/profile/golden/heap_retained.flame.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# @generated | ||
# To regenerate, run: | ||
# ``` | ||
# STARLARK_RUST_REGENERATE_GOLDEN_TESTS=1 cargo test -p starlark --lib | ||
# ``` | ||
|
||
module;function 16 | ||
module;test.star.test;list 8 |
11 changes: 11 additions & 0 deletions
11
starlark/src/eval/runtime/profile/golden/heap_summary_allocated.csv.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# @generated | ||
# To regenerate, run: | ||
# ``` | ||
# STARLARK_RUST_REGENERATE_GOLDEN_TESTS=1 cargo test -p starlark --lib | ||
# ``` | ||
|
||
Function,Time(s),TimeRec(s),Calls,Callers,TopCaller,TopCallerCount,Allocs,AllocBytes,dict,array,list,tuple,function | ||
"TOTALS",0.378,0.378,24,0,"",0,378,3024,244,60,48,24,2 | ||
"test.star.test",0.168,0.308,20,1,"module",1,156,1248,24,60,48,24,0 | ||
"test.star.inner",0.140,0.140,0,1,"test.star.test",1,220,1760,220,0,0,0,0 | ||
"module",0.070,0.378,4,1,"(root)",1,2,16,0,0,0,0,2 |
11 changes: 11 additions & 0 deletions
11
starlark/src/eval/runtime/profile/golden/heap_summary_retained.csv.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# @generated | ||
# To regenerate, run: | ||
# ``` | ||
# STARLARK_RUST_REGENERATE_GOLDEN_TESTS=1 cargo test -p starlark --lib | ||
# ``` | ||
|
||
Function,Time(s),TimeRec(s),Calls,Callers,TopCaller,TopCallerCount,Allocs,AllocBytes,function,list | ||
"TOTALS",0.378,0.378,24,0,"",0,3,24,2,1 | ||
"test.star.test",0.168,0.308,20,1,"module",1,1,8,0,1 | ||
"test.star.inner",0.140,0.140,0,1,"test.star.test",1,0,0,0,0 | ||
"module",0.070,0.378,4,1,"(root)",1,2,16,2,0 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters