Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15975 > unrolled thread

Which functions and how many times were used on the page

Started byCezary Tomczyk <cezary.tomczyk@gmail.com>
First post2012-09-18 13:03 -0700
Last post2012-09-18 13:46 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.javascript


Contents

  Which functions and how many times were used on the page Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2012-09-18 13:03 -0700
    Re: Which functions and how many times were used on the page Christoph Becker <cmbecker69@gmx.de> - 2012-09-18 22:32 +0200
      Re: Which functions and how many times were used on the page Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2012-09-18 13:46 -0700

#15975 — Which functions and how many times were used on the page

FromCezary Tomczyk <cezary.tomczyk@gmail.com>
Date2012-09-18 13:03 -0700
SubjectWhich functions and how many times were used on the page
Message-ID<8800d198-ba44-4d04-987e-0227c156a64f@googlegroups.com>
Let's say we have:

var lib = {

  m1 : function(){},
  m2 : function(){}

};

Both of m1 and m2 are used X times somewhere on the page. All I want is to check which functions and how many times were used on the page.

Any ideas how to do it?

-- 
Cezary Tomczyk
http://www.ctomczyk.pl/

[toc] | [next] | [standalone]


#15976

FromChristoph Becker <cmbecker69@gmx.de>
Date2012-09-18 22:32 +0200
Message-ID<k3alnm$b7v$1@speranza.aioe.org>
In reply to#15975
Cezary Tomczyk wrote:
> All I want is to check which functions and how many times were used on the page.

You can do this with Firebug's profiling <http://getfirebug.com/javascript>

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#15978

FromCezary Tomczyk <cezary.tomczyk@gmail.com>
Date2012-09-18 13:46 -0700
Message-ID<2667905b-a6e8-489d-a377-a23f5a512dd5@googlegroups.com>
In reply to#15976
W dniu wtorek, 18 września 2012 22:31:55 UTC+2 użytkownik Christoph Becker napisał:
> Cezary Tomczyk wrote:
> 
> > All I want is to check which functions and how many times were used on the page.
> 
> 
> 
> You can do this with Firebug's profiling <http://getfirebug.com/javascript>

Indeed. Thanks for the tip. This is what I needed.

-- 
Cezary Tomczyk
http://www.ctomczyk.pl/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web