Skip to content

Add documentation for the -Zself-profile flag - #69220

Merged
bors merged 2 commits into
rust-lang:masterfrom
wesleywiser:doc_self_profile_unstable_book
Feb 25, 2020
Merged

Add documentation for the -Zself-profile flag#69220
bors merged 2 commits into
rust-lang:masterfrom
wesleywiser:doc_self_profile_unstable_book

Conversation

@wesleywiser

Copy link
Copy Markdown
Member

No description provided.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @QuietMisdreavus

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 17, 2020
@andjo403

Copy link
Copy Markdown
Contributor

nice work. shall there maybe also be some short description of the -Zself_profile_events?

@wesleywiser
wesleywiserforce-pushed the doc_self_profile_unstable_book branch from 9653640 to 58ec5d2CompareFebruary 17, 2020 11:42
@wesleywiser

Copy link
Copy Markdown
MemberAuthor

@andjo403 Yeah, that's a good idea!

@andjo403

Copy link
Copy Markdown
Contributor

this looks amazing

@wesleywiser

Copy link
Copy Markdown
MemberAuthor

Thanks!

@wesleywiser

Copy link
Copy Markdown
MemberAuthor

r? @nikomatsakis

@wesleywiser

Copy link
Copy Markdown
MemberAuthor

cc @michaelwoerister

Comment threadsrc/doc/unstable-book/src/compiler-flags/self-profile-events.md Outdated
Comment threadsrc/doc/unstable-book/src/compiler-flags/self-profile-events.md Outdated
Comment threadsrc/doc/unstable-book/src/compiler-flags/self-profile-events.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

off-topic: we should measure if enabling this by default adds noticeable overhead.

Comment threadsrc/doc/unstable-book/src/compiler-flags/self-profile-events.md Outdated
@michaelwoerister

Copy link
Copy Markdown
Member

Looks great! I left a few minor suggestions.

@wesleywiser
wesleywiserforce-pushed the doc_self_profile_unstable_book branch from 58ec5d2 to 5b7e6c0CompareFebruary 21, 2020 02:32
@wesleywiser

Copy link
Copy Markdown
MemberAuthor

Thanks @michaelwoerister! I applied your suggestions.

@nikomatsakisnikomatsakis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wonderful, thanks @wesleywiser

@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Feb 24, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 5b7e6c0 has been approved by nikomatsakis

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 24, 2020
@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors rollup=always

Just edits documentation, low risk.

@wesleywiser

Copy link
Copy Markdown
MemberAuthor

Thanks @nikomatsakis! Once this lands, I'll update the blog post to link to these docs, update the post date and then we'll be ready to post it.

bors added a commit that referenced this pull request Feb 25, 2020
Rollup of 6 pull requests
Successful merges:
- #69220 (Add documentation for the `-Zself-profile` flag)
- #69391 (Add rustdoc aliases to `ptr::copy` and `ptr::copy_nonoverlapping`)
- #69427 (Cleanup e0368 e0369)
- #69433 (don't explicitly compare against true or false)
- #69435 (Replace uses of Cell::get + Cell::set with Cell::replace.)
- #69437 (no more codegen for miri_start_panic)
Failed merges:
r? @ghost
@bors
bors merged commit d916578 into rust-lang:masterFeb 25, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@wesleywiser@rust-highfive@andjo403@michaelwoerister@nikomatsakis@bors@QuietMisdreavus