github classgraph/classgraph fast-classpath-scanner-2.20.0

latest releases: classgraph-4.8.172, classgraph-4.8.171, classgraph-4.8.170...
6 years ago

Major performance improvements (1.2-2x) speedup compared to 2.19.0).

  • Fixed a speed regression introduced between version 2.11.1 and 2.12.0, which would increase scanning time by 8-80% depending on the classpath (#174). Thanks to @natros for noticing this speed regression and reporting it.
  • Found and fixed another speed issue, by working with File objects rather than URL objects where possible (it turns out that File#toURI()#toURL() is a very costly operation, taking ~10% of overall scan time). This change increases scanning speed by ~10%.
  • Fixed other performance issues, adding another 2-5% speedup.

NOTE: There was still a performance regression in this release, for the case of nested jars (e.g. those generated by Spring). This was fixed in 2.20.2.

Don't miss a new classgraph release

NewReleases is sending notifications on new releases.