[jbosstools-issues] [JBoss JIRA] (JBIDE-20362) Extracting of a download runtime is slow

Rob Stryker (JIRA) issues at jboss.org
Wed Aug 19 00:16:26 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099661#comment-13099661 ] 

Rob Stryker commented on JBIDE-20362:
-------------------------------------

>  I think the solution may be to simply show "Extracting" without printing out each file/directory that is being extracted.

It's getting to the point where, I feel, it's becoming ridiculous to engage in workarounds and need to push harder on the upstream issue of Mac being incapable of handling a lot of progress monitor events.  There are many times that the number of progress monitor status updates that happen is not in my control. There are other times where I *could* change it, but, it becomes much less useful to the user in general. 

Users generally like to see that each file is extracting, to know that something is being done, and the code hasn't frozen.  Changing the monitor to not really show updates really makes it seem as if it might be stalled and prevents the user from seeing the progress appropriately. 

[~mmalina] Do you have the upstream bug handy? The one related to mac and progress monitors? 

On linux, extraction happens extremely quickly, less than 2 or 3 seconds. 

I did notice a small bug in the progress monitor stuff, where I don't appropriately 'start' my initial monitor. I'll be committing a small fix for that.  On linux (at least in my env) it seemed there was no progress monitor, just status updates (no bar moving across the screen).  My one line patch fixes that. Not sure if it'll also fix your issue but I encourage you to check for CR1. 

> Extracting of a download runtime is slow
> ----------------------------------------
>
>                 Key: JBIDE-20362
>                 URL: https://issues.jboss.org/browse/JBIDE-20362
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: runtime-detection
>    Affects Versions: 4.3.0.Beta2
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>             Fix For: 4.3.x
>
>
> While playing with the Download runtime fuctionality, I noticed that once a runtime (e.g. EAP 6.2) is downloaded, the extraction takes very long. I think it used to be fast and the extraction was done without any progress reporting. But now it seems that every subdirectory in the archive is being printed out which slows it down.
> This extraction process took 1 min 23 sec for EAP 6.2 and I have an SSD. On a command line, this would take a few seconds.
> I think the solution may be to simply show "Extracting" without printing out each file/directory that is being extracted.
> (Furthermore, the progress bar does not reflect the progress - it seems there is still only perhaps 5 % done and then it's suddenly over.)
> I can record a screencast if you like, but I think this should be easy to replicate.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list