Bug #80399 [Opn]: Using PharData to create TAR files is super slow (at least 10x slower)
Edit report at https://bugs.php.net/bug.php?id=80399&edit=1
ID: 80399
Updated by: cmb@php.net
Reported by: maggus dot staab+php at googlemail dot com
Summary: Using PharData to create TAR files is super slow (at
least 10x slower)
Status: Open
Type: Bug
Package: *Compression related
Operating System: windows10x64
PHP Version: 7.3.24
Block user comment: N
Private report: N
New Comment:
Could you please check the performace for PHP 7.4.12? And also,
could you check that with the blackfire extension?
Previous Comments:
------------------------------------------------------------------------
[2020-11-22 11:40:01] maggus dot staab+php at googlemail dot com
Description:
------------
while working on one of our projects we figured creating TAR files with PharData would be a great
fit, because its php-src builtin.
it turns out though creating TAR Files with PharData is super slow, compared to userland php
implementation.
we see 10x slower performance.
see a benchmark and repro script at https://github.com/staabm/php-phardata-benchmark
Expected result:
----------------
PharData should be at least on paar with php userland implementations
Actual result:
--------------
its slow
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80399&edit=1
Thread (4 messages)