Question related to the PHP engine and ArrayBuffers
まだ誰も着手していません。
評価
調査の方向性
これは、PHP engine、LLVM-based JIT の挙動、ArrayBuffers、および RFC の可能性に関する、まだ回答されていないパフォーマンス上の問いです。ファイル、テスト、エントリーポイントは挙げられていないため、まず issue で説明されている extension と PHP internals のコンテキストを調査してください。完了とするには、maintainer が支持するパフォーマンス評価と、スコープが明確な RFC 提案が必要です。
索引モデルが issue の本文から書いたものです。
説明
Hi; you don’t know me but I would like to say that it was a sad thing for the PHP community to learn that you moved over to LLVM; but I hope you are doing well. Over to my question:
I learned today some background from the PHP internals and the process leading up to PHP version 7, and also the JIT feature in 7.4:
That PHP’s JIT performance suffers because of extra CPU cache misses when JIT is enabled. Based on this, Dmitri did some great work on optimizing the memory requirements for important data structures in PHP 7.
This reduced the memory requirements of PHP and contributed to a ca 200% performance increase for PHP - mostly attributed to reduced memory bandwidth needs.
Question:
Can an extension like this ever hope to compete in performance, compared to a native op-code based approach to implementing array buffers? If so; I will consider adopting it into an RFC for PHP.
(Also because I am curious, but irrelevant for this extension; but I know you have an opinion: Could potentially re-implementing for example most of the \str* functions as pure PHP - reduce the amount of CPU cache space needed and lead to a faster language in general?)
- 主要言語
- C
- スター
- 43
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nikic/buffer のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
Q: Project Statusオープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 18/100
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
openvehicles/Open-Vehicle-Monitoring-System-3#1575 ·
メンテナーはふだん 4 日以内に返信
-
cryptsetup
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
tursodatabase/libsql#2312 ·
メンテナーはふだん 11 日以内に返信
-
Please tag a commitオープン
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100