Slide 24
Slide 24 text
24
Liang Gong, Electric Engineering & Computer Science, University of California, Berkeley.
Limitations
• Eval is not supported.
• What about closure, how to instrument closure using web proxy?
• Unknown native API?
• Modify the behavior of Math.random to eliminate non-determinism
• For each client devise, a separate dependency graph must be generated.
– Since the page loading behavior maybe client-specific
– Also dynamic webpage will generate content dynamically, according to
user’s cookie and the content in database. It is impossible to run
everything ahead of time.
• On the client-side, polaris uses XMLHttpRequests to dynamically
fetch objects. To evaluate a JavaScript file, the scheduler uses the
eval function.
• Assume each object’s loading time is a constant. All improvements
obtained are based on that assumption.