facebookarchive/prepack

Deterministic timeout

Open

#719 aberto em 10 de jun. de 2017

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (520 forks)batch import
enhancementhelp wantedinterpreter

Métricas do repositório

Stars
 (14.268 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador