Speed improvements to Profile
Speed improvements to Profile

profile.js uses some "dumb" data structures and algorithms that are
N^2 or even N^3.  If you experiment with adding more data to the
profile (e.g. names of files written), you'll find that the time it
takes to generate the profiler report blows up.  This commit
makes the profiler usable again in that case.

* Don't create a new array in isChild(.), and compare elements
  starting at the end (because early elements are more likely
  to be similar)
* Swap order of entryName(.) (cheap) and isLeaf(.) (expensive)
  in leafTotal(.)

mjmasn/meteor,DAB0mB/meteor,Hansoft/meteor,jdivy/meteor,4commerce-technologies-AG/meteor,lorensr/meteor,Hansoft/meteor,nuvipannu/meteor,mjmasn/meteor,lorensr/meteor,Hansoft/meteor,mjmasn/meteor,chasertech/meteor,4commerce-technologies-AG/meteor,Hansoft/meteor,lorensr/meteor,AnthonyAstige/meteor,nuvipannu/meteor,AnthonyAstige/meteor,mjmasn/meteor,4commerce-technologies-AG/meteor,4commerce-technologies-AG/meteor,lorensr/meteor,nuvipannu/meteor,AnthonyAstige/meteor,mjmasn/meteor,AnthonyAstige/meteor,AnthonyAstige/meteor,mjmasn/meteor,chasertech/meteor,lorensr/meteor,jdivy/meteor,AnthonyAstige/meteor,DAB0mB/meteor,jdivy/meteor,DAB0mB/meteor,4commerce-technologies-AG/meteor,chasertech/meteor,nuvipannu/meteor,jdivy/meteor,chasertech/meteor,chasertech/meteor,chasertech/meteor,nuvipannu/meteor,DAB0mB/meteor,AnthonyAstige/meteor,mjmasn/meteor,DAB0mB/meteor,jdivy/meteor,jdivy/meteor,nuvipannu/meteor,jdivy/meteor,lorensr/meteor,DAB0mB/meteor,chasertech/meteor,Hansoft/meteor,DAB0mB/meteor,Hansoft/meteor,lorensr/meteor,nuvipannu/meteor,4commerce-technologies-AG/meteor,4commerce-technologies-AG/meteor,AnthonyAstige/meteor,Hansoft/meteor