Граф коммитов

120 Коммитов

Автор SHA1 Сообщение Дата
Andrew Creskey 4f7b86c141 Bug 1703956 - Extend network perfstats to include all http channel completion times r=necko-reviewers,valentin
Add HttpChannelCompletion, which is just the completion time for any request.
This allows us to measure overall improvements, instead of shifting requests from cache to network via RCWN.

Differential Revision: https://phabricator.services.mozilla.com/D111335
2021-04-12 21:42:21 +00:00
Simon Giesecke 4a308827e3 Bug 708901 - Migrate to nsTHashSet in ipc. r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D109322
2021-03-24 17:56:48 +00:00
Csoregi Natalia f54ee076ae Backed out 13 changesets (bug 708901, bug 1184468) for causing build bustage on GeckoViewHistory.cpp. CLOSED TREE
Backed out changeset b1e4c01e63b8 (bug 708901)
Backed out changeset 37b52cce83c0 (bug 708901)
Backed out changeset eee75f33f060 (bug 708901)
Backed out changeset 479bf64c7986 (bug 708901)
Backed out changeset 15a8fb94d15d (bug 708901)
Backed out changeset be31ccd9a61d (bug 708901)
Backed out changeset fc54f4eaedd5 (bug 708901)
Backed out changeset 03c3a56c3d13 (bug 708901)
Backed out changeset 73f11d3c1298 (bug 708901)
Backed out changeset aed22fd80893 (bug 708901)
Backed out changeset 74d8249fbe7e (bug 708901)
Backed out changeset acb725eb3c1d (bug 1184468)
Backed out changeset 70f3ea6efec4 (bug 1184468)
2021-03-24 19:26:20 +02:00
Simon Giesecke b07f34785d Bug 708901 - Migrate to nsTHashSet in ipc. r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D109322
2021-03-24 16:59:00 +00:00
Andrew Creskey 8fc0c422ec Bug 1698515 - Remove spaces from PerfStats metric names r=barret
Removing spaces from PerfStat metric names because they break the perfherder/perftest tokenization.

Differential Revision: https://phabricator.services.mozilla.com/D109364
2021-03-23 12:09:55 +00:00
Andrew Creskey 3227459668 Bug 1696945 - Part 1: Extend PerfStats to record arbitrary durations r=bas,necko-reviewers,valentin
Add PerfStats::RecordMeasurement( metric, duration ) api so we can record timings for async metrics where details are not always known until completion.

Differential Revision: https://phabricator.services.mozilla.com/D107496
2021-03-09 15:59:42 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Gerald Squelart 782cf5d3ad Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj
In most situations, JSONWriter users already know string lengths (either directly, or through `nsCString` and friends), so we should keep this information through JSONWriter and not recompute it again.
This also allows using JSONWriter with sub-strings (e.g., from a bigger buffer), without having to create null-terminated strings.

Public JSONWriter functions have overloads that accept literal strings.

Differential Revision: https://phabricator.services.mozilla.com/D86192
2020-09-14 02:33:20 +00:00
Chris Fronk af8a02cc9d Bug 1512991 - Add JsonWriteFunc::Write to take string length. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D72560
2020-05-08 16:24:31 +00:00
Bas Schouten 202c0599be Bug 1553254 - Part 1: Allow low-overhead selective collection of internal performance probes through ChromeUtils. r=brennie,nika
Differential Revision: https://phabricator.services.mozilla.com/D32039

--HG--
extra : rebase_source : 2484b8d3d15495e63b9e02139aafd3e78a710f37
2019-05-21 21:01:31 +02:00
Nicholas Nethercote 768875003b Bug 1081815 - Remove tools/performance/memtest/, which is ancient and unused. r=ted.
DONTBUILD because NPOTB.
2014-10-23 15:00:27 -07:00
Nicholas Nethercote 99cb35f533 Bug 1082554 (part 3) - Move diff-talos.py from tools/performance/ to testing/talos/. r=jmaher.
DONTBUILD because NPOTB.

