Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JRuby 1.7.0.pre1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      This is a benchmark result for File.mtime on my system:
      1.268000 0.000000 1.268000 ( 1.268000)

      And this is File.ctime:
      0.716000 0.000000 0.716000 ( 0.716000)

      There's no reason mtime should be slower than ctime, since they can both be discerned from the output of File.stat. JRuby currently doesn't use stat() for File.mtime, but an alternate path (with a comment about jna being too slow ...)

        Activity

        Hide
        Thomas E Enebo added a comment -

        [master 3d84fe0]

        jnr-posix has gotten much faster and this was an ancient targetted opt which is clearly no longer needed.

        Show
        Thomas E Enebo added a comment - [master 3d84fe0] jnr-posix has gotten much faster and this was an ancient targetted opt which is clearly no longer needed.

          People

          • Assignee:
            Thomas E Enebo
            Reporter:
            Wayne Meissner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: