Uh oh!
There was an error while loading. Please reload this page.
Use measureme in self profiler - #59515
Conversation
Uh oh!
There was an error while loading. Please reload this page.
michaelwoerister
commented
Apr 2, 2019
Looks like a good start! Eventually I'd like to have query names instead of dep-node names here but I don't know how to exactly do that yet. Have you done performance tests on Windows? If the mmap-sink performance worse than the file-sink there, I think I'd like to get rid of the For now, I think we should just ignore the category data. Later we could encode it in the I think we can just publish |
wesleywiser
commented
Apr 4, 2019
Originally I passed
I've been working on getting rustc to build on my Windows box. It's been a long time since I used it and my msvc toolchain was completely out of date. I think that's resolved now and I'm just waiting for LLVM to build. I should have the performance data tonight.
Ok that's fine. I'll remove the other unused
I'd personally vote for publishing on crates.io |
wesleywiser
commented
Apr 5, 2019
Results of testing on Windows:
|
michaelwoerister
commented
Apr 5, 2019
Great, thanks for getting those numbers. Let's use the |
michaelwoerister
commented
Apr 5, 2019
It looks like a recent PR fixed this for us by making |
wesleywiser
commented
Apr 5, 2019
Oh, wonderful! I can make that change tonight. Do we have consensus on how to add the |
michaelwoerister
commented
Apr 5, 2019
Let's go via |
michaelwoerister
commented
Apr 5, 2019
Note that |
wesleywiser
commented
Apr 8, 2019
@michaelwoerister Do you like the approach in edff02e better? |
michaelwoerister
commented
Apr 9, 2019
I do -- but it still has some runtime overhead for cloning the query key. Could you try to add an associated constant to |
wesleywiser
commented
Apr 9, 2019
Oh yeah, that's a better idea |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
michaelwoerister
commented
Apr 10, 2019
I left a few comments. Looks like this is almost ready to merge. |
wesleywiser
commented
Apr 10, 2019
Thanks for the feedback @michaelwoerister! I've made those changes, pushed, and marked this PR as ready for review. |
wesleywiser
commented
Apr 13, 2019
@bors r=michaelwoerister |
bors
commented
Apr 13, 2019
📌 Commit 56e434d has been approved by |
[WIP] Implement event filtering for self-profiler. This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from #59515 and, for the moment, is meant for performance testing. r? @wesleywiser
bors
commented
Apr 13, 2019
Use measureme in self profiler r? @michaelwoerister ~Changes are still very rough.~ ~I'm not sure what the right way to add the `measureme` dependency is. Currently it's just added with a relative path which Works On My Machine ™️.~ I'm also not sure what to do with the category data.
bors
commented
Apr 13, 2019
☀️ Test successful - checks-travis, status-appveyor |
…, r=wesleywiser Implement event filtering for self-profiler. This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing. r? @wesleywiser
…, r=wesleywiser Implement event filtering for self-profiler. This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing. r? @wesleywiser
…, r=wesleywiser Implement event filtering for self-profiler. This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing. r? @wesleywiser
…, r=wesleywiser Implement event filtering for self-profiler. This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing. r? @wesleywiser
…, r=wesleywiser Implement event filtering for self-profiler. This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing. r? @wesleywiser
…, r=wesleywiser Implement event filtering for self-profiler. This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing. r? @wesleywiser
…, r=wesleywiser Implement event filtering for self-profiler. This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing. r? @wesleywiser
…, r=wesleywiser Implement event filtering for self-profiler. This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing. r? @wesleywiser
…, r=wesleywiser Implement event filtering for self-profiler. This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing. r? @wesleywiser
r? @michaelwoerister
Changes are still very rough.I'm not sure what the right way to add themeasuremedependency is. Currently it's just added with a relative path which Works On My Machine ™️.I'm also not sure what to do with the category data.