-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Description
Mike Noordermeer opened SPR-14026 and commented
#13189 enabled JndiPropertySource by default. Looking at some profiler results, I'm wondering if it would be wise to at least add a warning to the documentation about the potential performance impact of this.
The attached call tree shows that for 8800 property lookups, 89% of the time is spent in the JndiPropertySource (JndiTemplate creates an InitialContext on each lookup, etc. etc.). All other property sources are way faster, and I never anticipated JNDI being so slow (and this is using Tomcat, other app servers are known for having even slow JNDI access).
This was tested against 4.2.1, but it seems nothing changed since then, and I assume it affects 4.2.5 as well.
Affects: 4.2.5
Attachments:
- calltree.png (210.58 kB)
Referenced from: commits d2c0885
0 votes, 5 watchers