Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record time spent uploading in RendererStats #3275

Merged
merged 1 commit into from
Nov 12, 2018

Conversation

mattwoodrow
Copy link
Contributor

@mattwoodrow mattwoodrow commented Nov 6, 2018

For gecko bug 1503405, we want to know the amount of time we spent doing texture uploads when drawing a frame.


This change is Reviewable

@bholley
Copy link
Contributor

bholley commented Nov 6, 2018

Hm, do we actually want to include gpu cache upload time? It is technically texture upload, but it's really more about sending parameters for the shaders, which is pretty separate from the images and such in the texture cache. If we're going to measure it, maybe we should measure it separately?

@nical
Copy link
Contributor

nical commented Nov 6, 2018

+1 for measuring both separately. They are stressing the same bottleneck but they are different things to investigate.

@mattwoodrow
Copy link
Contributor Author

Yeah that's probably a good idea, updated the pull to store the two values separately.

Need to think about the best way to report these with gecko telemetry.

@gw3583
Copy link
Contributor

gw3583 commented Nov 12, 2018

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 8a1235e has been approved by gw3583

@bors-servo
Copy link
Contributor

⌛ Testing commit 8a1235e with merge dfb2517...

bors-servo pushed a commit that referenced this pull request Nov 12, 2018
Record time spent uploading in RendererStats

For gecko bug 1503405, we want to know the amount of time we spent doing texture uploads when drawing a frame.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3275)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: gw3583
Pushing dfb2517 to master...

@bors-servo bors-servo merged commit 8a1235e into servo:master Nov 12, 2018
@mattwoodrow mattwoodrow deleted the upload-time branch November 13, 2018 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants