facebookarchive/prepack

Deterministic timeout

開放

#719 建立於 2017年6月10日

 (1 則留言) (0 個反應) (0 位負責人)JavaScript (520 個分叉)batch import
enhancementhelp wantedinterpreter

倉庫指標

星標
 (14,268 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南