facebookarchive/prepack

Deterministic timeout

Open

#719 ouverte le 10 juin 2017

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (520 forks)batch import
enhancementhelp wantedinterpreter

Métriques du dépôt

Stars
 (14 268 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur