Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WINDUP-1560 Print a warning on the web console for large analysis #487

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mrizzi
Copy link
Member

@mrizzi mrizzi commented Jul 25, 2017

It works for uploaded application.

@mrizzi mrizzi requested review from jsight and klinki July 25, 2017 09:19
@mrizzi mrizzi changed the title JIRA_WINDUP-1560 Print a warning on the web console for large analysis WINDUP-1560 Print a warning on the web console for large analysis Jul 25, 2017
Copy link
Collaborator

@klinki klinki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good, but I think it has one problem. It doesn't count with accumulative effect of multiple smaller applications.

I guess analysis of 10 applications with 20MB each would probably take similar time as analysis of one 200MB app?

@mrizzi
Copy link
Member Author

mrizzi commented Jul 26, 2017

I agree with you: maybe the best place to show such a notification is when starting a new analysis to inform the user that it could take a long time: in this way, we'll know all the applications involved in the analysis and so derive the best estimation for analysis's duration.

Because if the 10 applications, 20 MB each, are uploaded together, we have a chance to sum their sizes but if the applications are uploaded in different times, then we know the total size of the applications only at "analysis time".

@klinki
Copy link
Collaborator

klinki commented Jul 26, 2017

I agree. I think it is more appropriate to show that message when analysis is started.

(It would be also better for scenarios when user uploads applications and skips analysis and starts it later).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants