!vyEDBdbmzqApWaugdd:matrix.org

jruby

91 Members
Get 9.4.5.0! http://jruby.org/ | http://wiki.jruby.org | http://logs.jruby.org/jruby/ | http://bugs.jruby.org | Paste at http://gist.github.com27 Servers

Load older messages


SenderMessageTime
29 Feb 2024
@enebo:matrix.orgenebo3.1 and 3.3 should also behave the same so I think this will show up wrong on 9.4 once it is fixed in prism but that is ok since prism is a 3.3 parser20:18:16
@enebo:matrix.orgeneboI can put in a version guard too I suppose...I don't think I care enough since jruby-prism is tech preview for 9.520:18:59
@headius:matrix.orgheadiusCould you just revert it when you go into fix it for 9.5? I just got all of the test:jruby runs green 20:21:06
@headius:matrix.orgheadiusIt is accurate now if not exactly how I want to implement it20:21:17
@enebo:matrix.orgenebosure..I need to get hash20:24:29
@enebo:matrix.orgenebogot it20:25:15
@enebo:matrix.orgenebohttps://github.com/jruby/jruby/commit/72d96f70f9dfb70b7deb33afb80a8e72ba764a4a21:17:35
@enebo:matrix.orgenebofor unknown reasons this was harder than it should have been21:18:30
@enebo:matrix.orgeneboI have a second FIXME added because methods and blocks have their own logic for this but they can share the same logic21:18:59
@enebo:matrix.orgeneboI think the original motivation was to not walk these params twice but it is just more complicated to inline this21:19:28
@lopex:matrix.orglopexnumbers22:35:22
1 Mar 2024
@skunkworker:matrix.orgskunkworkerHas anyone ran into really slow rails in memory cache store?00:10:07
@skunkworker:matrix.orgskunkworkerRedacted or Malformed Event00:13:16
@skunkworker:matrix.orgskunkworkerRedacted or Malformed Event00:13:46
@skunkworker:matrix.orgskunkworkerRedacted or Malformed Event00:15:20
@skunkworker:matrix.orgskunkworkerI removed some messages, I need to warm up the JVM first.00:18:17
@skunkworker:matrix.orgskunkworkerIs there a good guide for really aggressively warming up the JIT when using jdk17? I might be running into issues where the threshold is too high for some methods and causing timeouts until it stabilizes a few minutes later00:19:04
@skunkworker:matrix.orgskunkworker * I removed some messages, I need to warm up the JVM first to properly benchmark the in memory cache etc.00:20:05
@headius:matrix.orgheadiusWhat do you mean by memory cache store?02:05:02
@headius:matrix.orgheadiusWarming up the application won't really depend on how your app is structured but usually cranking a few thousand requests through some common paths should get things going pretty good02:05:41
@headius:matrix.orgheadius* Warming up the application will really depend on how your app is structured but usually cranking a few thousand requests through some common paths should get things going pretty good02:05:51
2 Mar 2024
@matrixuser2309239:matrix.orgmatrixuser2309239 joined the room.12:44:42
@matrixuser2309239:matrix.orgmatrixuser2309239Hey, I am having some trouble with warbler. My code behaves differently once compiled with jrubyc. I think in this particular case it has something to do with the ruby 1.9+ hash syntax but I am not sure about what else might be broken. Are there any workarounds for this? Is it better to not use jrubyc at all and run warbler without the "compiled" feature?12:53:30
@mkristian:matrix.orgChristian Meier @enebo hi, a bit slow I am, but please have look at https://github.com/jruby/jruby/pull/8137 which attaches the jruby.exe to the release. Maybe it is the first step, let me know what you think ? 14:01:49
@headius:matrix.orgheadius matrixuser2309239: hey nobody's really in the office today but I definitely want to help you get warbler working. You think you can stop by the chat tomorrow? 18:41:46
@headius:matrix.orgheadiusYou really don't need to use jrubyc unless you need to obfuscate the code. It doesn't do anything to optimize + may actually start up slower18:42:16
@headius:matrix.orgheadiusWhat version of jruby are you using?18:42:40
3 Mar 2024
@matrixuser2309239:matrix.orgmatrixuser2309239 Thank you for the reply headius, I am using jruby 9.4.5.0 and warbler 2.0.5 from git (with jruby-jars 9.4.5.0 instead of 9.4.6.0 because I want to run mysql). The thing is that code obfuscation is the primary reason for me using jruby this time around 😅 I normally run cruby. 08:12:59
@matrixuser2309239:matrix.orgmatrixuser2309239Also I was wrong in thinking that this could be a hash syntax related issue, I dug a bit further and found out that the issue is actually with case expressions. Comparisons of targets with symbols were failing. Converting them to string comparisons worked out fine and the app is now working as expected. I have not run all the tests for my project (some of which are not completely automated) and am not sure about any other things that might be failing.08:50:25
@matrixuser2309239:matrix.orgmatrixuser2309239 * Also I was wrong in thinking that this could be a hash syntax related issue, I dug a bit further and found out that the issue is actually with case expressions. Comparisons of targets with symbols were failing. Converting them to string comparisons worked out fine and the part of the app that was previously failing is now working as expected. I have not run all the tests for my project (some of which are not completely automated) and am not sure about any other things that might be failing.09:05:50

There are no newer messages yet.


Back to Room ListRoom Version: 1