rpau / javalang-compiler

Java compiler elements (symbol and type tables) to perform code semantic analysis
GNU Lesser General Public License v3.0
10 stars 4 forks source link

Improve the performance through a class loader cache #84

Closed rpau closed 6 years ago

rpau commented 6 years ago

@cal101 I think that this patch could be interesting for you. I have improved 20% the performance. One of the bottlenecks is the IO operations loading classes.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.004%) to 85.94% when pulling c63fb40a84d0cc09492aaba49fefa9ca8030e097 on rpau-perf-impr into e6ac77301edfac1816a287a18a7e7fd809d9c08b on master.

cal101 commented 6 years ago

Yes. I remember the improvements when adding the cache code in the type resolving area.