Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Builder linux-rel-css Build #8567

Results:

Build successful

SourceStamp:

Projectservo/servo
Repositoryhttps://github.com/servo/servo
Branchauto
Revisiona27c62717ee429348d5cc9b7b816dee56dff2f2f
Got Revisiona27c62717ee429348d5cc9b7b816dee56dff2f2f
Changes1 change

BuildSlave:

servo-linux3

Reason:

The AnyBranchScheduler scheduler named 'servo-auto' triggered this build

Steps and Logfiles:

  1. git update ( 7 secs )
    1. stdio
  2. generic generic ( 0 secs )
    1. - no logs -
  3. generic_1 generic_1 ( 0 secs )
    1. - no logs -
  4. shell 'pkill -x ...' ( 0 secs )
    1. stdio
  5. shell__1 './mach clean-nightlies ...' ( 12 secs )
    1. stdio
  6. shell__2 './mach clean-cargo-cache ...' ( 0 secs )
    1. - no logs -
  7. shell__3 './etc/ci/clean_build_artifacts.sh' ( 0 secs )
    1. stdio
  8. compile ran build --release --with-debug-assertions ( 11 mins, 18 secs )
    1. - no logs -
  9. test ran test-wpt --release --processes 24 --total-chunks 2 --this-chunk 2 --always-succeed ( 11 mins, 39 secs )
    1. - no logs -
  10. shell__4 './mach filter-intermittents ...' ( 5 secs )
    1. stdio
    2. filtered-wpt-errorsummary.log
  11. compile__1 ran build-geckolib --release ( 2 mins, 45 secs )
    1. - no logs -
  12. test__1 ran test-stylo --release ( 38 secs )
    1. - no logs -
  13. shell__5 'bash ./etc/ci/lockfile_changed.sh' ( 0 secs )
    1. stdio
  14. shell__6 'bash ./etc/ci/manifest_changed.sh' ( 39 secs )
    1. stdio
  15. shell__7 './etc/ci/clean_build_artifacts.sh' ( 0 secs )
    1. stdio

Build Properties:

NameValueSource
branch auto Build
builddir /home/servo/buildbot/slave/linux-rel-css slave
buildername linux-rel-css Builder
buildnumber 8567 Build
codebase Build
got_revision a27c62717ee429348d5cc9b7b816dee56dff2f2f Git
project servo/servo Build
repository https://github.com/servo/servo Build
revision a27c62717ee429348d5cc9b7b816dee56dff2f2f Build
scheduler servo-auto Scheduler
slavename servo-linux3 BuildSlave
warnings-count 0 WarningCountingShellCommand
workdir /home/servo/buildbot/slave/linux-rel-css slave (deprecated)

Forced Build Properties:

NameLabelValue

Responsible Users:

  1. bors-servo

Timing:

StartTue Apr 24 05:32:28 2018
EndTue Apr 24 05:59:55 2018
Elapsed27 mins, 27 secs

All Changes:

:

  1. Change #79434

    Category None
    Changed by bors-servo <lbergstrom+borsohnoyoudont@mozilla.com>
    Changed at Tue 24 Apr 2018 05:32:26
    Repository https://github.com/servo/servo
    Project servo/servo
    Branch auto
    Revision a27c62717ee429348d5cc9b7b816dee56dff2f2f

    Comments

    Auto merge of #20680 - Brody-Eastwood:master, r=emilio
    
    Moved Canvas rendering to a single thread.
    
    <!-- Please describe your changes on the following line: -->
    
    Implements the "Subsequent Steps" part of the [NCSU Canvas rendering project.](https://github.com/servo/servo/wiki/Canvas-rendering-project)
    
    I moved most of the functionality from CanvasPaintThread to CanvasData, so CanvasPaintThread essentially just pulls the info out of the message and calls a method on a particular CanvasData element.
    
    I ran into some awkwardness with the fact that one can only take a single mutable reference from a hashmap, though. DrawImageInOther is not really possible to do with only one reference at a time, so it awkwardly still lives in CanvasPaintThread, basically. I also would've preferred to take the reference at the top as soon as I get the CanvasId, since that looks cleaner than having them all start with "canvas_paint_thread.canvases.get_mut[&canvas_id].unwrap()" but that makes trying to take the second reference for DrawImageInOther fail to compile. I'm definitely open to suggestions on how to make that less gross.
    
    The timed single-canvas drawing improved in performance from around ~2.2ms to around ~1.7ms. Slither.io runs better and doesn't crash, but I'm not having it crash on my copy from before these changes, so I don't know if that's new behavior or not.
    
    ---
    <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
    - [X] `./mach build -d` does not report any errors
    - [X] `./mach build-geckolib` does not report any errors
    - [X] `./mach test-tidy` does not report any errors
    - [X] These changes fix #13879 and #10381.
    
    <!-- Either: -->
    - [X] There are tests for these changes (added in the initial steps)
    
    <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
    
    <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
    
    <!-- Reviewable:start -->
    ---
    This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20680)
    <!-- Reviewable:end -->

    Changed files

    • components/canvas/canvas_data.rs
    • components/canvas/canvas_paint_thread.rs
    • components/canvas/lib.rs
    • components/canvas_traits/canvas.rs
    • components/constellation/constellation.rs
    • components/script/dom/canvasrenderingcontext2d.rs