Closed Bug 1715972 Opened 3 years ago Closed 3 years ago

CompileLazyFunction should check if a pre-compiled stencil exists.

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED DUPLICATE of bug 1741403

People

(Reporter: nbp, Unassigned)

References

(Blocks 1 open bug)

Details

With Bug 1662110, we would have the possibility of generating the stencils of inner functions eagerly. CompileLazyFunction should check whether a function was already computed by checking a cache which stores CompilationStencil of pre-compiled inner-functions.

This caching mechanism should also be instrumented to reports stats on the effectiveness of the caching strategies used to fill this cache such that we can compare various caching strategies. One metric would be the entropy of the cache registry with the cache query, to penalize strategies which are registering too many cache entry which are unused, and penalize strategies which are not registering enough cache entry.

Severity: -- → N/A
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.