zephir-lang / zephir

Zephir is a compiled high-level language aimed to ease the creation of C-extensions for PHP

Home Page:https://zephir-lang.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.16.3 Compilation speed is very slow

xqkeji opened this issue · comments

commented

Every time I compile, I feel like I have to empty before compiling. What's the matter?

for Example:
zephir build
Zephir version has changed, use "zephir fullclean" to perform a full clean of the project
Zephir version has changed, use "zephir fullclean" to perform a full clean of the project
Preparing for PHP compilation...
Preparing configuration file...
Compiling...
Zephir version has changed, use "zephir fullclean" to perform a full clean of the project
Installing...

Extension installed.

! [NOTE] Don't forget to restart your web server

Use -j flag to run all in parallel all your cores.
Example with x32 threads (x16 CPU cores):

zephir build -j32