Performance Improvements in RubyMine 2023.1
Hello everybody,
The new release is fast approaching, so it’s time to unveil the performance enhancements you can expect from RubyMine 2023.1.
Faster code completion
When developing and supporting RubyMine, we analyze a great load of anonymized usage data. A lot of recent data pointed to the fact that code completion wasn’t working as fast as we had anticipated. We dug into the code to identify the causes of this slowness and fixed a major performance issue, which allowed us to increase the speed of code completion drastically.
The graphic below shows how code completion has improved with the introduction of our performance fixes – from ~400 ms down to ~162 ms.
Please note that the provided values are average, and your personal experience might differ.
We plan to continue improving our code completion in the forthcoming releases, so stay tuned!
Lower memory consumption
We investigated and fixed several issues that were causing RubyMine to consume considerable amounts of memory under certain circumstances. When working with RubyMine projects, you may now notice that the IDE memory footprint has significantly decreased.
Additionally, we’ve changed the default value of the -Xmx
option, which the JVM uses to run RubyMine, to 2048 MiB.
Tip: You can always configure RubyMine’s memory heap size manually. From the main menu, select Help | Change Memory Settings. Set how much memory you want to allocate, and then click Save and Restart for the new setting to take effect.
Other performance improvements
In addition to the already mentioned improvements, we diagnosed and optimized the work of RubyMine’s indexes and parser. All these changes are to improve the performance and general experience of using RubyMine.
Join the Early Access Program
You can download the latest EAP build from our website or via the Toolbox App. The full list of closed tickets in this EAP build is available in the release notes.
To learn about the newest features as they come out, follow RubyMine on Twitter. We post product news and tips several times a week.
We encourage you to share your thoughts in the comments below and to create and vote for new features in the issue tracker.
Happy developing!
The RubyMine team