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

109 Коммитов

Автор SHA1 Сообщение Дата
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
law%netscape.com ec72763964 Enhance compareNav so it handles jar/nojar configurations 2001-12-01 03:54:14 +00:00
dp%netscape.com e486c522ff make this work with cygwin 2001-12-01 01:51:41 +00:00
law%netscape.com 8d5da9c852 Updating old .bat files to key off nav window visibility; adding tools to run with alternative .jars and calculate stats 2001-12-01 00:51:12 +00:00
dp%netscape.com 980ad5384a stop with visible window 2001-11-30 22:08:55 +00:00
dp%netscape.com 29ddd4834c added dll, pref file listing. Automated cost breakdown 2001-11-26 23:37:07 +00:00
dp%netscape.com d3887609ef Track dlls loaded 2001-11-20 18:04:11 +00:00
dp%netscape.com d2acb4e711 Print percentage of total for all cumulative timers 2001-11-20 18:03:16 +00:00
dp%netscape.com e6507f3213 split diff computation into a function 2001-11-19 17:33:51 +00:00
dp%netscape.com 61406695e3 First version 2001-11-17 20:54:29 +00:00
dp%netscape.com f768e597c4 fixed dup printing 2001-11-10 09:18:45 +00:00
dp%netscape.com 333671c0b3 first version 2001-11-10 08:54:53 +00:00