Ah accidently only answered Franz yesterday,...

-------- Weitergeleitete Nachricht --------
Betreff:        Re: [DPP-Devel] HTML UI Plugin performance issues !
Datum:  Mon, 13 Jul 2015 21:38:19 +0200
Von:    Bastian Sieker <bsie...@mail.uni-paderborn.de>
An:     Zieris, Franz <franz.zie...@fu-berlin.de>



Hi all!

Regarding the performance issue:
sounds like a realistic scenario with the current implementation, the
DOM is a very slow thing ;)
The problem is that currently the whole project tree is rendered as a
HTML list: each instance in a project, for example a file or a folder,
is represented via an `li` element. A folder has subelements,
represented in a `ul`element inside the `li` element, you got it...deep
tree structure. Solution would be a progressive rendering: the children
of an element are only rendered when opened. Should not be too difficult
to implement, I will have a look at it tomorrow. Thanks for the hint,
already thought about it a time ago but never tested it with a bigger
workspace.

However, if not just the rendering is the problem, but the passing and
processing of the JSON object...I really hope thats not the case...
I will do some test runs tomorrow and keep you up-to-date.

Regarding the "I cant see anything" issue:
The following text is copied from the README.md in
de.fu_berlin.inf.ddp.ui.frontend:

# Development workflow
If you make any changes in a `.js` or `.jade` file you have to build the
JavaScript application in order to see the changes in action.

# Build with NPM
Navigate to `de.fu_berlin.inf.dpp.js/html/` and run `npm run build`.

## Tasks of the build process
 - compile JADE-templates to plain old JavaScript functions (for more
 information about JADE visit http://jade-lang.com/)
 - creating a `bundle.js` which contains all internal JavaScript files, external
 JavaScript frameworks and the template functions

More tasks are planned for the furture, for example unit testing and code
linting.

# Install NPM
To run scripts with NPM you have to install NodeJS and NPM.
For more information about installing NodeJS and NPM see nodejs.org.

That is not very up-to-date but holds true all in all, expect the path
to the html folder which is now:
de.fu_berlin.inf.dpp.ui.frontend/html
Should be sufficient to build and run the application in Eclipse, in
IntelliJ there is a implementation of the WorkspaceRoot/Workspace
(Matthias knows that in more detail, I think) missing.

Best,
    Basti

Am 13/07/15 um 21:00 schrieb Zieris, Franz:
> I would report my experience if only I had some.
>
> I tried to enable the HTML GUI [1], but the view remains empty.
>
> These warnings might be related, but I'm far from sure:
>
>> WARN  20:56:55,600 [main] (EclipseResourceLocator.java:75) could not find 
>> any resources using default bundle find method with path 'html/dist' and 
>> file pattern 'null'
>> WARN  20:56:55,613 [main] (EclipseResourceLocator.java:84) could not find 
>> any resources using wiring bundle find method with path 'html/dist' and file 
>> pattern 'null'
> Basti? Matthias?
>
> Franz
>
> [1] http://www.saros-project.org/html-gui 
>
> -----Original Message-----
> From: Stefan Rossbach [mailto:srossb...@arcor.de] 
> Sent: Monday, July 13, 2015 5:48 PM
> To: dpp-devel@lists.sourceforge.net
> Subject: [DPP-Devel] HTML UI Plugin performance issues !
>
> Hi,
>
> I just simulated an average developer IDE workspace (approx. 10k files)
>
> When I open the start session wizard the result is something like:
>
> Memory usage is about 1.5 GB (with a peak of 2.4 GB)
>
> For almost 1 minute 2 of my 8 CPU dies are 100% load and I am unable to 
> select anything.
>
> After that minute the CPU load is still about 100% load for 1 CPU die 
> (this also happens with just a single Saros Project in the workspace < 
> 1000 files).
>
> The CPU load remains until I close the wizard.
>
> Can anyone confirm the same behavior on her/his working machine ?
>
> Regards,
> Stefan
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> DPP-Devel mailing list
> DPP-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dpp-devel
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> DPP-Devel mailing list
> DPP-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dpp-devel



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel

Reply via email to