Project

General

Profile

Actions

Bug #9201

closed

[patch] remove GC overhead for loaded_features_index

Added by tmm1 (Aman Karmani) over 11 years ago. Updated over 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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0