Ruby Interactive Console Performance w/Nokogiri objects versus RubyMine

Answered

When debugging a JRuby application, if larger Nokogiri object exists, command evaluation is dreadfully slow.

With identical settings in Rubymine, this behaviour cannot be reproduced.

This is on Mac OS 10.13.6, with JRE 1.8.0_152.

IntelliJ IDEA is at 2018.3.3 w/Ruby v2018.3.20190109.

Rubymine is at 2018.2.5.

I'm using JRuby 9.2.0.0 and Nokogiri 1.10.1 through rvm.

 

I'm at a bit of a loss here because in order to reproduce the issue I must use IDEA and parse a webpage with a larger table on it, such as https://www.ncaa.com/rankings/basketball-men/d1/ncaa-mens-basketball-net-rankings as well as having the variable definition in the editor.  Toggling inline values display does not change the behaviour.  The issue cannot be reproduced in RubyMine.

Any ideas?

2 comments

Gah! I have his issue too. I wish it would just avoid showing the contents for large objects (like Nokogiri::HTML). Whenever my debugger his these areas of my code I have to force quit :(

0

Hello,

would it be possible to check how it goes in IDEA 2019.1 Beta2 with the updated Ruby plugin?

0

Please sign in to leave a comment.