Re: counting the number of statments compiled in JScript compiler

"Eric" <englere_geo@yahoo.com>
11 Nov 2006 21:31:52 -0500

          From comp.compilers

Related articles
counting the number of statments compiled in JScript compiler noman_fqazi@hotmail.com (2006-11-08)
Re: counting the number of statments compiled in JScript compiler englere_geo@yahoo.com (Eric) (2006-11-11)
| List of all articles for this month |

From: "Eric" <englere_geo@yahoo.com>
Newsgroups: comp.compilers
Date: 11 Nov 2006 21:31:52 -0500
Organization: Compilers Central
References: 06-11-035
Keywords: performance

noman_fqazi@hotmail.com wrote:
> i am student of MSc .net distributed system development programme and
> working in JScript compiler and trying to count the number of
> statments compiled by the compiler but still unable, any one who can
> give me the guidance in solving the problem.


Which compiler do you mean? Most JavaScript implementations are
interpreters. And I never heard of this kind of tracking metric, but I
guess it might be possible in some browsers.


This is not of much value to anyone - I can't imagine why you'd want
to know this? If you're interested in performance, it's more useful to
track the number of bytes transferrred between the client and server.
This includes JavaScript, CSS, HTML, images, etc. There are a lot of
good tools for this, such as Microsoft's Fiddler.


The speed of JavaScript execution is normally irrelevant because it
only services the UI and the human speed is slower than it is. But it
matters to people who design browsers and JavaScript interpreters, of
course.


Eric


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.