Wayne Meissner created JRUBY-6584: ------------------------------------- Summary: File.mtime() is slower than it should be Key: JRUBY-6584 URL: https://jira.codehaus.org/browse/JRUBY-6584 Project: JRuby Issue Type: Improvement Reporter: Wayne Meissner Assignee: Thomas E Enebo Priority: Minor
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 ...) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email