--HG--
rename : tools/performance/diff-talos.py => testing/talos/diff-talos.py
2014-10-15 17:52:41 -07:00
Nicholas Nethercote 9b028957ff Bug 1082554 (part 2) - Remove tools/performance/startup/, which is ancient and unused. r=jmaher.
--HG--
extra : rebase_source : e5236f362fc4829a3586789a85d02b994a80b4e5
2014-10-15 17:52:24 -07:00
Nicholas Nethercote f14c9c4280 Bug 1082554 (part 1) - Remove tools/performance/pageload/, which is ancient and unused. r=jmaher.
--HG--
extra : rebase_source : a1e034264f6c9d5a6ad2ff48f5426a8ec27aa133
2014-10-15 17:52:16 -07:00
Nicholas Nethercote 6807ed1a65 Bug 1081812 - Remove tools/performance/layout/, which is ancient and unused. r=dbaron.
--HG--
extra : rebase_source : 9448be307e04eac8671359b913761f23d613f430
2014-10-14 15:42:08 -07:00
Jim Blandy 7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Cykesiopka 66fbee273a Bug 861761 - Remove <blink> in perf-doc.html. r=dbaron 2013-08-19 08:48:24 -04:00
Ed Morley a4ae239c93 Bug 901898 - Remove codesighs now that it's no longer run in automation; r=gps 2013-08-12 13:10:41 +01:00
Rafael Ávila de Espíndola d42b777f5e Bug 798429 - Add new talos test names. r=jhammel. 2012-10-05 13:06:34 -04:00
Rafael Ávila de Espíndola 359398129c Bug 786504 - Add a simple script to compare test runs in two revisions. r=jhammel. 2012-09-10 17:36:01 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham 68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matheus Kerschbaum b0c1f89ef4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Phil Ringnalda b363655d87 Bug 591717 - Remove most of tools/performance/startup, r=dbaron, a=NPOTB
--HG--
extra : rebase_source : cd49a675fb1bac30d6ce809bb1688eaf00a08bee
2010-08-29 18:21:12 -07:00
Serge Gautherie 7502291e12 Bug 381467 - Switch application/x-javascript to application/javascript; (Bv1) /tools/performance/*.
r=dbaron.
2009-11-19 11:07:38 +01:00
Ginn Chen 2fb756543c Bug 497567 browser.dom.window.dump.enabled is boolean r=rcampbell 2009-06-18 19:15:17 +08:00
ccooper@deadsquid.com b12408cf66 - adding files to allow clean shutdown on Mac 2007-07-19 13:48:57 -07:00
gerv%gerv.net caae487a24 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-12-11 09:45:41 +00:00
rhelmer%mozilla.com 26f114c32c compute load averages correctly. checkin for Adam Guthrie (ispiked). b=350631, r=rhelmer, r=bz 2006-11-06 22:01:14 +00:00
gavin%gavinsharp.com 5380f7fe8e Remove extra trailing } to fix failure due to fix for bug 350268 2006-08-27 19:42:21 +00:00
rhelmer%mozilla.com 4ed461404d add stddev to tbox dump(). b=342089, r=darin 2006-06-30 22:23:52 +00:00
rhelmer%mozilla.com b71e380f0e compute median average, add gump() for tbox. b=342089, r=darin 2006-06-30 22:23:17 +00:00
rhelmer%mozilla.com a26b949b21 land pageload test, b=342089 r=darin 2006-06-30 22:20:32 +00:00
jshin%mailaps.org 6f63e28cd3 no bug filed: gettimeofday needs to be quoted with 'use strict' in gettime.pl (r=bz on IRC) 2006-03-11 04:26:04 +00:00
timeless%mozdev.org 9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org eb9350f619 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
gerv%gerv.net cc323a7cc8 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 21:07:34 +00:00
seawood%netscape.com 3ce39b25c8 This patch does the following:
- converts all commands to an arguments array for passing to exec()
- Runs "dos2unix" on the log file before mailing it off, if on Windows
- Adds a "ProductName" config option to control where to look for the profile on Windows.
- Fixes clobbering of the profile on Windows.
- Makes the script look for the HiRes time module instead of the Win32API module for cygwin perl.

Thanks to Brian Ryner <bryner@netscape.com> for the patch.
Bug #115690 r=cls
2002-10-20 07:28:24 +00:00
law%netscape.com c7667cce85 Updated to work with jrgm's winopen stuff 2001-12-06 03:19:02 +00:00
law%netscape.com 6d30ea723c updates 2001-12-04 23:16:42 +00:00
law%netscape.com badf9c6831 updates 2001-12-04 22:15:45 +00:00
dp%netscape.com dfc3b52a0a NS_TIMELINE_ENABLE 2001-12-04 21:48:40 +00:00
law%netscape.com 9d467e5f38 tweaking 2001-12-04 21:25:57 +00:00
law%netscape.com 4a1ce9f241 fixing miniXul.xul 2001-12-04 20:03:47 +00:00
law%netscape.com 69bc63eccc New tools for measuring window open times 2001-12-04 19:55:48 +00:00