-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
Overview
- I want to improve the performance of
Date._strptimemethod. - I'm implementing
Date._strptimein Java on Java timestamp parser and RubyDateParser embulk/embulk#608 - Can you consider about introducing our implementation to JRuby? If you agree, I will work on it after completing the implementation.
Details
My application, Embulk, is using JRuby and heavily using Date._strptime method internally to parse timestamp strings. I found that the heavy usage is one of the performance bottlenecks in my application.
To mitigate the performance issue, I started implementing Date._strptime in Java. The features are:
- 100% compatibility with the specification of
Date._strptimein CRuby - Faster performance because the # of objects passing is reduced between Java and (J)Ruby
- The implementation uses similar approach with
org.jruby.util.RubyDateFormatterandorg.jruby.lexer.StrftimeLexer.
Environment
- JRuby 9.1.5.0
- Java 1.8.0_91 64-Bit Server VM (build 25.91-b14, mixed mode)
- Ubuntu 16.04
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels