<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Yes, we will try that, thanks.<br><br>Andy<br><br><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Tomaž Cerar" <tomaz.cerar@gmail.com><br><b>To: </b>"Stuart Douglas" <stuart.w.douglas@gmail.com><br><b>Cc: </b>"Andrig Miller" <anmiller@redhat.com>, "wildfly-dev" <wildfly-dev@lists.jboss.org><br><b>Sent: </b>Friday, June 27, 2014 12:04:14 PM<br><b>Subject: </b>Re: [wildfly-dev] CDI overhead<br><br><div dir="ltr"><div><div><div>Andy,<br><br></div>given that we have Weld 2.2 in 8.x branch for upcoming 8.2 release.<br></div>and also in master, can you guys try with wildfly build that uses Weld 2.2, to see if that CDI proxyies fix helped.<br>
<br>--<br></div><div>tomaz<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 6:54 PM, Stuart Douglas <span dir="ltr"><<a href="mailto:stuart.w.douglas@gmail.com" target="_blank">stuart.w.douglas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">You can remove it per-deployment using exclude-subsystem in<br>
jboss-deployment-structure.xml.<br>
<br>
Also there was a performance problem in the CDI proxies that was not<br>
fixed until 2.2.<br>
<br>
Stuart<br>
<div><div class="h5"><br>
<br>
Andrig Miller wrote:<br>
> I should have posted this some time ago, but just forgot.<br>
><br>
> In my early testing of Wildfly 8, CDI adds quite a bit of overhead (12%<br>
> reduction in throughput) for even an application that only uses<br>
> servlets. The only way I could get that back was to remove the<br>
> subsystem. In talking with Stuart at the time, he was looking at ways to<br>
> make the overhead less.<br>
><br>
> Is there anything on the docket for making this overhead go away for<br>
> deployments that don't require CDI? If not, can we get something going<br>
> in that direction. It would be great to not have to remove the CDI<br>
> subsystem, but not have it impact performance for deployments that don't<br>
> use it.<br>
><br>
> Thanks.<br>
><br>
> --<br>
> Andrig (Andy) Miller<br>
> Global Platform Director for JBoss Middle-ware<br>
> Red Hat, Inc.<br>
><br>
</div></div>> _______________________________________________<br>
> wildfly-dev mailing list<br>
> <a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</blockquote></div><br></div>
</blockquote><br></div></body></html>