Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454398 - dev-lang/ruby-1.9.3 performance patch
Summary: dev-lang/ruby-1.9.3 performance patch
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL: https://gist.github.com/4136373
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 08:50 UTC by Wojciech Myrda
Modified: 2013-01-28 23:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Myrda 2013-01-28 08:50:49 UTC
On Github there is patch present which is a backport of from the current trunk allowing increase of performance. According to the patch author it gives 8-10% speed up, while there are case where speed up may several times fold like in this case http://alisnic.net/blog/making-your-ruby-fly/

patch description: https://gist.github.com/4136373

please consider adding that patch to the ruby 1.9.3 ebuild preferebly while by bumping its version to the p327 for which the patch is ported
Comment 1 Hans de Graaff gentoo-dev Security 2013-01-28 18:10:45 UTC
We won't accept such a patch unless it is accepted upstream.
Comment 2 Wojciech Myrda 2013-01-28 20:18:58 UTC
it is accepted upstream. it is already in the 2.0 trunk... this is just a backport
Comment 3 Alex Legler (RETIRED) archtester gentoo-dev Security 2013-01-28 23:43:37 UTC
(In reply to comment #2)
> it is accepted upstream. it is already in the 2.0 trunk... this is just a
> backport

Using code from a different major version of ruby…
Also it seems to need adaption for every new patchlevel of ruby 1.9 which would be annoying if no such patch were provided in time (c.f. suhosin for php).

This is something you should do in an overlay, we won't do it in gx-86.