Thank you Martin for the info! I saw this statement in Weld release page:

Weld is now capable of using bytecode-scanning utilities, such as the Jandex tool, to speed up deployment. This is especially notable in extra large deployments (e.g. 5000+ classes) where we observed up to 20% faster deployment.



I guess this particularly related to provide ClassFileServices service in Weld integration. Is this figure for the dynamic generating index files or index files were pregenerated? I guess if generating the index files on the fly, it might be slower than prepackaged scenarios. Do you know whether the performance difference is noticeable?
Thanks
Emily
================
Emily Jiang

W
ebSphere Application Server, MicroProfile Development Lead
Phone: 44-1962-816278
E-mail: emijiang@uk.ibm.com
Twitter: @emilyfhjiang
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU


-----weld-dev-bounces@lists.jboss.org wrote: -----
To: Emily Jiang <EMIJIANG@uk.ibm.com>, weld-dev@lists.jboss.org
From: Martin Kouba
Sent by: weld-dev-bounces@lists.jboss.org
Date: 11/16/2017 04:19PM
Subject: Re: [weld-dev] Jandex

Hi Emily,

AFAIK WildFly makes use of existing Jandex indexes and if not present a
new one is build on the fly (for deployment and external modules) but
the generated indexes are not persisted.

But in WildFly not only Weld leverages the indexes - all other
annotation-based technologies should use them too.

Martin

Dne 15.11.2017 v 14:47 Emily Jiang napsal(a):
> Hi Martin/Matej,
> For using Jandex to improve bootstrap performance of CDI application, do
> you know any application server (e.g. Wildfly) normally requires the
> index files to be generated before hand or it can generate on the fly
> and then persist it? Do you know whether there is much performance gain
> to generate the index files on the fly and then persist it when compared
> with not doing it at all (by passing jandex)?
> Thanks
> Emily
> ================
> Emily Jiang
>
> WebSphere Application Server, MicroProfile Development Lead
> Phone: 44-1962-816278
> E-mail: emijiang@uk.ibm.com <mailto:emijiang@uk.ibm.com>
> Twitter: @emilyfhjiang
> IBM United Kingdom Limited
> Registered in England and Wales with number 741598
> Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>
>
>
> _______________________________________________
> weld-dev mailing list
> weld-dev@lists.jboss.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.jboss.org_mailman_listinfo_weld-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U&m=sLJnARaFsXVHvYjOf0czOZ0itOZijjUXXNMpnP1j0h0&s=SBhF8e2Ck0XKoYRnv3UQaHjegnrwjbYvMq3Nc5fbkKI&e=
>
_______________________________________________
weld-dev mailing list
weld-dev@lists.jboss.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.jboss.org_mailman_listinfo_weld-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U&m=sLJnARaFsXVHvYjOf0czOZ0itOZijjUXXNMpnP1j0h0&s=SBhF8e2Ck0XKoYRnv3UQaHjegnrwjbYvMq3Nc5fbkKI&e=

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU