Poor V8Function call performance

Today I noticed, that invocations of V8Function objects have a really poor call performance. A simple example might be: $v8 = new V8Js(); $func = $v8->executeString('(function() { print("Hello\\n"); });'); for($i = 0; $i < 1000; $i ++) { $func(); } … on my laptop this takes 2.466 seconds (with latest V8Js 0.2.1); older versions like V8Js 0.1.5 even take 80 seconds. That felt strange, since V8Js performance generally is pretty good and the slightly changed version...

Planted: Aug 26, 2015 · 1 min

php.net account approved

After waiting for a really long time (half a year) I finally have an approved php.net + PECL account granted with lead-rights on V8Js :-) … therefore I finally published V8Js version 0.2.0, succeeding 0.1.5 which was published 1.5 years ago. Changes include adapt to latest v8 API (v8 versions from 3.24.6 up to latest 4.3 branch supported now) v8 debugging support apply time & memory limits to V8Function calls...

Planted: Mar 13, 2015 · 1 min

V8Js Patches merged

Today the last pull request in a series of contributions to the V8Js PHP extension has been merged. Good time to loose some words on the project and why I like it, so here we go :-) V8Js is a PHP extension that integrates Google’s V8 JavaScript engine into PHP. This is the extension allows you to execute JavaScript code securely sandboxed from PHP. Besides it allows for simple exchange of data from PHP to JavaScript and back....

Planted: Jul 17, 2013 · 3 min