[test] Use binary search for max expression depth
Use an upper limit search followed by a binary search in the expression depth test. As our maximum expression depths increase, a simple linear search wastes cycles. Bug: v8:6964 Change-Id: I0669e4090f6cc1628d1dec475b9bd8ff52be3f7d Reviewed-on: https://chromium-review.googlesource.com/735346 Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Cr-Commit-Position: refs/heads/master@{#48919}
Showing
Please
register
or
sign in
to comment