Simon Sapin
959ce482dd
Stop relying on linking details of std’s default allocator
...
We’ve been bitten before by symbol names changing:
https://github.com/servo/heapsize/pull/46
and upstream is planning to stop using jemalloc by default:
https://github.com/rust-lang/rust/issues/33082#issuecomment-309781465
So use the (relatively) new `#[global_allocator]` attribute
to explicitly select the system allocator on Windows
and jemalloc (now in an external crate) on other platforms.
This choice matches current defaults.
2017-10-19 09:52:50 +02:00
Simon Sapin
d6d772eba0
Make use of unstable alloc_jemalloc crate optional
2017-10-13 11:11:00 +02:00
Simon Sapin
aa5761a5fb
Remove usage of unstable box syntax, except in the script crate
...
… because there’s a lot of it,
and script still uses any other unstable features anyway.
2017-10-12 12:10:56 +02:00
Fernando Jiménez Moreno
360f2cc492
Add option to write profiler output to InfluxDB
2017-07-03 10:13:46 +02:00
Simon Sapin
605ef8b7ec
Remove explicit dependencies on serde_derive
2017-06-16 13:58:21 +02:00
Anthony Ramine
63c4490e73
Kill the plugins crate and its clippy support
...
Sometimes clippy gets outdated by months, and its current support setup
means that each Servo component need to opt into it by depending on
the plugins crate manually, and not all components do that.
2017-02-21 11:50:36 +01:00
Ms2ger
14fe337866
Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23).
2017-01-24 11:02:51 +01:00
Simon Sapin
67aea3bba4
Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06)
2017-01-06 17:43:31 +01:00
Alan Jeffrey
9be4fd56ce
Removed util.
2016-12-14 18:04:37 -06:00
Anthony Ramine
c4f27e42b7
Remove #![feature(custom_derive)]
2016-11-03 10:14:21 +01:00
Anthony Ramine
1854566683
Update to Rust 1.14.0-nightly (19ac57926 2016-10-08)
...
A cargo bump and a switch to serde_derive is needed to do this rustup.
2016-10-09 18:53:47 +02:00
Anthony Ramine
f88302ebf3
Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04)
2016-08-05 14:45:32 +02:00
Connor Imes
101aa0d030
Update heartbeats-simple to 0.3.0
2016-06-20 11:25:01 -05:00
Anthony Ramine
7bc768f358
Do not use libc in profile on Windows
2016-05-17 01:12:10 +02:00
Anthony Ramine
8eb363528b
Fix all Windows warnings
2016-05-16 23:26:12 +02:00
Nick Fitzgerald
9fbb5c720e
Add a method for dumping self-contained HTML timeline profiles
...
This commit adds the `--profiler-trace-path` flag. When combined with `-p` to
enable profiling, it dumps a profile as a self-contained HTML file to the given
path. The profile visualizes the traced operations as a gant-chart style
timeline.
2016-04-27 18:35:17 -07:00
Zbynek Winkler
b021874ba0
Silence unused-extern-crates false positives.
...
Added #[allow(unused_extern_crates)] to silence false positives
* bitflags, lazy_static and matches because macro_use
* alloc_jemalloc because builtin crate
See https://github.com/rust-lang/rust/issues/30849
2016-04-22 22:20:05 +02:00
Ms2ger
08083f1c9d
Deny unsafe code in more crates.
2016-03-18 14:43:03 +01:00
UK992
5d24f7c6b7
Fix build on Windows
2016-03-03 16:17:19 -06:00
bors-servo
d48d8b3ea1
Auto merge of #8713 - GuillaumeGomez:features, r=Manishearth
...
Remove stabilized features
Fixes #8706 .
cc @KiChjang
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8713 )
<!-- Reviewable:end -->
2015-11-28 21:58:43 +05:30
Guillaume Gomez
e1e2b61049
Remove stabilized features
2015-11-28 05:48:03 +01:00
Guillaume Gomez
6e7de62b38
Add check up on extern crate order and sort extern crates alphabetically
2015-11-28 03:11:08 +01:00
Lars Bergstrom
17a6cb5873
New Android suppport
2015-11-04 16:29:39 -06:00
Ravi Shankar
889eec364b
sorted the extern crate, mod & use declarations
2015-09-24 02:12:45 +05:30
erneyja
17663315dd
make test-tidy check that = have space after them
2015-09-01 07:18:19 -04:00
Connor Imes
054cbf2dce
Integrate with simple Heartbeats
2015-08-22 07:45:20 +08:00
bors-servo
4837dd9a1c
Auto merge of #6850 - servo:rustup_2015-07-30, r=SimonSapin
...
Upgrade to rustc 1.3.0-dev (87055a68c 2015-07-30)
This builds and passes unit tests.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6850 )
<!-- Reviewable:end -->
2015-07-30 14:46:13 -06:00
Simon Sapin
85aa1658cc
Have our copy of the now deprecated std::env::page_size
2015-07-30 17:31:50 +02:00
Patrick Walton
f10c076180
profile: Make the time and memory profilers run over IPC.
...
Uses the `Router` abstraction inside `ipc-channel` to avoid spawning new
threads.
2015-07-24 17:02:17 -07:00
Simon Sapin
a3c0366bd6
Fix deprecation warnings
2015-07-24 22:16:35 +02:00
Ms2ger
73a7e92bfd
Update to rustc 2d0cbf3e3e25e092bd9e4c94d08e446b680869f0.
2015-06-25 20:02:36 +02:00
Manish Goregaokar
89d4ee88f4
Audit and reduce unstable usage in profile
...
Reasons behind existing unstable features:
collections:
- `[T].tail()` (naming)
- Could use iterators instead
2015-06-10 00:20:12 +05:30
Eduard Burtescu
00e8e5f77d
Use the correct log crate and setup env_logger in main.
2015-06-06 23:20:40 +03:00
Simon Sapin
ef8edd4e87
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
2015-05-05 10:07:34 -04:00
Nicholas Nethercote
092507d23c
Add a profile_traits
crate to reduce compile times.
...
A rebuild after touching components/profile/mem.rs now takes 48 seconds (and
only rebuilds `profile` and `servo`) which is much lower than it used to be.
In comparison, a rebuild after touching components/profile_traits/mem.rs takes
294 seconds and rebuilds many more crates.
This change also removes some unnecessary crate dependencies in `net` and
`net_traits`.
2015-04-30 17:58:47 -07:00
Brandon DeRosier
ccc55d658f
Use box syntax instead of Box::new()
...
Closes #5417
2015-03-29 13:41:14 -04:00
Nicholas Nethercote
52447ccd9b
Move profiler code from util
into a new crate profile
.
...
- Most of util::memory has been moved into profile::mem, though the
`SizeOf` trait and related things remain in util::memory. The
`SystemMemoryReporter` code is now in a submodule
profile::mem::system_reporter.
- util::time has been moved entirely into profile::time.
2015-03-24 02:09:31 -07:00