Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add benchmark PHP + Dynasm JIT #8

Closed
dbalabka opened this issue May 3, 2017 · 1 comment
Closed

Add benchmark PHP + Dynasm JIT #8

dbalabka opened this issue May 3, 2017 · 1 comment

Comments

@dbalabka
Copy link
Owner

dbalabka commented May 3, 2017

Message from Dmitry Stogov about new version of PHP that support just-in-time compilation
https://externals.io/thread/268

Need to build from source:
https://github.com/zendtech/php-src/tree/jit-dynasm/ext/opcache/jit

JIT possible configuration:
https://github.com/zendtech/php-src/blob/jit-dynasm/ext/opcache/jit/zend_jit.h#L52

@dbalabka
Copy link
Owner Author

dbalabka commented Mar 26, 2018

Done. Use following commands to run bench using PHP JIT

docker pull dmitrybalabka/aerys-benchmark:php72jit
docker run --ulimit nofile=30000:30000 dmitrybalabka/aerys-benchmark:php72jit

Spoiler: unfortunately, there is no difference in performance. Need to wait finalized and improved JIT implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant