Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

add pre-emption APIS - #382

Merged
cowboyd merged 1 commit into
upgrade-to-v8-4.5from
4.5/preemption
Aug 28, 2015
Merged

cowboyd merged 1 commit into
upgrade-to-v8-4.5from
4.5/preemption

Conversation

@cowboyd

@cowboyd cowboyd commented Aug 14, 2015

Copy link
Copy Markdown
Collaborator

v8 4.5 has very convenient APIs for interrupting potentially long
running JavaScript code. This exposes those APIs to Ruby code so that it
can place its own limits on the CPU resources consumed by V8.

Note: As a small amount of cleanup, I removed the old context helpers in the spec which were not being used any more.

v8 4.5 has very convenient APIs for interrupting potentially long
running JavaScript code. This exposes those APIs to Ruby code so that it
can place its own limits on the CPU resources consumed by V8.
cowboyd added a commit that referenced this pull request Aug 28, 2015
@cowboyd
cowboyd merged commit b8445ae into upgrade-to-v8-4.5 Aug 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant