-
-
Notifications
You must be signed in to change notification settings - Fork 924
Comparing changes
Open a pull request
base repository: jruby/jruby
base: d7b657b81794
head repository: jruby/jruby
compare: a5f85ca69c74
- 12 commits
- 5 files changed
- 2 contributors
Commits on Jul 23, 2018
-
use internal str.sub! for date parsing (without frame info)
MRI has all of the date code in C and also avoids $~ and friends ... expected to noticeably improve Date.parse/_parse performance
Configuration menu - View commit details
-
Copy full SHA for 0e00652 - Browse repository at this point
Copy the full SHA 0e00652View commit details -
review regexp match?-ing - MRI doesn't do dynamic dispatch
str.match? always does 'real' Regexp#match? no matter of patches + also do not use same (throw away) array for different things
Configuration menu - View commit details
-
Copy full SHA for ddaad41 - Browse repository at this point
Copy the full SHA ddaad41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ff8998 - Browse repository at this point
Copy the full SHA 3ff8998View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f2c9e - Browse repository at this point
Copy the full SHA 82f2c9eView commit details
Commits on Jul 24, 2018
-
[refactor] avoid rest of =~ with a match private helper
... now we can not blame $frame "globals" for being slow
Configuration menu - View commit details
-
Copy full SHA for 4f73f58 - Browse repository at this point
Copy the full SHA 4f73f58View commit details -
[refactor] move _parse_day internal to native
this seems to make a difference - indy doesn't get better ... its ~ the same if the left-over .rb impl gets to use `subs()`
Configuration menu - View commit details
-
Copy full SHA for 259170e - Browse repository at this point
Copy the full SHA 259170eView commit details
Commits on Jul 25, 2018
-
[refactor] move most Date._parse (delegates) into native
with indy on GraalVM we (almost) meet MRI 2.5 performance ... except `Date.parse('2018-07-17', false)` being 2x slower
Configuration menu - View commit details
-
Copy full SHA for 575584b - Browse repository at this point
Copy the full SHA 575584bView commit details -
do HAVE checks before various parses + cleanup Date _parse(s)
gets us close to MRI performance -> pretty much resolves GH-5255 ... also added a b|B check (which MRI doesn;t have) for parse_bc
Configuration menu - View commit details
-
Copy full SHA for ad19a12 - Browse repository at this point
Copy the full SHA ad19a12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aaef90 - Browse repository at this point
Copy the full SHA 5aaef90View commit details -
move Date's parse_time to native - matched up with MRI
... regexp was slightly different in JRuby's format.rb
Configuration menu - View commit details
-
Copy full SHA for 5d9d54c - Browse repository at this point
Copy the full SHA 5d9d54cView commit details -
[perf] improve Date._parse for dates - don't do time parsing
3x speed improvement for raw dates `Date._parse('2000-01-01')`
Configuration menu - View commit details
-
Copy full SHA for 4109d58 - Browse repository at this point
Copy the full SHA 4109d58View commit details -
Merge pull request #5259 from kares/date-speed
[refactor] improve Date parsing performance
Configuration menu - View commit details
-
Copy full SHA for a5f85ca - Browse repository at this point
Copy the full SHA a5f85caView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff d7b657b81794...a5f85ca69c74