-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: use
tempfile
in inferno-flame
This commit updates the `inferno-flame` example to use the `tempfile` crate as a replacement for the unmaintained `tempdir` crate. Also, the previous version of the example output the flamegraph inside the temporary directory. Since the temporary directory is cleaned up when the program exits, this means the user can't actually look at the flamegraph when running this example. I've changed the example to put the flamegraph in the current working dir instead, so the user can look at it. Signed-off-by: Eliza Weisman <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
12 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