mbien opened a new pull request, #9307:
URL: https://github.com/apache/netbeans/pull/9307
- use `Data*Streams` instead of `Object*Streams`
- simplify file format (no XML)
- code renovation and minor smaller optimizations
result are about 3-4x faster cache loading times
minor:
- `List` -> `Set` for field solely used for contains() in inner loop
- removed a test cases testing `ThreadDeath` as part of the cleanup
see the `readCache()` and `calculateParents()` marked in purple
before:
<img width="1572" height="865" alt="startup_cacheio_0"
src="https://github.com/user-attachments/assets/458657b8-95de-48a3-92a3-f7b894635f14"
/>
after:
<img width="1572" height="865" alt="startup_cacheio_1"
src="https://github.com/user-attachments/assets/abf9644f-da1b-4d7a-a6ff-d721726a79d2"
/>
third PR for some more startup optimizations pending. (first was
https://github.com/apache/netbeans/pull/9303)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists