|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
get replayable trace from JavaScript executionIs there a way to collect replayable traces from running JS programs? By replayable, I mean the trace should capture enough information for reproducing the same computation, although it might require developing additional tools to "replay" the computation. Obviously, my next closely related question is, what is the most convenient way to develop such a replay tool? Any suggestions and ideas are very welcome! I appreciate it. Thanks, Yan _______________________________________________ dev-tech-js-engine mailing list dev-tech-js-engine@... https://lists.mozilla.org/listinfo/dev-tech-js-engine |
|
|
Re: get replayable trace from JavaScript executionYan:
You won't be able generate traces for entire programs. The JIT works by tracing through hot loops and generating multiple code fragments for each by permuting for variable type change. That said, you can get both LIR and native code for all the traces generated by your program sent to stdout by running a debug build of tracemonkey with the TMFLAGS=full environment variable set. Wes On Wed, Nov 4, 2009 at 2:28 PM, Yan Huang <yh8h@...> wrote: > > Is there a way to collect replayable traces from running JS programs? > By replayable, I mean the trace should capture enough information for > reproducing the same computation, although it might require developing > additional tools to "replay" the computation. > > Obviously, my next closely related question is, what is the most > convenient way to develop such a replay tool? > > Any suggestions and ideas are very welcome! I appreciate it. > > Thanks, > Yan > _______________________________________________ > dev-tech-js-engine mailing list > dev-tech-js-engine@... > https://lists.mozilla.org/listinfo/dev-tech-js-engine > -- Wesley W. Garland Director, Product Development PageMail, Inc. +1 613 542 2787 x 102 _______________________________________________ dev-tech-js-engine mailing list dev-tech-js-engine@... https://lists.mozilla.org/listinfo/dev-tech-js-engine |
|
|
|
|
|
|
|
|
Re: get replayable trace from JavaScript executionOn 11/4/09 11:28 AM, Yan Huang wrote:
> > Is there a way to collect replayable traces from running JS programs? > By replayable, I mean the trace should capture enough information for > reproducing the same computation, although it might require developing > additional tools to "replay" the computation. I would certainly think so, but I'm curious what 'level' you would like to replay at. For example, any program (JS or not) can be replayed if you record the input, results of system calls, and context switches. But I'm guessing that's not what you want to do. The natural thing that occurs to me would be to record the bytecodes executed and some info about the input and system call results. If you could give some more description of what you want to do I might be able to give more concrete ideas. > Obviously, my next closely related question is, what is the most > convenient way to develop such a replay tool? > > Any suggestions and ideas are very welcome! I appreciate it. > > Thanks, > Yan -- Dave _______________________________________________ dev-tech-js-engine mailing list dev-tech-js-engine@... https://lists.mozilla.org/listinfo/dev-tech-js-engine |
| Free embeddable forum powered by Nabble | Forum Help |