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
Opersys inc.
 
PPTX
Android Booting Sequence
Jayanta Ghoshal
 
KEY
Xtext Eclipse Con
Sven Efftinge
 
PDF
Xtext beyond the defaults - how to tackle performance problems
Holger Schill
 
PDF
From Stairway to Heaven onto the Highway to Hell with Xtext
Karsten Thoms
 
PDF
Recipes to build Code Generators for Non-Xtext Models with Xtend
Karsten Thoms
 
PDF
Boosting the performance of your Eclipse IDE - EclipseCon France 2016
Karsten Thoms
 
PDF
Connect2014 BP205: Improving Your IBM Domino Designer Experience
panagenda
 
Memory Management in Android
Opersys inc.
 
Android Booting Sequence
Jayanta Ghoshal
 
Xtext Eclipse Con
Sven Efftinge
 
Xtext beyond the defaults - how to tackle performance problems
Holger Schill
 
From Stairway to Heaven onto the Highway to Hell with Xtext
Karsten Thoms
 
Recipes to build Code Generators for Non-Xtext Models with Xtend
Karsten Thoms
 
Boosting the performance of your Eclipse IDE - EclipseCon France 2016
Karsten Thoms
 
Connect2014 BP205: Improving Your IBM Domino Designer Experience
panagenda
 

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

PDF
Improving Domino Designer
Kathy Brown
 
DOCX
ID E's features
wajahat Gul
 
PDF
Improving Domino Designer ICON UK
Kathy Brown
 
PDF
Improving Your Domino Designer Experience
Julian Robichaux
 
PDF
High productivity development with Eclipse and Java 8
Noopur Gupta
 
PDF
Eclipse workshop presentation
Miguel Pardal
 
PDF
Improve Your IBM Domino Designer Experience
panagenda
 
PDF
Eclipse tutorial
HarikaReddy115
 
PPTX
Eclipse workshop presentation (March 2016)
Miguel Pardal
 
PDF
EclipseCon-Europe 2013: Making the Eclipse IDE fun again
martinlippert
 
PDF
Whats new in Eclipse Oxygen!
Lakshmi Priya
 
Improving Domino Designer
Kathy Brown
 
ID E's features
wajahat Gul
 
Improving Domino Designer ICON UK
Kathy Brown
 
Improving Your Domino Designer Experience
Julian Robichaux
 
High productivity development with Eclipse and Java 8
Noopur Gupta
 
Eclipse workshop presentation
Miguel Pardal
 
Improve Your IBM Domino Designer Experience
panagenda
 
Eclipse tutorial
HarikaReddy115
 
Eclipse workshop presentation (March 2016)
Miguel Pardal
 
EclipseCon-Europe 2013: Making the Eclipse IDE fun again
martinlippert
 
Whats new in Eclipse Oxygen!
Lakshmi Priya
 
Ad

Recently uploaded (20)

PDF
Appium Automation Testing Tutorial PDF: Learn Mobile Testing in 7 Days
jamescantor38
 
PPTX
oapresentation.pptx
mehatdhavalrajubhai
 
PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PPTX
Presentation about variables and constant.pptx
safalsingh810
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
PDF
ShowUs: Pharo Stream Deck (ESUG 2025, Gdansk)
ESUG
 
PDF
Protecting the Digital World Cyber Securit
dnthakkar16
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PDF
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
PPTX
The-Dawn-of-AI-Reshaping-Our-World.pptxx
parthbhanushali307
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
PDF
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
Appium Automation Testing Tutorial PDF: Learn Mobile Testing in 7 Days
jamescantor38
 
oapresentation.pptx
mehatdhavalrajubhai
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
Presentation about variables and constant.pptx
safalsingh810
 
Exploring AI Agents in Process Industries
amoreira6
 
ShowUs: Pharo Stream Deck (ESUG 2025, Gdansk)
ESUG
 
Protecting the Digital World Cyber Securit
dnthakkar16
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
The-Dawn-of-AI-Reshaping-Our-World.pptxx
parthbhanushali307
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
Ad

Boosting the Performance of your Eclipse IDE