servo/tests/unit
bors-servo b9af49f120 Auto merge of #12327 - malisas:profile-stats, r=jdm
Profile stats

<!-- Please describe your changes on the following line: -->
Pulled out profiler statistics calculation into its own function in time.rs, added tests for it, and simplified min and max calculation for pre-sorted data.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

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

<!-- 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/12327)
<!-- Reviewable:end -->
2016-07-07 21:08:50 -07:00
..
gfx Don't load all font faces sources 2016-06-10 21:51:06 +02:00
layout Remove the wrapper::ServoThreadSafeLayoutNode re-export. 2016-06-20 19:08:09 +02:00
net Integration and improvements of File API backends 2016-07-04 23:02:03 +08:00
net_traits Move trim_http_whitespace to net_traits. 2016-06-07 14:20:08 +02:00
profile Add test to assert that servo panics when the length of a given data is zero. 2016-07-07 13:14:35 -07:00
script Make textinput handle actual key values. Don't restrict character values to a single byte. 2016-07-06 00:10:24 -04:00
style Upgrade rust-selectors. 2016-07-05 18:03:40 -07:00
util Move util::str to style 2016-07-05 10:43:54 +02:00