facebookarchive/prepack

Deterministic timeout

Open

#719 aperta il 10 giu 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (520 fork)batch import
enhancementhelp wantedinterpreter

Metriche repository

Star
 (14.268 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Picking up a theme from #472 and #520 which warrants its own issue: It seems useful to reimplement the RealmOptions.timeout heuristic by counting evaluation operations, over the current nondeterministic approach of measuring wall-clock time.

@NTillmann per your earlier comments I gather you think Environment.prototype.evaluate would the right place to increment and check this proposed counter? If so, seems straightforward enough and I'll give it a go.

Guida contributor