servo/components
bors-servo 2550b47dec Auto merge of #18272 - mateon1:fix/profile-sorted-assert, r=emilio
Correct "is sorted" check in profile statistics

<!-- Please describe your changes on the following line: -->
Correct the debug_assert check for whether or not statistics collected by the --profile flag are sorted.
I'm not sure how I could add a test for this change, and whether that is necessary.

I also wonder if it makes sense to replace the sort_by calls (currently using explicit comparisons) in this file with something like
```
data.sort_by(|a, b| a.partial_cmp(b).expect("no NaN in collected statistics"))
```

---
<!-- 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 test-tidy` does not report any errors
- [X] These changes fix #18270 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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/18272)
<!-- Reviewable:end -->
2017-09-01 15:04:56 -05:00
..
atoms Rework MediaType to be an atom-based struct instead of an enum. 2017-08-09 13:25:30 -07:00
bluetooth Untry 2017-06-18 13:21:51 +02:00
bluetooth_traits Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02:00
canvas Reuse WebGL ImageKeys after a resize. 2017-08-31 22:54:33 +02:00
canvas_traits Auto merge of #18179 - davidcl:master, r=jdm 2017-08-23 17:18:31 -05:00
compositing implement clone for embedder and compositor proxies 2017-08-28 18:39:31 +08:00
config enable antialiasing by default 2017-08-29 17:50:26 +02:00
constellation implement clone for embedder and compositor proxies 2017-08-28 18:39:31 +08:00
debugger
deny_public_fields deny_public_fields: display field identifier in help message 2017-06-25 18:12:43 +01:00
devtools Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +02:00
devtools_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
dom_struct Fix quote dependency version 2017-08-23 18:35:42 +02:00
domobject_derive Fix quote dependency version 2017-08-23 18:35:42 +02:00
geometry Bump serde to 1.0 2017-06-16 13:31:18 +02:00
gfx Update WR (font instance API). 2017-08-31 16:10:30 +10:00
gfx_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
jstraceable_derive Fix quote dependency version 2017-08-23 18:35:42 +02:00
layout Auto merge of #18322 - glennw:update-wr-fonts-2, r=emilio 2017-08-31 21:59:30 -05:00
layout_thread style: Remove NODE_NEEDS_DIRTY_ON_VIEWPORT_SIZE_CHANGE. 2017-08-28 14:40:48 +02:00
layout_traits WR multi-document update 2017-07-28 22:28:11 -04:00
metrics Add paint metrics to Performance Timeline API 2017-08-23 17:30:13 +02:00
msg order derivable traits lists 2017-08-23 21:38:44 +02:00
net order derivable traits lists 2017-08-23 21:38:44 +02:00
net_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
profile Correct sortedness check in profile statistics 2017-08-28 13:17:26 +02:00
profile_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
rand
range order derivable traits lists 2017-08-23 21:38:44 +02:00
remutex order derivable traits lists 2017-08-23 21:38:44 +02:00
script Auto merge of #18327 - servo:rustup, r=nox 2017-09-01 13:54:08 -05:00
script_layout_interface order derivable traits lists 2017-08-23 21:38:44 +02:00
script_plugins Upgrade to rustc 1.21.0-nightly (7eeac1b81 2017-08-30) 2017-08-31 17:17:59 +02:00
script_traits Auto merge of #18179 - davidcl:master, r=jdm 2017-08-23 17:18:31 -05:00
selectors Report more invalid selectors (bug 1384216). 2017-08-28 17:21:57 -07:00
servo Update WR (font instance API). 2017-08-31 16:10:30 +10:00
servo_arc order derivable traits lists 2017-08-23 21:38:44 +02:00
size_of_test Add size_of_test crate 2017-05-16 10:12:51 +02:00
style Auto merge of #18347 - hsivonen:ptr-and-length-from-gecko, r=SimonSapin 2017-09-01 12:25:54 -05:00
style_derive style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
style_traits style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
url order derivable traits lists 2017-08-23 21:38:44 +02:00
webdriver_server Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +02:00
webvr Update rust-webvr to 0.8 2017-08-31 01:24:54 +02:00
webvr_traits Update rust-webvr to 0.8 2017-08-31 01:24:54 +02:00