Project

General

Profile

Actions

Feature #5767

closed

Cache expanded_load_path to reduce startup time

Added by funny_falcon (Yura Sokolov) over 12 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
-
[ruby-core:41672]

Description

This patch add caching of expanded load path.
It reduces rails startup time by 33%
(patch against 1.9.3-p0 and simple performance test is here https://gist.github.com/1480404 )


Files

cache_expanded_load_path.patch (5.67 KB) cache_expanded_load_path.patch funny_falcon (Yura Sokolov), 12/15/2011 06:18 PM
cache_expanded_load_path.patch (6.88 KB) cache_expanded_load_path.patch more atomic access to cache funny_falcon (Yura Sokolov), 12/16/2011 04:10 PM
find_file_safe_and_cache.patch (5.34 KB) find_file_safe_and_cache.patch make find_file_safe and find_file_ext_safe concerning about cache funny_falcon (Yura Sokolov), 12/17/2011 09:07 PM
cache_expanded_load_path.patch (14.4 KB) cache_expanded_load_path.patch final version, `rb_find_file_safe` included, tests fixed. funny_falcon (Yura Sokolov), 12/19/2011 04:07 AM
cache_expanded_load_path.patch (15.4 KB) cache_expanded_load_path.patch refactor methods a bit. funny_falcon (Yura Sokolov), 12/19/2011 03:57 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0