PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_Progress » Bug #342

Redundant Sleep

Details

Submitted2003-12-03 14:05 UTC
Fromctcnet at ctco dot lv
Assignedfarell
StatusClosed
PackageHTML_Progress
PHP Version4.3.3
OSany
Roadmaps(Not assigned)

Comments

[2003-12-03 14:05 UTC] ctcnet at ctco dot lv

Description:
------------
After Progress bar is updated it have sleep(1) statement.
This makes execution to pause for 1 second.
If progress bar updates 10 times during the script execution, the total time of script execution increases by 10 seconds.
This feature may be very annoying/problematic.
If progress bar is used in time-critical application, the sleep statement must be commented out.
At lease sleep time could be configurable through parameter.

I could provide the patch, just need to learn how to properly check out che latest version then diff it to my changes.
Not sure if my patch will be acceprted though.
If nobody read this or nobody want to fix it, i will provide the patch eventually.