facebookarchive/prepack

Deterministic timeout

Open

#719 建立於 2017年6月10日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (14,268 star) (520 fork)batch import
enhancementhelp wantedinterpreter

描述

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.

貢獻者指南