aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source
Commit message (Collapse)AuthorAgeFilesLines
* added pipelines to all task sourcesddh2017-10-255-14/+19
| | | | changed task sources to accept pipeline ids
* added time to interactive metrics, refactored metrics to use traitsddh2017-10-245-1/+7
| | | | changed task macro to take pipeline info
* Remove use of unstable box syntax.Simon Sapin2017-10-166-7/+7
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Introduce TaskOnceAnthony Ramine2017-09-206-35/+38
| | | | | Having both TaskBox and TaskOnce allows us to remove the superfluous inner boxing from CancellableTask<T>.
* Rename Task to TaskBoxAnthony Ramine2017-09-206-16/+16
|
* Make Task require SendAnthony Ramine2017-09-206-8/+11
|
* Use task! to notify performance observersAnthony Ramine2017-09-181-21/+7
|
* Move Task to its own moduleAnthony Ramine2017-09-186-6/+8
|
* Introduce MainThreadScriptMsg::DispatchJobQueueAnthony Ramine2017-09-171-16/+0
| | | | This removes the last remaining use of Task::run_with_script_thread
* Send AsyncJobHandler as a MainThreadTaskAnthony Ramine2017-09-161-0/+16
|
* Remove FileReadingRunnableAnthony Ramine2017-09-161-15/+3
|
* Rename Runnable to TaskAnthony Ramine2017-09-166-70/+83
| | | | | | | | | | | | The changes are: * `*Runnable` -> `*Task`; * `RunnableMsg` -> `Task`; * `RunnableWrapper` -> `TaskCanceller`; * `MainThreadRunnable` -> `MainThreadTask`; * `wrap_runnable` -> `wrap_task`; * `get_runnable_wrapper` -> `task_canceller`; * `handler` -> `run`; * `main_thread_handler` -> `run_with_script_thread`.
* Reformat some task-related functionsAnthony Ramine2017-09-082-10/+16
|
* Kill UserInteractionTaskAnthony Ramine2017-09-081-17/+7
| | | | Just use a bare Runnable value.
* Kill DOMManipulationTaskAnthony Ramine2017-09-081-17/+7
| | | | Just use a bare Runnable value.
* Kill Runnable::is_cancelled ⚔️Anthony Ramine2017-09-072-6/+2
|
* Make Performance Timeline API work in WorkersFernando Jiménez Moreno2017-09-051-26/+38
|
* order derivable traits listsClément DAVID2017-08-233-3/+3
| | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
* Performance Timeline APIFernando Jiménez Moreno2017-08-172-0/+59
|
* Added Debug implementations.Alan Jeffrey2017-06-132-0/+26
|
* Properly implement TaskSource for NetworkingTaskSourceKeith Yeung2016-11-111-9/+22
|
* Update to string-cache 0.3Simon Sapin2016-11-032-2/+2
|
* Make TaskSource::queue take a &GlobalScopeAnthony Ramine2016-10-063-8/+8
|
* Introduce GlobalScope::get_runnable_wrapperAnthony Ramine2016-10-061-1/+1
|
* Implement file reading task sourceKeith Yeung2016-07-141-9/+62
| | | | And remove superfluous FileReaderEvent enum
* Make task queue API usable from non-main threads.Josh Matthews2016-07-143-12/+29
|
* Move boxing to runnable initializationConnor Brewster2016-07-133-6/+6
|
* Make all task source runnables cancellableConnor Brewster2016-07-133-15/+23
| | | | Implement all Runnable methods on CancellableRunnable to redirect to their inner runnable
* Add event runnablesConnor Brewster2016-07-112-49/+33
| | | | Make tasks a wrapper over runnables
* Combined DOMManipulationTask runnable variants into a single variantConnor Brewster2016-07-061-18/+8
|
* Add Miscellaneous event type to DOM task sourceManish Goregaokar2016-07-051-2/+4
|
* Derive Clone for DOMManipulationTaskSource, UserInteractionTaskSource.Ms2ger2016-06-032-10/+2
|
* Clean up DOMManipulationTaskSourceKeith Yeung2016-06-021-6/+22
|
* Removed unused importsPer Lundberg2016-05-151-1/+0
| | | | This fixes #11185.
* Implement user interaction task sourceKeith Yeung2016-05-113-8/+45
|
* Rename DOM manipulation messages to tasksKeith Yeung2016-05-041-1/+1
|
* Add media tasks to the DOM manipulation task queue.Josh Matthews2016-05-031-0/+3
|
* refactors entities from script_thread into script_runtimeRahul Sharma2016-04-064-4/+8
|
* change changes effecting verbosityfaineance2016-03-275-10/+5
|
* use self.0 instead of destructing single item tuple structsfaineance2016-03-275-15/+10
|
* Add task_source directoryKeith Yeung2016-03-106-0/+163
Use DOMManipulationTaskSource whenever possible