Closed janbiedermann closed 6 years ago
sprockets-3.7.1/lib/sprockets/uri_utils.rb in def split_file_uri(uri)
def split_file_uri(uri)
Line 51
# Hack for parsing Windows "file:///C:/Users/IEUser" paths path.gsub!(/^\/([a-zA-Z]:)/, '\1'.freeze)
is a performance sucker. Replacing it with this:
# Hack for parsing Windows "file:///C:/Users/IEUser" paths path.gsub!(/^\/([a-zA-Z]:)/, '\1'.freeze) if path[9].include?(':')
DOUBLES performance for me, that is injavascript_include_tag 'applications.js', generating the Githubissues.
javascript_include_tag 'applications.js'
sprockets-3.7.1/lib/sprockets/uri_utils.rb in
def split_file_uri(uri)
Line 51
is a performance sucker. Replacing it with this:
DOUBLES performance for me, that is in
javascript_include_tag 'applications.js'
, generating the Githubissues.