Description[runtime] split up loops with HandleScopes
HandleScopes in for-loops are rather expensive and pose a significant overhead
to some builtin/runtime-functions. The FOR_WITH_HANDLE_SCOPE macro is used to
only create a new HandleScope every 1024th iteration.
BUG=
Committed: https://crrev.com/25d36eacf20f72bf6ba19b1475c0e4f56f95d1a2
Cr-Commit-Position: refs/heads/master@{#34856}
Patch Set 1 #Patch Set 2 : adding loop var type #
Total comments: 1
Patch Set 3 : addressing nits and fixing break-issue #Patch Set 4 : making windose happy #
Total comments: 1
Patch Set 5 : only introduce FOR_WITH_HANDLE_SCOPE for builtins and runtime functions #
Total comments: 3
Patch Set 6 : fix left-over variable #
Total comments: 2
Patch Set 7 : addressing comment #
Messages
Total messages: 30 (11 generated)
|