Project

General

Profile

« Previous | Next » 

Revision a5456a1d

Added by nobu (Nobuyoshi Nakada) over 9 years ago

gc.c: tick for POWER arch

  • gc.c (tick): Use __builtin_ppc_get_timebase for POWER arch.
    [Fix GH-1291]

This gives a little performance improvement

    user     system      total        real

Before: 20.870000 0.000000 20.870000 ( 20.893959)
After: 20.720000 0.000000 20.720000 ( 20.733970)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e