SlideShare a Scribd company logo
Boosting the
Performance of
your Eclipse IDE
Karsten Thoms
EclipseCon Europe, Ludwigsburg, 2015-11-05
https://stocksnap.io/photo/PTGK3N8C1C
Where performance issues
are annoying
Startup
Build
UI Responsiveness
The convenient way
Boosting the Performance of your Eclipse IDE
Boosting the Performance of your Eclipse IDE
Wow! That
was too easy!
Hunting performance issues
http://www.stockvault.net/photo/164167/iceberg
Hardware
Hidden costs of waiting
Configure Anti-Virus
JRE/JDK
Eclipse Installation Folder
~/.p2
Workspace Folder
Project Folders
Output Locations http://www.stockvault.net/photo/180403/cyber-security-concept-with-umbrella-on-data-screen
Disable Indexing
OS indexes every changed file
Consumes CPU & IO
Usually senseless for build output and
workspace metadata
Can only be disabled easily for directories,
not by file types
Programmatically:
Spotlight: Flag File

.metadata_never_index
Windows:

attrib.exe /s –i *.*
RAM Disk
RAM Disk
http://www.tekrevue.com/ram-disk-2013-mac-pro-2014-macbook-pro/
RAM Disk
What to store?
Read-only Data
JRE
Bundle Pool
Output folders
Use Symbolic Links
Store / Restore state to/from
persistent storage
Eclipse Installation
Eclipse Installation
Don’t store Eclipse / Workspace on Network Share
Use a current Eclipse distribution
Don’t install every feature any team member might use
Different feature set for different tasks?
Expensive: Mylyn, Subversion
Use Oomph setups or Eclipse Profiles
eclipse.ini Java Settings
Use the latest JRE
Use Server VM
Use enough Heap
Increase Young Generation
Space
Disable Class Validation
Turn on Compiler Optimizations
Activate Parallel GC
-vm
/Library/Java/JavaVirtualMachines/
jdk1.8.0_66.jdk/Contents/Home/bin
-server
-Xms512m
-Xmx2g
-Xmn512m
-Xverify:none
-XX:+AggressiveOpts
-XX:+UseParallelGC
Workspace Resources
Close unused projects
Close unused views
Close unused perspectives
Make Projects Closeable
Make Projects Closeable
Split Projects
Resource Filters
Compiler Warnings
Reduce compiler warnings
If you ignore them anyway,
filter them
Ignore optional warnings
on selected source folders
(e.g. generator output)
Plug-in Development
Target Platform
Mirror/Aggregate Public p2
Repositories

b3 Aggregator, Buckminster, p2 Tools
Deploy on Local Network /
Repository Manager
Launch Config for Eclipse Application
Required bundles only
Disable API Tooling during development

Enable on demand, in CI, before
milestones
Cleanup Metadata
Clean JDT index

<WS>.metadata.pluginsorg.eclipse.jdt.core
Resource History

<WS>.metadata.plugins
org.eclipse.core.resources.history
PDE caches / Bundle Pool

<WS>.metadata.pluginsorg.eclipse.pde.core
or even fresh workspace
http://www.stockvault.net/photo/133998/recycling-grunge-sign
Preferences
Deactivate Startup Plugins
Disable Spell Checking
Suspend Validators
Disable Animations
Disable Decorations
Maven
Disable Check for Updates
Profile Eclipse Tasks
http://www.stockvault.net/photo/134668/-stopwatch
Questions ?
http://www.stockvault.net/photo/122646/school-boy-
Boosting the Performance of your Eclipse IDE
References
“7 Tips to Speed Up Eclipse”

http://www.nicolasbize.com/blog/7-tips-to-speed-up-eclipse/
„15 Useful Tips - Speed Up Eclipse To An Ultra Fast IDE"

http://www.fromdev.com/2013/05/Speed-Up-Eclipse.html
„How to quickly make eclipse faster“

http://howtodoinjava.com/2014/04/05/how-to-quickly-make-eclipse-faster/
“Benchmarking G1 and other Java 7 Garbage Collectors”

http://blog.mgm-tp.com/2013/12/benchmarking-g1-and-other-java-7-garbage-collectors/
Alex Blewitt: “Eclipse start optimisation”

http://alblue.bandlem.com/2015/09/eclipse-optimisation-part-2.html
Lars Vogel: “Eclipse Activator startup sins – Tracing the startup time”

http://blog.vogella.com/2015/09/16/eclipse-activator-startup-sins-tracing-the-startup-time/

More Related Content

PDF
Memory Management in Android
PPTX
Android Booting Sequence
KEY
Xtext Eclipse Con
PDF
Xtext beyond the defaults - how to tackle performance problems
PDF
From Stairway to Heaven onto the Highway to Hell with Xtext
PDF
Recipes to build Code Generators for Non-Xtext Models with Xtend
PDF
Boosting the performance of your Eclipse IDE - EclipseCon France 2016
PDF
Improving Domino Designer
Memory Management in Android
Android Booting Sequence
Xtext Eclipse Con
Xtext beyond the defaults - how to tackle performance problems
From Stairway to Heaven onto the Highway to Hell with Xtext
Recipes to build Code Generators for Non-Xtext Models with Xtend
Boosting the performance of your Eclipse IDE - EclipseCon France 2016
Improving Domino Designer

Similar to Boosting the Performance of your Eclipse IDE (11)

PDF
Connect2014 BP205: Improving Your IBM Domino Designer Experience
DOCX
ID E's features
PDF
Improving Domino Designer ICON UK
PDF
Improving Your Domino Designer Experience
PDF
High productivity development with Eclipse and Java 8
PDF
Eclipse workshop presentation
PDF
Improve Your IBM Domino Designer Experience
PDF
Eclipse tutorial
PPTX
Eclipse workshop presentation (March 2016)
PDF
EclipseCon-Europe 2013: Making the Eclipse IDE fun again
PDF
Whats new in Eclipse Oxygen!
Connect2014 BP205: Improving Your IBM Domino Designer Experience
ID E's features
Improving Domino Designer ICON UK
Improving Your Domino Designer Experience
High productivity development with Eclipse and Java 8
Eclipse workshop presentation
Improve Your IBM Domino Designer Experience
Eclipse tutorial
Eclipse workshop presentation (March 2016)
EclipseCon-Europe 2013: Making the Eclipse IDE fun again
Whats new in Eclipse Oxygen!
Ad

Recently uploaded (20)

PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
top salesforce developer skills in 2025.pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Digital Strategies for Manufacturing Companies
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
ai tools demonstartion for schools and inter college
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
history of c programming in notes for students .pptx
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
System and Network Administraation Chapter 3
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
top salesforce developer skills in 2025.pdf
Operating system designcfffgfgggggggvggggggggg
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
CHAPTER 2 - PM Management and IT Context
Digital Strategies for Manufacturing Companies
Understanding Forklifts - TECH EHS Solution
Internet Downloader Manager (IDM) Crack 6.42 Build 41
wealthsignaloriginal-com-DS-text-... (1).pdf
PTS Company Brochure 2025 (1).pdf.......
Computer Software and OS of computer science of grade 11.pptx
Reimagine Home Health with the Power of Agentic AI​
ai tools demonstartion for schools and inter college
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
history of c programming in notes for students .pptx
Digital Systems & Binary Numbers (comprehensive )
System and Network Administraation Chapter 3
How to Migrate SBCGlobal Email to Yahoo Easily
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
VVF-Customer-Presentation2025-Ver1.9.pptx
Ad

Boosting the Performance of your Eclipse IDE