aboutsummaryrefslogtreecommitdiffstats
path: root/components/profile/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make the memory reporting multi-process aware (#35863)webbeef2025-04-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | So far the memory reporter aggregates reports from all processes, and runs the system reporter only in the main process. Instead it is desirable to have per-process reports. We do so by: - creating a ProcessReports struct that holds includes the pid in addition to the reports themselves. - running the system memory reporter also in content processes. - updating the about:memory page to create one report per process, and add useful information like the pid and the urls loaded in a given process. <!-- Please describe your changes on the following line: --> --- <!-- 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 ![image](https://github.com/user-attachments/assets/0bafe140-539d-4d6a-8316-639309a22d4a) Signed-off-by: webbeef <me@webbeef.org>
* remove `extern crate` (#30311)Samson2023-09-081-5/+0
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Remove support for heartbeats profilingSimon Sapin2020-06-041-4/+0
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-16/+0
|
* Update hyper to 0.12Bastien Orivel2018-11-011-0/+1
|
* Stop relying on linking details of std’s default allocatorSimon Sapin2017-10-191-5/+2
| | | | | | | | | | | | 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.
* Make use of unstable alloc_jemalloc crate optionalSimon Sapin2017-10-131-2/+3
|
* Remove usage of unstable box syntax, except in the script crateSimon Sapin2017-10-121-1/+0
| | | | | … because there’s a lot of it, and script still uses any other unstable features anyway.
* Add option to write profiler output to InfluxDBFernando Jiménez Moreno2017-07-031-0/+1
|
* Remove explicit dependencies on serde_deriveSimon Sapin2017-06-161-1/+1
|
* Kill the plugins crate and its clippy supportAnthony Ramine2017-02-211-2/+0
| | | | | | 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.
* Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23).Ms2ger2017-01-241-1/+0
|
* Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06)Simon Sapin2017-01-061-1/+0
|
* Removed util.Alan Jeffrey2016-12-141-1/+1
|
* Remove #![feature(custom_derive)]Anthony Ramine2016-11-031-1/+0
|
* Update to Rust 1.14.0-nightly (19ac57926 2016-10-08)Anthony Ramine2016-10-091-2/+4
| | | | A cargo bump and a switch to serde_derive is needed to do this rustup.
* Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04)Anthony Ramine2016-08-051-1/+0
|
* Update heartbeats-simple to 0.3.0Connor Imes2016-06-201-1/+1
|
* Do not use libc in profile on WindowsAnthony Ramine2016-05-171-0/+1
|
* Fix all Windows warningsAnthony Ramine2016-05-161-1/+1
|
* Add a method for dumping self-contained HTML timeline profilesNick Fitzgerald2016-04-271-0/+5
| | | | | | | 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.
* Silence unused-extern-crates false positives.Zbynek Winkler2016-04-221-0/+1
| | | | | | | | | 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
* Deny unsafe code in more crates.Ms2ger2016-03-181-0/+4
|
* Fix build on WindowsUK9922016-03-031-0/+1
|
* Auto merge of #8713 - GuillaumeGomez:features, r=Manishearthbors-servo2015-11-281-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | 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 -->
| * Remove stabilized featuresGuillaume Gomez2015-11-281-1/+0
| |
* | Add check up on extern crate order and sort extern crates alphabeticallyGuillaume Gomez2015-11-281-6/+5
|/
* New Android suppportLars Bergstrom2015-11-041-0/+3
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-7/+8
|
* make test-tidy check that = have space after themerneyja2015-09-011-2/+2
|
* Integrate with simple HeartbeatsConnor Imes2015-08-221-0/+3
|
* Auto merge of #6850 - servo:rustup_2015-07-30, r=SimonSapinbors-servo2015-07-301-2/+1
|\ | | | | | | | | | | | | | | | | | | 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 -->
| * Have our copy of the now deprecated `std::env::page_size`Simon Sapin2015-07-301-1/+0
| |
| * Fix deprecation warningsSimon Sapin2015-07-241-1/+1
| |
* | profile: Make the time and memory profilers run over IPC.Patrick Walton2015-07-241-0/+1
|/ | | | | Uses the `Router` abstraction inside `ipc-channel` to avoid spawning new threads.
* Update to rustc 2d0cbf3e3e25e092bd9e4c94d08e446b680869f0.Ms2ger2015-06-251-2/+2
|
* Audit and reduce unstable usage in profileManish Goregaokar2015-06-101-1/+0
| | | | | | | | | Reasons behind existing unstable features: collections: - `[T].tail()` (naming) - Could use iterators instead
* Use the correct log crate and setup env_logger in main.Eduard Burtescu2015-06-061-1/+0
|
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-5/+1
|
* Add a `profile_traits` crate to reduce compile times.Nicholas Nethercote2015-04-301-1/+2
| | | | | | | | | | 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`.
* Use box syntax instead of Box::new()Brandon DeRosier2015-03-291-0/+1
| | | | Closes #5417
* Move profiler code from `util` into a new crate `profile`.Nicholas Nethercote2015-03-241-0/+27
- 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.