Hi,

About half of the contents of the tools/ directory is useful stuff, and the
other half is ancient and unused stuff that hasn't been touched since the early
2000s. I've gone through and written patches to remove the latter half. can.
The meta-bug tracking this work is
https://bugzilla.mozilla.org/show_bug.cgi?id=1080290.

I've done my best to request reviews from people who know about these tools,
but it wasn't always easy. So I'm asking here as well for broader input about
whether these tools are useful. Here's a summary of my plans. (It looks better
in a fixed-width font.)

Things I plan to remove:
- tools/httptester/         -- bug 1081788
- tools/page-loader/        -- bug 1081792
- tools/reorder             -- bug 1081776
- tools/performance/layout  -- bug 1081812
- tools/performance/memtest -- bug 1081815
- tools/test-harness/       -- bug 1081777
- tools/tests/              -- bug 1081809
- tools/trace-malloc/       -- bug 1014341 is open for removing it, but several
                               blockers remain
- tools/uuiddeps/           -- bug 1081805

(Stats for these eight patches: 104 files changed, 10118 deletions(-))

Things I'm not sure about:
- tools/memory/             -- collect_b2g_uss_data.sh was added this year; not
                               sure about bloattable.pl
- tools/performance/pageload -- is this Talos(tp)? Bug 342089 added this.
- tools/performance/startup -- has seen various more changes than all the
                               to-be-removed stuff above; philor removed a
                               chunk of it in bug 591717, and sfink removed
                               another chunk in bug 579571

Things that must remain:
- tools/docs/               -- has mach commands for generating docs
- tools/jprof/              -- used by rjesup, at least
- tools/leak-gauge/         -- was tools/footprint/; bug 1080291 removed most
                               of its contents and renamed it; dbaron still
                               uses the remaining scripts
- tools/mercurial/          -- contains |mach mercurial-setup| code
- tools/performance/        -- diff-talos.py is used
- tools/profiler            -- contains SPS
- tools/quitter             -- an extension for quitting, used in tests
- tools/rb/                 -- most, if not all, scripts actively used
- tools/update-packaging    -- code involved with Firefox updates

Please speak up if you have relevant additional info, especially about the "not
sure" ones. Thank you.

Nick
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to