Bug #80399 [NEW]: Using PharData to create TAR files is super slow (at least 10x slower)

From: Date: Sun, 22 Nov 2020 11:40:01 +0000
Subject: Bug #80399 [NEW]: Using PharData to create TAR files is super slow (at least 10x slower)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230518@lists.php.net to get a copy of this message
From:             maggus dot staab+php at googlemail dot com
Operating system: windows10x64
PHP version:      7.3.24
Package:          *Compression related
Bug Type:         Bug
Bug description:Using PharData to create TAR files is super slow (at least 10x slower)

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 bug report at https://bugs.php.net/bug.php?id=80399&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=80399&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=80399&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=80399&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=80399&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=80399&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=80399&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=80399&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=80399&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=80399&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=80399&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80399&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=80399&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=80399&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=80399&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=80399&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=80399&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=80399&r=mysqlcfg


Thread (4 messages)

« previous php.bugs (#230518) next »