-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new scheduler: intervals instead of each hour
add dhat and profiling instructions
- Loading branch information
1 parent
8381f0c
commit 4170421
Showing
36 changed files
with
2,368 additions
and
2,136 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ tests/rust_tests.rs | |
_logs/ | ||
js-api/ | ||
tests/jsons/stable/tijl-goals | ||
.idea | ||
.idea | ||
/dhat-heap.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
## Profiling setup | ||
|
||
### Samply | ||
|
||
Samply is a general-purpose sampler that uses the firefox profiler. | ||
https://github.com/mstange/samply/ | ||
|
||
### DHAT | ||
|
||
DHAT is a heap allocation profiler. | ||
You can launch the profiler using `cargo t --release --features dhat-heap --test rust_tests e2e::tijl_goals`. | ||
Launch all tests in single-threaded mode - since there can't be two profilers running at the same | ||
time: `cargo t --release --features dhat-heap --test rust_tests -- --test-threads=1 | ||
`. | ||
View the `dhat-heap.json` with an on/offline viewer, for | ||
example https://nnethercote.github.io/dh_view/dh_view.html |
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
Oops, something went wrong.