Daniel Varga
05081ead08
Backed out 9 changesets (bug 1387894) for wpt failures at /web-animations/timing-model/animations/finishing-an-animation.html on a CLOSED TREE
...
Backed out changeset 998582bf083d (bug 1387894)
Backed out changeset cd58aae7d47b (bug 1387894)
Backed out changeset a51919fb2062 (bug 1387894)
Backed out changeset ef7b589d751b (bug 1387894)
Backed out changeset 75c0249b594a (bug 1387894)
Backed out changeset 4a75f2556242 (bug 1387894)
Backed out changeset 0bff9ba4237c (bug 1387894)
Backed out changeset 80040c0a275e (bug 1387894)
Backed out changeset 02814f69872d (bug 1387894)
2019-07-30 21:05:59 +03:00
Tom Ritter
8fc9f63814
Bug 1387894 - Resolve timer intermittents when reduceTimerPrecision is disabled r=smaug
...
We unconditionally clamp all times to 20us and not just performance.now()
This will consistently apply a 'safe' minimal clamping (it's not safe but
I guess it's safer than ns-level precision) to all timestamps, and remove
intermittents that are caused by comparing a clamped performance.now() to
an unclamped [something else].
Differential Revision: https://phabricator.services.mozilla.com/D38806
2019-07-30 15:11:41 +00:00
Andreea Pavel
a929f957f0
Backed out 8 changesets (bug 1387894) for build bustages on a CLOSED TREE
...
Backed out changeset 09785dc4c5aa (bug 1387894)
Backed out changeset 05728160b89e (bug 1387894)
Backed out changeset 01e5b31bcc17 (bug 1387894)
Backed out changeset c5e16646ddb1 (bug 1387894)
Backed out changeset d1f09b772bac (bug 1387894)
Backed out changeset de538a48f455 (bug 1387894)
Backed out changeset d49cd8ef0825 (bug 1387894)
Backed out changeset fcfe77fab0ec (bug 1387894)
2019-07-30 17:17:39 +03:00
Tom Ritter
144462f57c
Bug 1387894 - Resolve timer intermittents when reduceTimerPrecision is disabled r=smaug
...
We unconditionally clamp all times to 20us and not just performance.now()
This will consistently apply a 'safe' minimal clamping (it's not safe but
I guess it's safer than ns-level precision) to all timestamps, and remove
intermittents that are caused by comparing a clamped performance.now() to
an unclamped [something else].
Differential Revision: https://phabricator.services.mozilla.com/D38806
2019-07-30 13:19:05 +00:00
Will Hawkins
caaa967057
Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=mstange,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27008
2019-04-12 16:29:48 +00:00
Bogdan Tara
ac5bb8d59f
Backed out changeset 3cd097a7b017 (bug 1539006) for po-observe.any.worker.html failures CLOSED TREE
2019-04-10 09:48:56 +03:00
Will Hawkins
bfc83d3601
Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=baku,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D26654
2019-04-10 00:14:39 +00:00
Ciure Andrei
ee381d07b7
Backed out changeset e04ef5171459 (bug 1539006) for permafailing test_worker_observer.html CLOSED TREE
2019-04-09 06:32:40 +03:00
Will Hawkins
7c7a16b094
Bug 1525051: Fix resource-timing/buffer-full-inspect-buffer-during-callback.html WPT test. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D26399
2019-04-08 23:21:08 +00:00
Will Hawkins
eb005d064d
Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D25426
2019-04-09 00:43:10 +00:00
Dorel Luca
37dbf8f2b2
Backed out changeset cd466be3bacb (bug 1525051) for mochitest failures in dom/tests/mochitest/general/test_performance_timeline.html. CLOSED TREE
2019-04-03 13:35:03 +03:00
Will Hawkins
07e1bf67c2
Bug 1525051: Fix resource-timing/buffer-full-inspect-buffer-during-callback.html WPT test. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D21156
2019-03-15 04:26:41 +00:00
Boris Zbarsky
847bb13da7
Bug 1535384 part 1. Eliminate some easy cases of MOZ_CAN_RUN_SCRIPT_BOUNDARY on webidl callbacks. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D23771
2019-03-19 05:24:39 +00:00
Ryan Hunt
ad7b7dbb30
Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21106
2019-02-25 16:05:29 -06:00
Markus Stange
beff53a46a
Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn
...
The actual subcategories will be added in later patches, so that there are no
unused categories.
Differential Revision: https://phabricator.services.mozilla.com/D11334
2019-02-16 17:37:43 +00:00
Cosmin Sabou
57bb107987
Merge mozilla-inbound to mozilla-central. a=merge
2019-01-19 11:57:49 +02:00
Greg Tatum
7ced9eb1ec
Bug 1520526 - Add categories to all profiler markers; r=mstange
...
This commit adds categories to all markers. This way the profiler's
marker categories and frame label categories agree. There are a few
duplicate category properties on some of the marker payloads, but
this could be cleaned up in a follow-up if needed.
Differential Revision: https://phabricator.services.mozilla.com/D16864
2019-01-18 15:40:15 +00:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Nazım Can Altınova
446a489515
Bug 1417976 - Part 2: Include DocShell IDs to marker payloads r=mstange
...
MozReview-Commit-ID: AML1ESUnFlu
Depends on D4914
Differential Revision: https://phabricator.services.mozilla.com/D4915
2018-11-06 21:45:50 +00:00
Margareta Eliza Balazs
8c771ddf11
Backed out 3 changesets (bug 1417976) for bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/GeckoProfiler.h CLOSED TREE
...
Backed out changeset 908f30faf4b6 (bug 1417976)
Backed out changeset 44ae0b8569b2 (bug 1417976)
Backed out changeset 801cdde1f597 (bug 1417976)
2018-11-02 18:42:21 +02:00
Nazım Can Altınova
884f5c2625
Bug 1417976 - Part 2: Include DocShell IDs to marker payloads r=mstange
...
MozReview-Commit-ID: AML1ESUnFlu
Depends on D4914
Differential Revision: https://phabricator.services.mozilla.com/D4915
2018-11-02 16:17:54 +00:00
Andrea Marchesini
46e117ca14
Bug 1432429 - Clean up a few random areas of code to accomodate Fuzzyfox: Performance and RefreshDriver. r=froydnj,baku
...
1: Correct the Performance API 'NowUnclamped' to obtain a non-Fuzzed Timestamp
2: Do not compare fuzzed and non-fuzzed timestamps in a Refresh Driver assert,
since this happens so early on that we will eventually compare them and
asserting would be bad.
2018-09-18 13:05:48 -05:00
Andi-Bogdan Postelnicu
63320a1ffe
Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv
2018-06-16 17:21:46 +03:00
Jeff Gilbert
70a22b2878
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Sebastian Hengst
d91e9954eb
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Andrea Marchesini
a7ccfab1f0
Bug 1437897 - Remove a wrong assertion related to the size of the Performance resource entries array in Performance::InsertResourceEntry, r=bz
2018-04-11 07:42:43 +02:00
Boris Zbarsky
d54406240d
Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
...
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Tom Ritter
e19e7123c5
Bug 1440195 Add a random context seed to the Performance APIs r=baku
...
We attach it to WorkerPrivate and DOMNavigationTiming so it will be re-used
when it should.
WorkerPrivate is used in the Performance APIs, Performance Storage Worker,
and Event.
DOMNavigationTiming is used only in the Performance APIs, but the crucial
part is that when the individual DOMNavigationTiming object is re-used,
so will the context seed. This in particular came up with the
nav2_test_document_open.html Web Platform Test which illustrated the fact
that even if you .open() a new document, the performance navigation data
is not supposed to change.
MozReview-Commit-ID: GIv6biEo2jY
2018-03-13 12:36:34 -05:00
Tom Ritter
30e3434271
Bug 1443943 Allow internal callers of performance.now() to opt-out of clamping/jittering r=bholley
...
PresShell only uses performane.now to track refresh times, and notify internal
observers. We can provide more accurate times by not clamping and jittering
these numbers.
MozReview-Commit-ID: FkDGJhrLeAy
2018-03-09 20:12:53 -06:00
Tom Ritter
728b7eb478
Bug 1443943 Port the performance APIs only to only clamping/jittering on non-System Principal r=baku
...
MozReview-Commit-ID: FKYLI5Yc1kX
2018-03-09 09:29:33 -06:00
Andreea Pavel
816981a5af
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-03-09 21:35:33 +02:00
Andrea Marchesini
93d27a5c53
Bug 1444150 Performance.measure(name) should not throw if name is one of the readonly attribute of the Performance interface, r=valentin
2018-03-09 08:23:44 +01:00
Greg Tatum
e737c78f7b
Bug 1425605 - Add the start/end mark names to performance.measure profiler markers; r=baku,mstange
...
MozReview-Commit-ID: I8DzSlSi124
2018-03-08 16:36:53 -06:00
Andrea Marchesini
b00c0daf83
Bug 1436744 - Get rid of WorkerCheckAPIExposureOnMainThreadRunnable, r=catalinb
2018-02-12 21:02:22 +01:00
Josh Matthews
d169301c59
Bug 1436743 - Dispatch events via the docgroup rather than the tabgroup when possible. r=mystor
2018-02-08 15:54:00 -05:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
98ac9eb616
Bug 1432963 - Fixing workers headers - part 15 - static function in a workers namespace, r=smaug
2018-01-31 08:24:30 +01:00
Andrea Marchesini
5e357eed9f
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
dc1d03e3bd
Bug 1425458 - Resource timing entries Workers - part 5 - dispatch resourcetimingbufferfull on workers, r=smaug
2018-01-24 17:17:32 +01:00
Andrea Marchesini
16b8539112
Bug 1425458 - Resource timing entries Workers - part 4 - exposing partial interface, r=smaug
2018-01-24 17:17:32 +01:00
Andrea Marchesini
e78cbcb82c
Bug 1425458 - Resource timing entries Workers - part 3 - PerformanceStorageWorker, r=smaug
2018-01-24 17:17:32 +01:00
Brindusan Cristian
1153f2c09e
Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
...
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini
a8f8b5e0dc
Bug 1425458 - Resource timing entries Workers - part 5 - dispatch resourcetimingbufferfull on workers, r=smaug
2018-01-24 17:17:32 +01:00
Andrea Marchesini
a3bab5da2e
Bug 1425458 - Resource timing entries Workers - part 4 - exposing partial interface, r=smaug
2018-01-24 17:17:32 +01:00
Andrea Marchesini
7441e0cd2e
Bug 1425458 - Resource timing entries Workers - part 3 - PerformanceStorageWorker, r=smaug
2018-01-24 17:17:32 +01:00
Tom Ritter
070e736544
Bug 1424341 Round the Performance Timing APIs when privacy.reduceTimerPrecision is set r=bkelly,timhuang
...
MozReview-Commit-ID: LrAmrIfKk39
2018-01-10 15:51:23 -06:00
Tom Ritter
f6a841f36f
Bug 1427870 - Change resolution of .now() to 20us. r=bkelly, a=lizzard
...
The comment about workers was introduced in Bug 1186489 but became obsolete some time after that
(definitely by Bug 1278838 )
2017-12-30 13:07:00 -06:00
Nicholas Nethercote
a35e82f193
Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
...
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.
This patch greatly simplifies how things are exposed. The starting point is:
- GeckoProfiler.h can be #included unconditionally;
- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.
In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.
The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.
Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00