<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Problems removing CDI support from project
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/scabanovich">Viacheslav Kabanovich</a> in <i>JBoss Tools</i> - <a href="https://community.jboss.org/message/764430#764430">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi, </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thank you for your feedback, we appreciate it very much. It is true that performance of JBoss CDI tool on large projects is a critical factor. For now, we randomly generate large projects and look for narrow places (slow code, memory leaks) to improve. But performance on a random project and a real project may differ a lot. So, could you please provide us with a bit more performance figures for the latest devstudio. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1) Clean/build the project. Please watch the progress view as it displays task names (a) Compiling, (b) CDI Builder, (c) CDI Validator, (d) EL Validator and approximately mesure time spent on each.</p><p>For a random project with 3000 source files and 15M of code it takes on my computer:</p><p>(a) Compiling - 5 sec</p><p>(b) CDI Builder - 5 sec</p><p>(c) CDI Validator - 1 min</p><p>(d) EL Validator - 1 min</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2) Incremental build -&#160; modify and save a source file. Again, please watch the progress view.</p><p>For the mentioned random project:</p><p>(a) Compiling - 0 sec</p><p>(b) CDI Builder - 0 sec</p><p>(c) CDI Validator - 20 sec (generated injections and class hierarchy make almost any two classes dependent on each other, and change in one requires to revalidate all others)</p><p>(d) EL Validator - 3 sec</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>3) Restart Eclipse, open a source with an injection point, and invoke open-ons with Ctrl+mouse left button at @Inject. At the first time, progress information window appears "Build CDI Model" - for 5 sec for the mentioned random project.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Also, could you please estimate how many injection points and producers are in your project. </p><p>Has you project got many page files with EL?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thank you.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/764430#764430">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>