pawnbox has quit [Read error: Connection reset by peer]
<cFire>
Does anyone have any suggestions on how to get similar behviour going for small ruby jobs? I'm trying to speed up some of my CI deploy steps
pawnbox has joined #jruby
<cFire>
One of which essentially does a "ruby -c file.rb" on heach file
<cFire>
As you may imagine, this is hardly ideal with the startup penalty of the JVM
bbrowning_away is now known as bbrowning
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
<cFire>
So yeah, essentially I'm looking for a way to syntax check each file, ideally without spinning up a new ruby for each file, definitely without spinning up a new JVM for each file.
alex0ptr has joined #jruby
alex0ptr has quit [Remote host closed the connection]
alex0ptr has joined #jruby
drbobbeaty has joined #jruby
alex0ptr_ has joined #jruby
alex0ptr has quit [Ping timeout: 256 seconds]
<cFire>
In case anyone else is looking for a similar solution; I wrote a wrapper script that uses JRuby.parse() when running syntax checks for jruby.
<cFire>
The CI syntax check step now takes ~50 seconds for each JRuby version instead of ~15 minutes :)
<cFire>
Interestingly, it's actually faster than syntax checks for CRuby for more than 50 files or so
pawnbox has quit [Remote host closed the connection]
ekroon_ has quit [Quit: Connection closed for inactivity]
<neoice>
headius: I had an Array that I was pushing data into and sometimes elements wouldn't appear. I switched to java.util.concurrent.atomic.AtomicReferenceArray and the behavior now matches what I expect.
* neoice
shrugs
lance|afk is now known as lanceball
<neoice>
I guess if I want to do concurrency in Java, I should use the Java concurrency primatives :P
alex0ptr has quit [Ping timeout: 260 seconds]
alex0ptr has joined #jruby
alex0ptr has quit [Ping timeout: 256 seconds]
alex0ptr has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
alex0ptr_ has joined #jruby
alex0ptr has quit [Ping timeout: 256 seconds]
tcrawley is now known as tcrawley-away
alex0ptr_ has quit [Read error: Connection reset by peer]
alex0ptr has joined #jruby
camlow325 has quit [Quit: WeeChat 1.5]
bbrowning_away is now known as bbrowning
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]