Project

General

Profile

Actions

Bug #9201

closed

[patch] remove GC overhead for loaded_features_index

Added by tmm1 (Aman Karmani) about 11 years ago. Updated about 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.1.0dev (2013-12-02 trunk 43955)
[ruby-core:58805]

Description

I was profiling minor GC in our app and noticed 15% of time spent in mark_tbl for loaded_features_index.

The following patch removes this overhead by storing feature offsets outside the ruby heap:

https://github.com/tmm1/ruby/commit/d03c5ece865422f0510957c1dee1d33a1d9eca82


Related issues 1 (0 open1 closed)

Related to Backport200 - Backport #8048: require() features_index bloats size of ruby heapClosednagachika (Tomoyuki Chikanaga)03/08/2013Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0