Skip to content

PHP vanilla vs PHP JIT #156

@SuperUserNameMan

Description

@SuperUserNameMan

Hello,

PHP can JIT too using the opcache module.

On my linux system, with PHP 8.1.2 CLI :

PHP Vanilla :
time php fib.php
=> 149 seconds

PHP JIT :
time php -dopcache.enable_cli=1 -dopcache.jit=function -dopcache.jit_buffer_size=500M fib.php
=> 57 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions